From: Richard Kettlewell Date: Sun, 20 Apr 2008 13:31:20 +0000 (+0100) Subject: Hack to align rights check buttons. They're still not aligned with X-Git-Tag: 4.0~115^2~3 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/disorder/commitdiff_plain/1b20de5ae43e6aa4350c0b6b3d2d7a5edcd431b2?ds=inline Hack to align rights check buttons. They're still not aligned with the entry widgets above, but this is still an improvement over what went before. --- diff --git a/disobedience/users.c b/disobedience/users.c index d162e14..ee9c16d 100644 --- a/disobedience/users.c +++ b/disobedience/users.c @@ -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));