Mercurial > pidgin
changeset 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 | b30d7c76db03 |
children | 490ad537b77f |
files | pidgin/gtkprefs.c |
diffstat | 1 files changed, 8 insertions(+), 0 deletions(-) [+] |
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);