mirror of
https://github.com/aclist/dztui.git
synced 2026-10-25 12:12:31 +01:00
fix: try delegating size to desktop resolution
This commit is contained in:
1 parent
a40bef8f82
commit
cd23f403c9
1 file changed
+1
-5
@@ -439,9 +439,7 @@ class CompletionPage(ScrolledWizardPage):
|
|||||||
class Assistant(Gtk.Assistant):
|
class Assistant(Gtk.Assistant):
|
||||||
def __init__(self, is_deck: bool, XDG: "Xdg"):
|
def __init__(self, is_deck: bool, XDG: "Xdg"):
|
||||||
super().__init__()
|
super().__init__()
|
||||||
if is_deck:
|
if not is_deck:
|
||||||
self.fullscreen()
|
|
||||||
else:
|
|
||||||
self.set_default_size(1500, 900)
|
self.set_default_size(1500, 900)
|
||||||
|
|
||||||
self.config_path = XDG.config
|
self.config_path = XDG.config
|
||||||
@@ -720,8 +718,6 @@ class SetupWizard(Gtk.Application):
|
|||||||
super().__init__()
|
super().__init__()
|
||||||
GLib.set_prgname(APP_NAME)
|
GLib.set_prgname(APP_NAME)
|
||||||
self.win = Window(is_deck, XDG)
|
self.win = Window(is_deck, XDG)
|
||||||
if is_deck:
|
|
||||||
self.win.unfullscreen()
|
|
||||||
Gtk.main()
|
Gtk.main()
|
||||||
|
|
||||||
def is_setup_complete(self) -> int:
|
def is_setup_complete(self) -> int:
|
||||||
|
|||||||
Reference in new issue
Block a user