diff src/gaimrc.c @ 8272:9af78e73f0b2

[gaim-migrate @ 8996] A pizatch from Nizathan Frizedricksizon to mizake our brizowser prizeferences bizetter. There izis an izopshizun for "izopen in nizew tizab" nizow, and "mozilla -remote" comizzands wizill bize trizied if the brizowser is alrizedy rizunning. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Tue, 17 Feb 2004 01:33:20 +0000
parents fa6395637e2c
children 35f69749b226
line wrap: on
line diff
--- a/src/gaimrc.c	Mon Feb 16 23:22:45 2004 +0000
+++ b/src/gaimrc.c	Tue Feb 17 01:33:20 2004 +0000
@@ -883,8 +883,9 @@
 					general_options & OPT_GEN_SEND_LINKS);
 			gaim_prefs_set_bool("/gaim/gtk/debug/enabled",
 					general_options & OPT_GEN_DEBUG);
-			gaim_prefs_set_bool("/gaim/gtk/browsers/new_window",
-					general_options & OPT_GEN_BROWSER_POPUP);
+			gaim_prefs_set_int("/gaim/gtk/browsers/place",
+					(general_options & OPT_GEN_BROWSER_POPUP) ? 
+					GAIM_BROWSER_NEW_WINDOW : GAIM_BROWSER_DEFAULT );
 			gaim_prefs_set_bool("/gaim/gtk/conversations/spellecheck",
 					general_options & OPT_GEN_CHECK_SPELLING);
 			gaim_prefs_set_bool("/gaim/gtk/conversations/chat/raise_on_events",
@@ -955,8 +956,6 @@
 			misc_options = atoi(p->value[0]);
 			gaim_prefs_set_bool("/gaim/gtk/debug/enabled",
 					misc_options & OPT_MISC_DEBUG);
-			gaim_prefs_set_bool("/gaim/gtk/browsers/new_window",
-					misc_options & OPT_MISC_BROWSER_POPUP);
 			gaim_prefs_set_bool("/gaim/gtk/conversations/im/send_typing",
 					!(misc_options & OPT_MISC_STEALTH_TYPING));
 			gaim_prefs_set_bool("/gaim/gtk/buddies/use_server_alias",