Mercurial > pidgin
diff src/prefs.c @ 748:c32d4fae9bbd
[gaim-migrate @ 758]
blargh
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Wed, 23 Aug 2000 18:30:35 +0000 |
parents | eec93c5929b9 |
children | bcae3ff49680 |
line wrap: on
line diff
--- a/src/prefs.c Wed Aug 23 05:43:46 2000 +0000 +++ b/src/prefs.c Wed Aug 23 18:30:35 2000 +0000 @@ -1313,6 +1313,12 @@ return opt; } +static void brentdes(GtkWidget *m, gpointer n) +{ + browser_entry = NULL; + new_window = NULL; +} + static void browser_page() { GtkWidget *parent; @@ -1347,6 +1353,7 @@ gtk_box_pack_start(GTK_BOX(box), browser_entry, FALSE, FALSE, 0); gtk_entry_set_text(GTK_ENTRY(browser_entry), web_command); gtk_signal_connect(GTK_OBJECT(browser_entry), "focus_out_event", GTK_SIGNAL_FUNC(manualentry_key_pressed), NULL); + gtk_signal_connect(GTK_OBJECT(browser_entry), "destroy", GTK_SIGNAL_FUNC(brentdes), NULL); gtk_widget_show(browser_entry); new_window = gaim_button(_("Pop up new window by default"), &general_options, OPT_GEN_BROWSER_POPUP, box);