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
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository 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
Weblate
gajim
Commits
bc5795a1
Commit
bc5795a1
authored
16 years ago
by
js
Browse files
Options
Downloads
Patches
Plain Diff
[killerfox] Show chatstate in title if no tabs left
parent
2c7c345a
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
src/message_window.py
+5
-0
5 additions, 0 deletions
src/message_window.py
with
5 additions
and
0 deletions
src/message_window.py
+
5
−
0
View file @
bc5795a1
...
...
@@ -452,6 +452,9 @@ class MessageWindow(object):
label
=
None
elif
self
.
get_num_controls
()
==
1
:
label
=
name
state
=
control
.
contact
.
chatstate
if
state
and
bool
(
len
(
state
)):
label
=
'
%s (%s)
'
%
(
label
,
state
.
capitalize
())
else
:
label
=
_
(
'
Messages
'
)
...
...
@@ -579,6 +582,8 @@ class MessageWindow(object):
else
:
status_img
.
set_from_pixbuf
(
tab_img
.
get_pixbuf
())
self
.
show_title
()
def
repaint_themed_widgets
(
self
):
'''
Repaint controls in the window with theme color
'''
# iterate through controls and repaint
...
...
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