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
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
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
Peter Shkenev
gajim
Commits
03a98e86
Commit
03a98e86
authored
19 years ago
by
Yann Leboulanger
Browse files
Options
Downloads
Patches
Plain Diff
we now show the resource in tabbed_chat_window (thx Liorithiel)
parent
9f925c23
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
src/tabbed_chat_window.py
+6
-1
6 additions, 1 deletion
src/tabbed_chat_window.py
with
6 additions
and
1 deletion
src/tabbed_chat_window.py
+
6
−
1
View file @
03a98e86
...
...
@@ -102,8 +102,13 @@ def draw_name_banner(self, name, jid):
# this is the text for the big brown bar
# some chars need to be escaped.. this fixes '&'
name
=
name
.
replace
(
'
&
'
,
'
&
'
)
# composing full jid
fulljid
=
jid
if
self
.
users
[
jid
].
resource
:
fulljid
+=
'
/
'
+
self
.
users
[
jid
].
resource
label_text
=
'
<span weight=
"
heavy
"
size=
"
x-large
"
>%s</span>
\n
%s
'
\
%
(
name
,
jid
)
%
(
name
,
full
jid
)
# setup the label that holds name and jid
banner_name_label
=
self
.
xmls
[
jid
].
get_widget
(
'
banner_name_label
'
)
...
...
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