fixup! Port UI to GTK 4
This commit is contained in:
parent
7e21110f0a
commit
169d8b7abf
1 changed files with 22 additions and 98 deletions
|
|
@ -9,13 +9,14 @@ try:
|
|||
use_keyring = True
|
||||
except:
|
||||
use_keyring = False
|
||||
use_keyring = False
|
||||
import locale
|
||||
import logging
|
||||
|
||||
from gi.repository import Gtk, Adw, Gdk, GObject, GLib, Gio
|
||||
|
||||
from . import client
|
||||
#from .shortcutsdialog import ShortcutsDialog
|
||||
from .shortcutsdialog import ShortcutsDialog
|
||||
from .connectionpanel import ConnectionPanel
|
||||
from .serverpanel import ServerPanel
|
||||
from .coverpanel import CoverPanel
|
||||
|
|
@ -87,8 +88,8 @@ class Window(Adw.ApplicationWindow):
|
|||
self._headerbar_connection_button_active = True
|
||||
self._headerbar_playpause_button_active = True
|
||||
|
||||
# FIXME Help/Shortcuts dialog
|
||||
#self.set_help_overlay(ShortcutsDialog())
|
||||
# Help/Shortcuts dialog
|
||||
self.set_help_overlay(ShortcutsDialog())
|
||||
|
||||
# Login screen
|
||||
self._connection_panel = ConnectionPanel()
|
||||
|
|
|
|||
Loading…
Reference in a new issue