Commit 8e0ddc87 authored by William Hua's avatar William Hua Committed by Richard Hughes
Browse files

Launch software-properties-gtk in place of the sources dialog
parent 3b094040
......@@ -863,6 +863,10 @@ gs_shell_show_sources (GsShell *shell)
GsShellPrivate *priv = gs_shell_get_instance_private (shell);
GtkWidget *dialog;
/* use if available */
if (g_spawn_command_line_async ("software-properties-gtk", NULL))
dialog = gs_sources_dialog_new (priv->main_window, priv->plugin_loader);
gs_shell_modal_dialog_present (shell, GTK_DIALOG (dialog));
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment