Daniel Brötzmann pushed to branch master at gajim / gajim


Commits:
cc5d3ffa by wurstsalat at 2022-07-23T22:56:32+02:00
fix: Main Window: Move to stored position on startup

- - - - -


1 changed file:

- gajim/gtk/main.py


Changes:

=====================================
gajim/gtk/main.py
=====================================
@@ -54,6 +54,7 @@
 from .builder import get_builder
 from .util import get_app_window
 from .util import get_key_theme
+from .util import move_window
 from .util import resize_window
 from .util import restore_main_window_position
 from .util import save_main_window_position
@@ -191,6 +192,10 @@ def _prepare_window(self) -> None:
 
         self.set_skip_taskbar_hint(not app.settings.get('show_in_taskbar'))
 
+        x_pos = app.settings.get('mainwin_x_position')
+        y_pos = app.settings.get('mainwin_y_position')
+        move_window(self, x_pos, y_pos)
+
         self.show_all()
 
         show_main_window = app.settings.get('show_main_window_on_startup')



View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/commit/cc5d3ffa6acb514ec4ecc86c741efd7ac07aa3ec

-- 
View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/commit/cc5d3ffa6acb514ec4ecc86c741efd7ac07aa3ec
You're receiving this email because of your account on dev.gajim.org.


_______________________________________________
Commits mailing list
[email protected]
https://lists.gajim.org/cgi-bin/listinfo/commits

Reply via email to