comparison 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
comparison
equal deleted inserted replaced
32391:b30d7c76db03 32392:cad13153ea92
2183 gtk_container_add(GTK_CONTAINER(vbox), hbox); 2183 gtk_container_add(GTK_CONTAINER(vbox), hbox);
2184 2184
2185 path = g_find_program_in_path("gnome-network-properties"); 2185 path = g_find_program_in_path("gnome-network-properties");
2186 if (path == NULL) 2186 if (path == NULL)
2187 path = g_find_program_in_path("gnome-network-preferences"); 2187 path = g_find_program_in_path("gnome-network-preferences");
2188 if (path == NULL) {
2189 path = g_find_program_in_path("gnome-control-center");
2190 if (path != NULL) {
2191 char *tmp = g_strdup_printf("%s network", path);
2192 g_free(path);
2193 path = tmp;
2194 }
2195 }
2188 2196
2189 if (path == NULL) { 2197 if (path == NULL) {
2190 label = gtk_label_new(NULL); 2198 label = gtk_label_new(NULL);
2191 gtk_label_set_markup(GTK_LABEL(label), 2199 gtk_label_set_markup(GTK_LABEL(label),
2192 _("<b>Proxy configuration program was not found.</b>")); 2200 _("<b>Proxy configuration program was not found.</b>"));