Compare commits

...

1 Commits

Author SHA1 Message Date
Robert Roth
ad5134a4c5 applicationwindow: do not set the help overlay modal
The application help overlay was unnecessarily set to modal.
Some people would prefer keeping the help overlay open while
interacting with the application, until they memorize the shortcuts.

This commit simply sets the modal property of the shortcuts window to false.

https://gitlab.gnome.org/GNOME/gtk/issues/971
2018-08-24 14:39:00 +03:00

View File

@@ -958,7 +958,7 @@ gtk_application_window_set_help_overlay (GtkApplicationWindow *window,
if (!window->priv->help_overlay)
return;
gtk_window_set_modal (GTK_WINDOW (help_overlay), TRUE);
gtk_window_set_modal (GTK_WINDOW (help_overlay), FALSE);
gtk_window_set_hide_on_close (GTK_WINDOW (help_overlay), TRUE);
gtk_window_set_transient_for (GTK_WINDOW (help_overlay), GTK_WINDOW (window));
gtk_shortcuts_window_set_window (help_overlay, GTK_WINDOW (window));