changeset 32515:d8bf899c1532

*** Plucked rev adb5993fd26854de08af6ca2864eeb3fe1fc8c1d (qulogic@pidgin.im): Add support for the GNOME3 Network dialog. Closes #13882.
author Mark Doliner <mark@kingant.net>
date Wed, 15 Feb 2012 09:44:50 +0000
parents d4d647e6cb66
children de4e6af605a2
files pidgin/gtkprefs.c
diffstat 1 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/pidgin/gtkprefs.c	Wed Feb 15 09:40:30 2012 +0000
+++ b/pidgin/gtkprefs.c	Wed Feb 15 09:44:50 2012 +0000
@@ -2036,6 +2036,14 @@
 		path = g_find_program_in_path("gnome-network-properties");
 		if (path == NULL)
 			path = g_find_program_in_path("gnome-network-preferences");
+		if (path == NULL) {
+			path = g_find_program_in_path("gnome-control-center");
+			if (path != NULL) {
+				char *tmp = g_strdup_printf("%s network", path);
+				g_free(path);
+				path = tmp;
+			}
+		}
 
 		if (path == NULL) {
 			label = gtk_label_new(NULL);