Mercurial > pidgin.yaz
comparison pidgin/gtkblist.c @ 21087:7ae2ce6f405e
Forgot Add Buddy and Add Chat dialogs
author | Gabriel Schulhof <nix@go-nix.ca> |
---|---|
date | Sat, 13 Oct 2007 09:08:10 +0000 |
parents | 8c9aad9479c0 |
children | c3c85233eb4a |
comparison
equal
deleted
inserted
replaced
21086:8c9aad9479c0 | 21087:7ae2ce6f405e |
---|---|
5779 gtk_icon_size_from_name(PIDGIN_ICON_SIZE_TANGO_HUGE)); | 5779 gtk_icon_size_from_name(PIDGIN_ICON_SIZE_TANGO_HUGE)); |
5780 | 5780 |
5781 gtkblist = PIDGIN_BLIST(purple_get_blist()); | 5781 gtkblist = PIDGIN_BLIST(purple_get_blist()); |
5782 | 5782 |
5783 data->window = gtk_dialog_new_with_buttons(_("Add Buddy"), | 5783 data->window = gtk_dialog_new_with_buttons(_("Add Buddy"), |
5784 NULL, GTK_DIALOG_NO_SEPARATOR, | 5784 gtkblist ? gtkblist->window : NULL, GTK_DIALOG_NO_SEPARATOR, |
5785 GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL, | 5785 GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL, |
5786 GTK_STOCK_ADD, GTK_RESPONSE_OK, | 5786 GTK_STOCK_ADD, GTK_RESPONSE_OK, |
5787 NULL); | 5787 NULL); |
5788 | 5788 |
5789 gtk_dialog_set_default_response(GTK_DIALOG(data->window), GTK_RESPONSE_OK); | 5789 gtk_dialog_set_default_response(GTK_DIALOG(data->window), GTK_RESPONSE_OK); |
6161 gtkblist = PIDGIN_BLIST(purple_get_blist()); | 6161 gtkblist = PIDGIN_BLIST(purple_get_blist()); |
6162 | 6162 |
6163 data->sg = gtk_size_group_new(GTK_SIZE_GROUP_HORIZONTAL); | 6163 data->sg = gtk_size_group_new(GTK_SIZE_GROUP_HORIZONTAL); |
6164 | 6164 |
6165 data->window = gtk_dialog_new_with_buttons(_("Add Chat"), | 6165 data->window = gtk_dialog_new_with_buttons(_("Add Chat"), |
6166 NULL, GTK_DIALOG_NO_SEPARATOR, | 6166 gtkblist ? gtkblist->window : NULL, GTK_DIALOG_NO_SEPARATOR, |
6167 GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL, | 6167 GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL, |
6168 GTK_STOCK_ADD, GTK_RESPONSE_OK, | 6168 GTK_STOCK_ADD, GTK_RESPONSE_OK, |
6169 NULL); | 6169 NULL); |
6170 | 6170 |
6171 gtk_dialog_set_default_response(GTK_DIALOG(data->window), GTK_RESPONSE_OK); | 6171 gtk_dialog_set_default_response(GTK_DIALOG(data->window), GTK_RESPONSE_OK); |