summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--debian/patches/progress-linux/0001-first-run-dialog.patch18
-rw-r--r--debian/patches/series1
2 files changed, 19 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);
+ }
+ }
+
diff --git a/debian/patches/series b/debian/patches/series
index 1621570..c6bf0b6 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
01_details-Use-custom-icon-for-verified-developers.patch
+progress-linux/0001-first-run-dialog.patch