Mercurial > pidgin
diff pidgin/gtkprefs.c @ 32392:cad13153ea92
Add support for the GNOME3 Network dialog.
Closes #13882.
author | Elliott Sales de Andrade <qulogic@pidgin.im> |
---|---|
date | Wed, 21 Dec 2011 08:47:08 +0000 |
parents | ae0fa8a95fd9 |
children | 759eade309a7 763d65f3f758 |
line wrap: on
line diff
--- 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);