Mercurial > pidgin
comparison src/dialogs.c @ 4182:05a456d5f799
[gaim-migrate @ 4413]
Blah. That dialog REALLY needs to be gtk2ified, but ill switch these as is for now
committer: Tailor Script <tailor@pidgin.im>
| author | Rob Flynn <gaim@robflynn.com> |
|---|---|
| date | Fri, 03 Jan 2003 07:07:37 +0000 |
| parents | 3ed4fab5d7bf |
| children | e6810f691393 |
comparison
equal
deleted
inserted
replaced
| 4181:4927676228f7 | 4182:05a456d5f799 |
|---|---|
| 4378 gtk_widget_grab_focus(name_entry); | 4378 gtk_widget_grab_focus(name_entry); |
| 4379 | 4379 |
| 4380 bbox = gtk_hbox_new(FALSE, 5); | 4380 bbox = gtk_hbox_new(FALSE, 5); |
| 4381 gtk_box_pack_start(GTK_BOX(mainbox), bbox, FALSE, FALSE, 0); | 4381 gtk_box_pack_start(GTK_BOX(mainbox), bbox, FALSE, FALSE, 0); |
| 4382 | 4382 |
| 4383 button = picture_button(rename_dialog, _("Cancel"), cancel_xpm); | |
| 4384 gtk_box_pack_end(GTK_BOX(bbox), button, FALSE, FALSE, 0); | |
| 4385 g_signal_connect(GTK_OBJECT(button), "clicked", | |
| 4386 G_CALLBACK(destroy_dialog), rename_dialog); | |
| 4387 | |
| 4388 button = picture_button(rename_dialog, _("OK"), ok_xpm); | 4383 button = picture_button(rename_dialog, _("OK"), ok_xpm); |
| 4389 gtk_object_set_user_data(GTK_OBJECT(button), g); | 4384 gtk_object_set_user_data(GTK_OBJECT(button), g); |
| 4390 gtk_box_pack_end(GTK_BOX(bbox), button, FALSE, FALSE, 0); | 4385 gtk_box_pack_end(GTK_BOX(bbox), button, FALSE, FALSE, 0); |
| 4391 g_signal_connect(GTK_OBJECT(button), "clicked", | 4386 g_signal_connect(GTK_OBJECT(button), "clicked", |
| 4392 G_CALLBACK(do_rename_group), name_entry); | 4387 G_CALLBACK(do_rename_group), name_entry); |
| 4388 | |
| 4389 button = picture_button(rename_dialog, _("Cancel"), cancel_xpm); | |
| 4390 gtk_box_pack_end(GTK_BOX(bbox), button, FALSE, FALSE, 0); | |
| 4391 g_signal_connect(GTK_OBJECT(button), "clicked", | |
| 4392 G_CALLBACK(destroy_dialog), rename_dialog); | |
| 4393 | |
| 4393 } | 4394 } |
| 4394 | 4395 |
| 4395 gtk_widget_show_all(rename_dialog); | 4396 gtk_widget_show_all(rename_dialog); |
| 4396 } | 4397 } |
| 4397 | 4398 |
