Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
norstbox
gajim
Commits
b02eeac8
Commit
b02eeac8
authored
Sep 22, 2006
by
Yann Leboulanger
Browse files
remove useless self.
parent
38c8ba58
Changes
1
Show whitespace changes
Inline
Side-by-side
src/vcard.py
View file @
b02eeac8
...
@@ -126,11 +126,11 @@ class VcardWindow:
...
@@ -126,11 +126,11 @@ class VcardWindow:
try
:
try
:
if
value
and
entry_name
==
'URL_label'
:
if
value
and
entry_name
==
'URL_label'
:
if
gtk
.
pygtk_version
>=
(
2
,
10
,
0
)
and
gtk
.
gtk_version
>=
(
2
,
10
,
0
):
if
gtk
.
pygtk_version
>=
(
2
,
10
,
0
)
and
gtk
.
gtk_version
>=
(
2
,
10
,
0
):
self
.
url_label
=
gtk
.
LinkButton
(
value
)
url_label
=
gtk
.
LinkButton
(
value
)
else
:
else
:
self
.
url_label
=
gtk
.
Label
(
value
)
url_label
=
gtk
.
Label
(
value
)
table
=
self
.
xml
.
get_widget
(
'personal_info_table'
)
table
=
self
.
xml
.
get_widget
(
'personal_info_table'
)
table
.
attach
(
self
.
url_label
,
1
,
4
,
3
,
4
,
yoptions
=
0
)
table
.
attach
(
url_label
,
1
,
4
,
3
,
4
,
yoptions
=
0
)
else
:
else
:
self
.
xml
.
get_widget
(
entry_name
).
set_text
(
value
)
self
.
xml
.
get_widget
(
entry_name
).
set_text
(
value
)
except
AttributeError
:
except
AttributeError
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment