comparison src/gtkutils.c @ 9767:c31e64c2bd85

[gaim-migrate @ 10635] Make the spacing on the "I'm Back!" button not suck. Thanks to Kevin for pointing this out. I caused this in my changes to the conversation buttons on Saturday, I think it was. Maybe yesterday. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Mon, 16 Aug 2004 21:52:52 +0000
parents 4f8476beabf5
children 4a15962c344a
comparison
equal deleted inserted replaced
9766:14d997822897 9767:c31e64c2bd85
244 gtk_container_add(GTK_CONTAINER(button), bbox); 244 gtk_container_add(GTK_CONTAINER(button), bbox);
245 245
246 if (icon) { 246 if (icon) {
247 gtk_box_pack_start_defaults(GTK_BOX(bbox), ibox); 247 gtk_box_pack_start_defaults(GTK_BOX(bbox), ibox);
248 image = gtk_image_new_from_stock(icon, GTK_ICON_SIZE_BUTTON); 248 image = gtk_image_new_from_stock(icon, GTK_ICON_SIZE_BUTTON);
249 gtk_box_pack_end(GTK_BOX(ibox), image, TRUE, TRUE, 0); 249 gtk_box_pack_end(GTK_BOX(ibox), image, FALSE, TRUE, 0);
250 } 250 }
251 251
252 if (text) { 252 if (text) {
253 gtk_box_pack_start_defaults(GTK_BOX(bbox), lbox); 253 gtk_box_pack_start_defaults(GTK_BOX(bbox), lbox);
254 label = gtk_label_new(NULL); 254 label = gtk_label_new(NULL);
255 gtk_label_set_text_with_mnemonic(GTK_LABEL(label), text); 255 gtk_label_set_text_with_mnemonic(GTK_LABEL(label), text);
256 gtk_label_set_mnemonic_widget(GTK_LABEL(label), button); 256 gtk_label_set_mnemonic_widget(GTK_LABEL(label), button);
257 gtk_box_pack_start(GTK_BOX(lbox), label, TRUE, TRUE, 0); 257 gtk_box_pack_start(GTK_BOX(lbox), label, FALSE, TRUE, 0);
258 gaim_set_accessible_label (button, label); 258 gaim_set_accessible_label (button, label);
259 } 259 }
260 260
261 gtk_widget_show_all(bbox); 261 gtk_widget_show_all(bbox);
262 262