summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 15:20:20 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 15:20:20 +0000
commit8e6ceeb21e539e15576c27fffdf4da09da88df21 (patch)
treeb230d7a0da512c35b3c5c1746c9fa6d3bb325471
parentUpdating org.gnome.software gsettings overrides for Progress Linux. (diff)
downloadgnome-software-8e6ceeb21e539e15576c27fffdf4da09da88df21.tar.xz
gnome-software-8e6ceeb21e539e15576c27fffdf4da09da88df21.zip
Disabling dialog on first run.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
-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