Mercurial > pidgin.yaz
comparison src/gtknotify.c @ 7399:9ab1987e5d8b
[gaim-migrate @ 7995]
This should end all the "STOP MAKING GAIM POP UP 70 GAZILLION ERROR MESSAGES
BECAUSE MY NETWORK CONNECTION BLOWS" whines.
NOTE TO SELF: Finish this tomorrow.
I'm going to bed.
committer: Tailor Script <tailor@pidgin.im>
author | Sean Egan <seanegan@gmail.com> |
---|---|
date | Fri, 31 Oct 2003 06:14:58 +0000 |
parents | 414c701ef1ff |
children | 3a5f89ba0da5 |
comparison
equal
deleted
inserted
replaced
7398:d60e1629ffde | 7399:9ab1987e5d8b |
---|---|
103 if (icon_name != NULL) { | 103 if (icon_name != NULL) { |
104 img = gtk_image_new_from_stock(icon_name, GTK_ICON_SIZE_DIALOG); | 104 img = gtk_image_new_from_stock(icon_name, GTK_ICON_SIZE_DIALOG); |
105 gtk_misc_set_alignment(GTK_MISC(img), 0, 0); | 105 gtk_misc_set_alignment(GTK_MISC(img), 0, 0); |
106 } | 106 } |
107 | 107 |
108 dialog = gtk_dialog_new_with_buttons(title, NULL, 0, | 108 dialog = gtk_dialog_new_with_buttons(title ? title : "", NULL, 0, |
109 GTK_STOCK_OK, GTK_RESPONSE_ACCEPT, | 109 GTK_STOCK_OK, GTK_RESPONSE_ACCEPT, |
110 NULL); | 110 NULL); |
111 g_signal_connect(G_OBJECT(dialog), "response", | 111 g_signal_connect(G_OBJECT(dialog), "response", |
112 G_CALLBACK(message_response_cb), dialog); | 112 G_CALLBACK(message_response_cb), dialog); |
113 | 113 |
114 gtk_container_set_border_width(GTK_CONTAINER(dialog), 6); | 114 gtk_container_set_border_width(GTK_CONTAINER(dialog), 6); |
115 gtk_window_set_resizable(GTK_WINDOW(dialog), FALSE); | 115 gtk_window_set_resizable(GTK_WINDOW(dialog), FALSE); |