changeset 18221:a573a67c80a4

Only hide the proxy options table if not running gnome otherwise we hide the IP address table instead!
author Stu Tomlinson <stu@nosnilmot.com>
date Thu, 21 Jun 2007 18:08:48 +0000
parents 4eb0a18484cc
children ef65d43190e5 5cfa2e63d2fd f46ec4d6a385 1cb69ea47a6e c9bcf4f11e30 d28015a513a9
files pidgin/gtkprefs.c
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/pidgin/gtkprefs.c	Thu Jun 21 11:37:19 2007 +0000
+++ b/pidgin/gtkprefs.c	Thu Jun 21 18:08:48 2007 +0000
@@ -1214,9 +1214,10 @@
 	}
 
 	gtk_widget_show_all(ret);
-	if (proxy_info == NULL ||
+	/* Only hide table if not running gnome otherwise we hide the IP address table! */
+	if (!purple_running_gnome() && (proxy_info == NULL ||
 	    purple_proxy_info_get_type(proxy_info) == PURPLE_PROXY_NONE ||
-	    purple_proxy_info_get_type(proxy_info) == PURPLE_PROXY_USE_ENVVAR)
+	    purple_proxy_info_get_type(proxy_info) == PURPLE_PROXY_USE_ENVVAR))
 		gtk_widget_hide(table);
 	return ret;
 }