summaryrefslogtreecommitdiffstats
path: root/debian/patches/progress-linux/0001-first-run-dialog.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/progress-linux/0001-first-run-dialog.patch')
-rw-r--r--debian/patches/progress-linux/0001-first-run-dialog.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/debian/patches/progress-linux/0001-first-run-dialog.patch b/debian/patches/progress-linux/0001-first-run-dialog.patch
new file mode 100644
index 0000000..26c1787
--- /dev/null
+++ b/debian/patches/progress-linux/0001-first-run-dialog.patch
@@ -0,0 +1,18 @@
+Author: Daniel Baumann <daniel.baumann@progress-linux.org>
+Description: Disable dialog on first run.
+
+diff -Naurp gnome-software.orig/src/gs-application.c gnome-software/src/gs-application.c
+--- gnome-software.orig/src/gs-application.c
++++ gnome-software/src/gs-application.c
+@@ -208,11 +208,7 @@ gs_application_show_first_run_dialog (Gs
+ GtkWidget *dialog;
+
+ if (g_settings_get_boolean (app->settings, "first-run") == TRUE) {
+- dialog = gs_first_run_dialog_new ();
+- gs_shell_modal_dialog_present (app->shell, GTK_DIALOG (dialog));
+ g_settings_set_boolean (app->settings, "first-run", FALSE);
+- g_signal_connect_swapped (dialog, "response",
+- G_CALLBACK (gtk_widget_destroy), dialog);
+ }
+ }
+