blob: 26c178730b151f8580e4178e618ac6728eb2de4f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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);
}
}
|