pidgin/gtkprefs.c

branch
soc.2013.gobjectification.plugins
changeset 36964
30cbb41e0803
parent 36963
6cc39a95f75b
parent 35106
79ebfc0d91df
child 37066
1ebce1f4993b
equal deleted inserted replaced
36963:6cc39a95f75b 36964:30cbb41e0803
2300 2300
2301 /* Sorted reverse alphabetically */ 2301 /* Sorted reverse alphabetically */
2302 static const struct browser possible_browsers[] = { 2302 static const struct browser possible_browsers[] = {
2303 {N_("Seamonkey"), "seamonkey"}, 2303 {N_("Seamonkey"), "seamonkey"},
2304 {N_("Opera"), "opera"}, 2304 {N_("Opera"), "opera"},
2305 {N_("Netscape"), "netscape"},
2306 {N_("Mozilla"), "mozilla"}, 2305 {N_("Mozilla"), "mozilla"},
2307 {N_("Konqueror"), "kfmclient"}, 2306 {N_("Konqueror"), "kfmclient"},
2308 {N_("Google Chrome"), "google-chrome"}, 2307 {N_("Google Chrome"), "google-chrome"},
2309 /* Do not move the line below. Code below expects gnome-open to be in 2308 /* Do not move the line below. Code below expects gnome-open to be in
2310 * this list immediately after xdg-open! */ 2309 * this list immediately after xdg-open! */
4414 /* If the "open link in" pref is set to the old value for "existing 4413 /* If the "open link in" pref is set to the old value for "existing
4415 window" then change it to "default." */ 4414 window" then change it to "default." */
4416 purple_prefs_set_int(PIDGIN_PREFS_ROOT "/browsers/place", 4415 purple_prefs_set_int(PIDGIN_PREFS_ROOT "/browsers/place",
4417 PIDGIN_BROWSER_DEFAULT); 4416 PIDGIN_BROWSER_DEFAULT);
4418 } 4417 }
4418
4419 /* Added in 3.0.0. */
4420 if (g_str_equal(
4421 purple_prefs_get_string(PIDGIN_PREFS_ROOT "/browsers/browser"),
4422 "netscape")) {
4423 purple_prefs_set_string(PIDGIN_PREFS_ROOT "/browsers/browser", "xdg-open");
4424 }
4419 #endif /* !_WIN32 */ 4425 #endif /* !_WIN32 */
4420 } 4426 }
4421 4427

mercurial