fixup! Port UI to GTK 4

This commit is contained in:
coderkun 2024-04-10 17:50:15 +02:00
commit 169d8b7abf

View file

@ -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()