Mercurial > pidgin
comparison src/gtkconv.c @ 7798:824add06abde
[gaim-migrate @ 8444]
Ka-Hing and I fixed up the join chat dialog. He did most of it,
I just made it more similar to the get info and send IM dialogs.
committer: Tailor Script <tailor@pidgin.im>
author | Mark Doliner <mark@kingant.net> |
---|---|
date | Sun, 07 Dec 2003 23:45:09 +0000 |
parents | 3db18c16f573 |
children | 9db4ec5e6bca |
comparison
equal
deleted
inserted
replaced
7797:0fb10479a6a3 | 7798:824add06abde |
---|---|
751 GtkWidget *hbox; | 751 GtkWidget *hbox; |
752 GtkWidget *img = gtk_image_new_from_stock(GAIM_STOCK_DIALOG_QUESTION, GTK_ICON_SIZE_DIALOG); | 752 GtkWidget *img = gtk_image_new_from_stock(GAIM_STOCK_DIALOG_QUESTION, GTK_ICON_SIZE_DIALOG); |
753 GtkWidget *label, *entry; | 753 GtkWidget *label, *entry; |
754 struct _search *s; | 754 struct _search *s; |
755 | 755 |
756 if (gtkconv->dialogs.search) | 756 if (gtkconv->dialogs.search) { |
757 gtk_window_present(GTK_WINDOW(gtkconv->dialogs.search)); | |
757 return; | 758 return; |
759 } | |
758 | 760 |
759 gtkconv->dialogs.search = gtk_dialog_new_with_buttons(_("Find"), GTK_WINDOW(gtkwin->window), | 761 gtkconv->dialogs.search = gtk_dialog_new_with_buttons(_("Find"), GTK_WINDOW(gtkwin->window), |
760 GTK_DIALOG_DESTROY_WITH_PARENT, | 762 GTK_DIALOG_DESTROY_WITH_PARENT, |
761 GTK_STOCK_CLOSE, GTK_RESPONSE_CLOSE, | 763 GTK_STOCK_CLOSE, GTK_RESPONSE_CLOSE, |
762 GTK_STOCK_FIND, GTK_RESPONSE_OK, NULL); | 764 GTK_STOCK_FIND, GTK_RESPONSE_OK, NULL); |