Mercurial > pidgin.yaz
changeset 1956:c9c20663e05b
[gaim-migrate @ 1966]
they were better as dialogs. I didn't know about gtk_window_set_type_hint in gtk2.
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Sat, 02 Jun 2001 02:58:03 +0000 |
parents | 9ed99b8c5c9c |
children | bfb0331abdd7 |
files | plugins/lagmeter.c plugins/msn/msn.c plugins/napster.c plugins/spellchk.c plugins/toc_commands.c src/multi.c |
diffstat | 6 files changed, 9 insertions(+), 9 deletions(-) [+] |
line wrap: on
line diff
--- a/plugins/lagmeter.c Sat Jun 02 02:04:06 2001 +0000 +++ b/plugins/lagmeter.c Sat Jun 02 02:58:03 2001 +0000 @@ -187,7 +187,7 @@ return; } - confdlg = gtk_window_new(GTK_WINDOW_TOPLEVEL); + confdlg = gtk_window_new(GTK_WINDOW_DIALOG); gtk_window_set_title(GTK_WINDOW(confdlg), "Gaim Lag Delay"); box = gtk_hbox_new(FALSE, 0);
--- a/plugins/msn/msn.c Sat Jun 02 02:04:06 2001 +0000 +++ b/plugins/msn/msn.c Sat Jun 02 02:58:03 2001 +0000 @@ -1133,7 +1133,7 @@ GtkWidget *hbox; GtkWidget *button; - window = gtk_window_new(GTK_WINDOW_TOPLEVEL); + window = gtk_window_new(GTK_WINDOW_DIALOG); gtk_window_set_wmclass(GTK_WINDOW(window), "prompt", "Gaim"); gtk_window_set_policy(GTK_WINDOW(window), FALSE, TRUE, TRUE); gtk_window_set_title(GTK_WINDOW(window), _("Gaim-MSN: New Mail")); @@ -1311,7 +1311,7 @@ md = (struct msn_data *)gc->proto_data; - b->window = gtk_window_new(GTK_WINDOW_TOPLEVEL); + b->window = gtk_window_new(GTK_WINDOW_DIALOG); gtk_window_set_wmclass(GTK_WINDOW(b->window), "msn_change_name", "Gaim"); gtk_window_set_title(GTK_WINDOW(b->window), _("Gaim - Change MSN Name"));
--- a/plugins/napster.c Sat Jun 02 02:04:06 2001 +0000 +++ b/plugins/napster.c Sat Jun 02 02:58:03 2001 +0000 @@ -176,7 +176,7 @@ struct browse_window *browse = g_new0(struct browse_window, 1); struct nap_data *ndata = (struct nap_data *)gc->proto_data; - browse->window = gtk_window_new(GTK_WINDOW_TOPLEVEL); + browse->window = gtk_window_new(GTK_WINDOW_DIALOG); browse->name = g_strdup(name); browse->list = gtk_clist_new(1); browse->gc = gc; @@ -1090,7 +1090,7 @@ gchar *titles[5] = {"Mp3 Name", "Nick", "Size", "Bitrate", "Connection"}; search_dialog = g_new0(struct search_window, 1); - window = gtk_window_new(GTK_WINDOW_TOPLEVEL); + window = gtk_window_new(GTK_WINDOW_DIALOG); vbox = gtk_vbox_new(FALSE, 0);
--- a/plugins/spellchk.c Sat Jun 02 02:04:06 2001 +0000 +++ b/plugins/spellchk.c Sat Jun 02 02:58:03 2001 +0000 @@ -357,7 +357,7 @@ char *pair[2] = {"Replace", "With"}; if (configwin) return; - configwin = gtk_window_new(GTK_WINDOW_TOPLEVEL); + configwin = gtk_window_new(GTK_WINDOW_DIALOG); gtk_widget_set_usize(configwin, 450, 250); gtk_window_set_title(GTK_WINDOW(configwin), "Spell Check Config");
--- a/plugins/toc_commands.c Sat Jun 02 02:04:06 2001 +0000 +++ b/plugins/toc_commands.c Sat Jun 02 02:58:03 2001 +0000 @@ -19,7 +19,7 @@ char *gaim_plugin_init(GModule *h) { GtkWidget *entry; - window = gtk_window_new(GTK_WINDOW_TOPLEVEL); + window = gtk_window_new(GTK_WINDOW_DIALOG); gtk_window_set_title(GTK_WINDOW(window), "Gaim - SFLAP interface"); entry = gtk_entry_new();
--- a/src/multi.c Sat Jun 02 02:04:06 2001 +0000 +++ b/src/multi.c Sat Jun 02 02:58:03 2001 +0000 @@ -549,7 +549,7 @@ gtk_widget_show(u->passprmt); return; } - u->passprmt = gtk_window_new(GTK_WINDOW_TOPLEVEL); + u->passprmt = gtk_window_new(GTK_WINDOW_DIALOG); gtk_window_set_wmclass(GTK_WINDOW(u->passprmt), "password", "Gaim"); gtk_container_border_width(GTK_CONTAINER(u->passprmt), 5); gtk_signal_connect(GTK_OBJECT(u->passprmt), "destroy", GTK_SIGNAL_FUNC(pass_des), u); @@ -807,7 +807,7 @@ GtkWidget *box, *label, *button; char buf[256]; - gc->meter = gtk_window_new(GTK_WINDOW_TOPLEVEL); + gc->meter = gtk_window_new(GTK_WINDOW_DIALOG); gtk_window_set_policy(GTK_WINDOW(gc->meter), 0, 0, 1); gtk_window_set_wmclass(GTK_WINDOW(gc->meter), "signon", "Gaim"); gtk_container_set_border_width(GTK_CONTAINER(gc->meter), 5);