chiark / gitweb /
properly scroll user list
[disorder] / disobedience / users.c
index 903188733139892e36dfb6d9513dac23e6197fda..f4a0fbeee4deea1b2dee15b77873c2d228c61c3e 100644 (file)
@@ -642,7 +642,7 @@ void manage_users(void) {
 
   /* Buttons live below the list */
   vbox = gtk_vbox_new(FALSE, 2);
-  gtk_box_pack_start(GTK_BOX(vbox), tree, TRUE/*expand*/, TRUE/*fill*/, 0);
+  gtk_box_pack_start(GTK_BOX(vbox), scroll_widget(tree), TRUE/*expand*/, TRUE/*fill*/, 0);
   gtk_box_pack_start(GTK_BOX(vbox), buttons, FALSE/*expand*/, FALSE, 0);
 
   /* Create an empty user details table, and put an apply button below it */