comparison plugins/msn/msn.c @ 1943:b7b1bb01fa94

[gaim-migrate @ 1953] TOPLEVEL, not POPUP (and DIALOG is removed in GTK2). committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Fri, 01 Jun 2001 23:09:07 +0000
parents 94e81315be2a
children c9c20663e05b
comparison
equal deleted inserted replaced
1942:ba421d552093 1943:b7b1bb01fa94
1131 GtkWidget *vbox; 1131 GtkWidget *vbox;
1132 GtkWidget *label; 1132 GtkWidget *label;
1133 GtkWidget *hbox; 1133 GtkWidget *hbox;
1134 GtkWidget *button; 1134 GtkWidget *button;
1135 1135
1136 window = gtk_window_new(GTK_WINDOW_POPUP); 1136 window = gtk_window_new(GTK_WINDOW_TOPLEVEL);
1137 gtk_window_set_wmclass(GTK_WINDOW(window), "prompt", "Gaim"); 1137 gtk_window_set_wmclass(GTK_WINDOW(window), "prompt", "Gaim");
1138 gtk_window_set_policy(GTK_WINDOW(window), FALSE, TRUE, TRUE); 1138 gtk_window_set_policy(GTK_WINDOW(window), FALSE, TRUE, TRUE);
1139 gtk_window_set_title(GTK_WINDOW(window), _("Gaim-MSN: New Mail")); 1139 gtk_window_set_title(GTK_WINDOW(window), _("Gaim-MSN: New Mail"));
1140 gtk_widget_realize(window); 1140 gtk_widget_realize(window);
1141 aol_icon(window->window); 1141 aol_icon(window->window);
1309 tmp = gc->user; 1309 tmp = gc->user;
1310 b->user = tmp; 1310 b->user = tmp;
1311 1311
1312 md = (struct msn_data *)gc->proto_data; 1312 md = (struct msn_data *)gc->proto_data;
1313 1313
1314 b->window = gtk_window_new(GTK_WINDOW_POPUP); 1314 b->window = gtk_window_new(GTK_WINDOW_TOPLEVEL);
1315 gtk_window_set_wmclass(GTK_WINDOW(b->window), "msn_change_name", "Gaim"); 1315 gtk_window_set_wmclass(GTK_WINDOW(b->window), "msn_change_name", "Gaim");
1316 1316
1317 gtk_window_set_title(GTK_WINDOW(b->window), _("Gaim - Change MSN Name")); 1317 gtk_window_set_title(GTK_WINDOW(b->window), _("Gaim - Change MSN Name"));
1318 gtk_signal_connect(GTK_OBJECT(b->window), "destroy", GTK_SIGNAL_FUNC(msn_des_win), b->window); 1318 gtk_signal_connect(GTK_OBJECT(b->window), "destroy", GTK_SIGNAL_FUNC(msn_des_win), b->window);
1319 gtk_widget_realize(b->window); 1319 gtk_widget_realize(b->window);