pidgin: adb5993f: Add support for the GNOME3 Network dialo...

qulogic at pidgin.im qulogic at pidgin.im
Thu Dec 22 04:41:41 EST 2011


----------------------------------------------------------------------
Revision: adb5993fd26854de08af6ca2864eeb3fe1fc8c1d
Parent:   41399c80e051ca0252ced04d4c6cdf2dd6260229
Author:   qulogic at pidgin.im
Date:     12/21/11 03:47:08
Branch:   im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/adb5993fd26854de08af6ca2864eeb3fe1fc8c1d

Changelog: 

Add support for the GNOME3 Network dialog.

Closes #13882.

Changes against parent 41399c80e051ca0252ced04d4c6cdf2dd6260229

  patched  pidgin/gtkprefs.c

-------------- next part --------------
============================================================
--- pidgin/gtkprefs.c	d9f7e1ca860271128000eb2a86161a7ea97003e9
+++ pidgin/gtkprefs.c	4d670e3f970d11d4dfb02723c86cbb55a8343efe
@@ -2185,6 +2185,14 @@ proxy_page(void)
 		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);


More information about the Commits mailing list