# HG changeset patch # User Elliott Sales de Andrade # Date 1324457228 0 # Node ID cad13153ea924a6241c1ead58d7cf67a60fc1347 # Parent b30d7c76db03091a50bcb8daf4536efdc7190768 Add support for the GNOME3 Network dialog. Closes #13882. diff -r b30d7c76db03 -r cad13153ea92 pidgin/gtkprefs.c --- a/pidgin/gtkprefs.c Tue Dec 13 15:33:12 2011 +0000 +++ b/pidgin/gtkprefs.c Wed Dec 21 08:47:08 2011 +0000 @@ -2185,6 +2185,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);