[glib-networking] proxy/gnome: Use this in an Ubuntu (Unity) session too.
- From: Dan Winship <danw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib-networking] proxy/gnome: Use this in an Ubuntu (Unity) session too.
- Date: Tue, 30 Apr 2013 13:31:13 +0000 (UTC)
commit 9c958acdc67b8d1c3744cfdf2c8420e0369151c4
Author: Iain Lane <iain lane canonical com>
Date: Mon Apr 29 17:42:53 2013 +0000
proxy/gnome: Use this in an Ubuntu (Unity) session too.
This avoids falling back to libproxy unnecessarily.
https://bugs.launchpad.net/ubuntu/+source/glib-networking/+bug/1172792
https://bugzilla.gnome.org/show_bug.cgi?id=698936
proxy/gnome/gproxyresolvergnome.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/proxy/gnome/gproxyresolvergnome.c b/proxy/gnome/gproxyresolvergnome.c
index 4cdba0a..724455f 100644
--- a/proxy/gnome/gproxyresolvergnome.c
+++ b/proxy/gnome/gproxyresolvergnome.c
@@ -313,7 +313,8 @@ update_settings (GProxyResolverGnome *resolver)
static gboolean
g_proxy_resolver_gnome_is_supported (GProxyResolver *object)
{
- return !g_strcmp0 (g_getenv ("DESKTOP_SESSION"), "gnome");
+ return !g_strcmp0 (g_getenv ("DESKTOP_SESSION"), "gnome") ||
+ !g_strcmp0 (g_getenv ("DESKTOP_SESSION"), "ubuntu");
}
static inline gchar **
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]