chiark / gitweb /
Hack to align rights check buttons. They're still not aligned with
authorRichard Kettlewell <rjk@greenend.org.uk>
Sun, 20 Apr 2008 13:31:20 +0000 (14:31 +0100)
committerRichard Kettlewell <rjk@greenend.org.uk>
Sun, 20 Apr 2008 13:31:20 +0000 (14:31 +0100)
the entry widgets above, but this is still an improvement over what
went before.

disobedience/users.c

index d162e143ac90145cf8eab14969fefb25ba35afb5..ee9c16d87db7a25af152176932bd4934e4fb6e9f 100644 (file)
@@ -196,7 +196,7 @@ static void users_add_right(const char *title,
   GtkWidget **checkp = &users_details_rights[leftmost_bit(right)];
 
   if(!(check = *checkp)) {
-    *checkp = check = gtk_check_button_new();
+    *checkp = check = gtk_check_button_new_with_label("");
     users_detail_generic(title, check);
   }
   gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(check), !!(value & right));