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
Model registry
Monitor
Incidents
Analyze
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
gajim
gajim
Commits
75f5c13b
Commit
75f5c13b
authored
2 years ago
by
Daniel Brötzmann
Browse files
Options
Downloads
Patches
Plain Diff
fix: AccountsWindow: Point out the window's class
parent
19a55d54
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
gajim/gtk/accounts.py
+2
-4
2 additions, 4 deletions
gajim/gtk/accounts.py
with
2 additions
and
4 deletions
gajim/gtk/accounts.py
+
2
−
4
View file @
75f5c13b
...
...
@@ -565,8 +565,7 @@ def _disable() -> None:
if
(
account
in
app
.
connections
and
not
app
.
connections
[
account
].
state
.
is_disconnected
):
# Connecting or connected
window
=
get_app_window
(
'
AccountsWindow
'
)
assert
window
is
not
None
window
=
cast
(
AccountsWindow
,
get_app_window
(
'
AccountsWindow
'
))
ConfirmationDialog
(
_
(
'
Disable Account
'
),
_
(
'
Account %s is still connected
'
)
%
account
,
...
...
@@ -707,8 +706,7 @@ def __init__(self, account: str) -> None:
GenericSettingPage
.
__init__
(
self
,
account
,
settings
)
def
_on_account_name_change
(
self
,
*
args
:
Any
)
->
None
:
window
=
get_app_window
(
'
AccountsWindow
'
)
assert
window
is
not
None
window
=
cast
(
AccountsWindow
,
get_app_window
(
'
AccountsWindow
'
))
window
.
update_account_label
(
self
.
account
)
...
...
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