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
4f55c182
Commit
4f55c182
authored
16 years ago
by
Yann Leboulanger
Browse files
Options
Downloads
Patches
Plain Diff
fix var names. type -> type_. see #4403
parent
ecba6896
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
+9
-9
9 additions, 9 deletions
src/message_window.py
with
9 additions
and
9 deletions
src/message_window.py
+
9
−
9
View file @
4f55c182
...
@@ -1039,7 +1039,7 @@ May be useful some day in the future?'''
...
@@ -1039,7 +1039,7 @@ May be useful some day in the future?'''
return
ctrl
return
ctrl
return
None
return
None
def
get_controls
(
self
,
type_
=
None
,
acct
=
None
):
def
get_controls
(
self
,
type_
=
None
,
acct
=
None
):
ctrls
=
[]
ctrls
=
[]
for
c
in
self
.
controls
():
for
c
in
self
.
controls
():
if
acct
and
c
.
account
!=
acct
:
if
acct
and
c
.
account
!=
acct
:
...
@@ -1084,15 +1084,15 @@ May be useful some day in the future?'''
...
@@ -1084,15 +1084,15 @@ May be useful some day in the future?'''
elif
self
.
mode
==
self
.
ONE_MSG_WINDOW_PERACCT
:
elif
self
.
mode
==
self
.
ONE_MSG_WINDOW_PERACCT
:
acct
=
msg_win
.
account
acct
=
msg_win
.
account
elif
self
.
mode
==
self
.
ONE_MSG_WINDOW_PERTYPE
:
elif
self
.
mode
==
self
.
ONE_MSG_WINDOW_PERTYPE
:
type
=
msg_win
.
type
type
_
=
msg_win
.
type
pos_x_key
=
type
+
'
-msgwin-x-position
'
pos_x_key
=
type
_
+
'
-msgwin-x-position
'
pos_y_key
=
type
+
'
-msgwin-y-position
'
pos_y_key
=
type
_
+
'
-msgwin-y-position
'
size_width_key
=
type
+
'
-msgwin-width
'
size_width_key
=
type
_
+
'
-msgwin-width
'
size_height_key
=
type
+
'
-msgwin-height
'
size_height_key
=
type
_
+
'
-msgwin-height
'
elif
self
.
mode
==
self
.
ONE_MSG_WINDOW_NEVER
:
elif
self
.
mode
==
self
.
ONE_MSG_WINDOW_NEVER
:
type
=
msg_win
.
type
type
_
=
msg_win
.
type
size_width_key
=
type
+
'
-msgwin-width
'
size_width_key
=
type
_
+
'
-msgwin-width
'
size_height_key
=
type
+
'
-msgwin-height
'
size_height_key
=
type
_
+
'
-msgwin-height
'
elif
self
.
mode
==
self
.
ONE_MSG_WINDOW_ALWAYS_WITH_ROSTER
:
elif
self
.
mode
==
self
.
ONE_MSG_WINDOW_ALWAYS_WITH_ROSTER
:
# Ignore any hpaned width
# Ignore any hpaned width
width
=
msg_win
.
notebook
.
allocation
.
width
width
=
msg_win
.
notebook
.
allocation
.
width
...
...
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