(trunk gtk) #4203 "gnome-network-properties doesn't exist in GNOME 3" -- fixed with patch from lesnoland

This commit is contained in:
Jordan Lee 2011-04-30 16:22:03 +00:00
parent 45af1b15ca
commit 0cff181c09
1 changed files with 2 additions and 1 deletions

View 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,