cpw.rekkanoryo.prefs_window: 93a8ad41: Oops. If the user was running GNOME, he...

rekkanoryo at pidgin.im rekkanoryo at pidgin.im
Sun Nov 15 20:55:38 EST 2009


-----------------------------------------------------------------
Revision: 93a8ad41d6ca0dc6d8b5df0d003b364f41131910
Ancestor: e3494a19898ade8b3cfa1ac07b502f81de177bf1
Author: rekkanoryo at pidgin.im
Date: 2009-11-16T00:54:23
Branch: im.pidgin.cpw.rekkanoryo.prefs_window
URL: http://d.pidgin.im/viewmtn/revision/info/93a8ad41d6ca0dc6d8b5df0d003b364f41131910

Modified files:
        pidgin/gtkprefs.c

ChangeLog: 

Oops.  If the user was running GNOME, he/she wouldn't see the proxy and browser
tabs, so the blurbs I just moved wouldn't be visible.

-------------- next part --------------
============================================================
--- pidgin/gtkprefs.c	8fbe9ad8f94b03e578cae1fd71d779962779c820
+++ pidgin/gtkprefs.c	1a17cf238c8315fa53163c227e80cbac53fd9cf9
@@ -2873,16 +2873,15 @@ prefs_notebook_init(void)
 
 #ifndef _WIN32
 	/* We use the registered default browser in windows */
-	/* if the user is running gnome 2.x or Mac OS X, hide the browsers tab */
-	if((purple_running_gnome() == FALSE) && (purple_running_osx() == FALSE))
+	/* if the user is running Mac OS X, hide the browsers tab */
+	if(purple_running_osx() == FALSE)
 		prefs_notebook_add_page(_("Browser"), browser_page(), notebook_page++);
 #endif
 
 	prefs_notebook_add_page(_("Conversations"), conv_page(), notebook_page++);
 	prefs_notebook_add_page(_("Logging"), logging_page(), notebook_page++);
 	prefs_notebook_add_page(_("Network"), network_page(), notebook_page++);
-	if(purple_running_gnome() == FALSE)
-		prefs_notebook_add_page(_("Proxy"), proxy_page(), notebook_page++);
+	prefs_notebook_add_page(_("Proxy"), proxy_page(), notebook_page++);
 
 	prefs_notebook_add_page(_("Sounds"), sound_page(), notebook_page++);
 	prefs_notebook_add_page(_("Status / Idle"), away_page(), notebook_page++);


More information about the Commits mailing list