Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
gajim
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mesonium
gajim
Commits
cc5d3ffa
Commit
cc5d3ffa
authored
2 years ago
by
Daniel Brötzmann
Browse files
Options
Downloads
Patches
Plain Diff
fix: Main Window: Move to stored position on startup
parent
3bc58246
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
gajim/gtk/main.py
+5
-0
5 additions, 0 deletions
gajim/gtk/main.py
with
5 additions
and
0 deletions
gajim/gtk/main.py
+
5
−
0
View file @
cc5d3ffa
...
...
@@ -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
'
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment