mirror of
https://github.com/SoongNoonien/mpdevil.git
synced 2023-08-10 21:12:44 +03:00
made ShortcutsWindow not modal
This commit is contained in:
parent
84e6a5a34c
commit
1ded4a59c9
@ -3363,7 +3363,7 @@ class MPDActionGroup(Gio.SimpleActionGroup):
|
||||
####################
|
||||
class ShortcutsWindow(Gtk.ShortcutsWindow):
|
||||
def __init__(self):
|
||||
super().__init__(modal=True)
|
||||
super().__init__()
|
||||
|
||||
general_group=Gtk.ShortcutsGroup(title=_("General"), visible=True)
|
||||
window_group=Gtk.ShortcutsGroup(title=_("Window"), visible=True)
|
||||
@ -3512,7 +3512,9 @@ class MainWindow(Gtk.ApplicationWindow):
|
||||
super().__init__(title=("mpdevil"), icon_name="mpdevil", application=app)
|
||||
Notify.init("mpdevil")
|
||||
self.set_default_size(settings.get_int("width"), settings.get_int("height"))
|
||||
self.set_help_overlay(ShortcutsWindow())
|
||||
shortcuts_window=ShortcutsWindow()
|
||||
self.set_help_overlay(shortcuts_window)
|
||||
shortcuts_window.set_modal(False)
|
||||
|
||||
# adding vars
|
||||
self._client=client
|
||||
|
Loading…
Reference in New Issue
Block a user