]> granicus.if.org Git - transmission/commitdiff
(trunk gtk) #4203 "gnome-network-properties doesn't exist in GNOME 3" -- fixed with...
authorJordan Lee <jordan@transmissionbt.com>
Sat, 30 Apr 2011 16:22:03 +0000 (16:22 +0000)
committerJordan Lee <jordan@transmissionbt.com>
Sat, 30 Apr 2011 16:22:03 +0000 (16:22 +0000)
gtk/tr-prefs.c

index 7939809029b31e5c157a6e55987422a017273293..28907e5811f8ddb18444bc74560aa01f958fd81e 100644 (file)
@@ -1160,7 +1160,8 @@ onGNOMEClicked( GtkButton * button, gpointer vdata UNUSED )
 {
     GError * err = NULL;
 
-    if( !g_spawn_command_line_async( "gnome-network-properties", &err ) )
+    if( !g_spawn_command_line_async( "gnome-network-properties", &err ) &&
+        !g_spawn_command_line_async( "gnome-control-center network", &err ) )
     {
         GtkWidget * d = gtk_message_dialog_new( GTK_WINDOW( gtk_widget_get_toplevel( GTK_WIDGET( button ) ) ),
                                                 GTK_DIALOG_DESTROY_WITH_PARENT,