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
ce002e02
Commit
ce002e02
authored
3 years ago
by
Philipp Hörist
Browse files
Options
Downloads
Patches
Plain Diff
Fix workspace label
parent
4681a4f6
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/chat_page.py
+5
-5
5 additions, 5 deletions
gajim/gtk/chat_page.py
with
5 additions
and
5 deletions
gajim/gtk/chat_page.py
+
5
−
5
View file @
ce002e02
...
...
@@ -123,10 +123,6 @@ def _on_button_release(paned, event):
def
_on_chat_selected
(
self
,
_chat_list_stack
,
workspace_id
,
account
,
jid
):
self
.
_chat_stack
.
show_chat
(
account
,
jid
)
self
.
_search_view
.
set_context
(
account
,
jid
)
self
.
_ui
.
workspace_label
.
set_text
(
app
.
settings
.
get_workspace_setting
(
workspace_id
,
'
name
'
))
self
.
emit
(
'
chat-selected
'
,
workspace_id
,
account
,
jid
)
def
_on_chat_unselected
(
self
,
_chat_list_stack
):
...
...
@@ -143,7 +139,11 @@ def _on_search_history(self, _action, _param):
def
_on_search_hide
(
self
,
*
args
):
self
.
_search_revealer
.
hide
()
def
_on_chat_list_changed
(
self
,
*
args
):
def
_on_chat_list_changed
(
self
,
chat_list_stack
,
*
args
):
chat_list
=
chat_list_stack
.
get_current_chat_list
()
name
=
app
.
settings
.
get_workspace_setting
(
chat_list
.
workspace_id
,
'
name
'
)
self
.
_ui
.
workspace_label
.
set_text
(
name
)
self
.
_ui
.
search_entry
.
set_text
(
''
)
def
process_event
(
self
,
event
):
...
...
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