Mercurial > pidgin.yaz
changeset 483:1a9d2b345b79
[gaim-migrate @ 493]
I tried to make some of the buttons more of a standard size. Who knows.
Who cares.
committer: Tailor Script <tailor@pidgin.im>
author | Rob Flynn <gaim@robflynn.com> |
---|---|
date | Mon, 10 Jul 2000 06:59:44 +0000 |
parents | cf6b2efaac35 |
children | a9e485c388c4 |
files | src/buddy_chat.c src/dialogs.c |
diffstat | 2 files changed, 27 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/buddy_chat.c Mon Jul 10 04:26:37 2000 +0000 +++ b/src/buddy_chat.c Mon Jul 10 06:59:44 2000 +0000 @@ -116,6 +116,7 @@ gtk_widget_show(button_box); gtk_container_add(GTK_CONTAINER(join), button_box); + gtk_widget_set_usize(join, 75, 30); /* End of OK Button */ @@ -139,6 +140,8 @@ gtk_container_add(GTK_CONTAINER(cancel), button_box); + gtk_widget_set_usize(cancel, 75, 30); + /* End of Cancel Button */ gtk_box_pack_start(GTK_BOX(bbox), join, FALSE, FALSE, 5);
--- a/src/dialogs.c Mon Jul 10 04:26:37 2000 +0000 +++ b/src/dialogs.c Mon Jul 10 06:59:44 2000 +0000 @@ -436,6 +436,9 @@ /* End of Cancel Button */ /* Put the buttons in the box */ + gtk_widget_set_usize(warn, 75, 30); + gtk_widget_set_usize(cancel, 75, 30); + gtk_box_pack_start(GTK_BOX(bbox), warn, TRUE, TRUE, 5); gtk_box_pack_end(GTK_BOX(bbox), cancel, TRUE, TRUE, 5); @@ -528,6 +531,7 @@ gtk_widget_show(button_box); gtk_container_add(GTK_CONTAINER(close), button_box); + gtk_widget_set_usize(close, 75, 30); gtk_widget_show(close); /* End of Close Button */ @@ -782,6 +786,7 @@ gtk_box_pack_start(GTK_BOX(bbox), button, FALSE, FALSE, 5); + gtk_widget_set_usize(button, 75, 30); gtk_widget_show(button); /* End of OK Button */ @@ -812,6 +817,7 @@ gtk_box_pack_start(GTK_BOX(bbox), button, FALSE, FALSE, 5); + gtk_widget_set_usize(button, 75, 30); gtk_widget_show(button); /* End of Cancel Button */ @@ -982,6 +988,9 @@ gtk_container_add(GTK_CONTAINER(cancel), button_box); /* End of Cancel Button */ + + gtk_widget_set_usize(add, 75, 30); + gtk_widget_set_usize(cancel, 75, 30); gtk_box_pack_start(GTK_BOX(bbox), add, FALSE, FALSE, 5); gtk_box_pack_end(GTK_BOX(bbox), cancel, FALSE, FALSE, 5); @@ -1116,6 +1125,7 @@ gtk_box_pack_start(GTK_BOX(bbox), button, FALSE, FALSE, 5); + gtk_widget_set_usize(button, 75, 30); gtk_widget_show(button); /* End of OK Button */ @@ -1145,6 +1155,7 @@ gtk_box_pack_start(GTK_BOX(bbox), button, FALSE, FALSE, 5); + gtk_widget_set_usize(button, 75, 30); gtk_widget_show(button); /* End of Cancel Button */ @@ -1448,6 +1459,9 @@ /* End of Cancel Button */ + gtk_widget_set_usize(b->ok, 75, 30); + gtk_widget_set_usize(b->cancel, 75, 30); + gtk_widget_show(b->ok); gtk_widget_show(b->cancel); @@ -1599,6 +1613,8 @@ /* End of Cancel Button */ + gtk_widget_set_usize(b->save, 75, 30); + gtk_widget_set_usize(b->cancel, 75, 30); gtk_widget_show(b->save); gtk_widget_show(b->cancel); @@ -2089,6 +2105,7 @@ gtk_widget_show(button_box); gtk_container_add(GTK_CONTAINER(ok), button_box); + gtk_widget_set_usize(ok, 75, 30); /* End of OK Button */ @@ -2111,6 +2128,7 @@ gtk_widget_show(button_box); gtk_container_add(GTK_CONTAINER(cancel), button_box); + gtk_widget_set_usize(cancel, 75, 30); /* End of Cancel Button */ @@ -2125,8 +2143,10 @@ b->stateentry = gtk_entry_new(); b->countryentry = gtk_entry_new(); - gtk_box_pack_start(GTK_BOX(bbox), ok, TRUE, TRUE, 10); - gtk_box_pack_start(GTK_BOX(bbox), cancel, TRUE, TRUE, 10); + gtk_widget_set_usize(ok, 75, 30); + gtk_widget_set_usize(cancel, 75, 30); + gtk_box_pack_end(GTK_BOX(bbox), ok, FALSE, FALSE, 10); + gtk_box_pack_end(GTK_BOX(bbox), cancel, FALSE, FALSE, 10); /* Line 1 */ label = gtk_label_new(_("First Name")); @@ -2299,6 +2319,7 @@ gtk_box_pack_start(GTK_BOX(bbox), button, FALSE, FALSE, 5); + gtk_widget_set_usize(button, 75, 30); gtk_widget_show(button); /* End of OK Button */ @@ -2328,6 +2349,7 @@ gtk_box_pack_start(GTK_BOX(bbox), button, FALSE, FALSE, 5); + gtk_widget_set_usize(button, 75, 30); gtk_widget_show(button); /* End of Cancel Button */