Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gajim-plugins
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
56
Issues
56
List
Boards
Labels
Service Desk
Milestones
Merge Requests
8
Merge Requests
8
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gajim
gajim-plugins
Commits
cd50df05
Commit
cd50df05
authored
Oct 12, 2016
by
Thilo Molitor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix API change for print_special_text (added additional_data={})
parent
92790088
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
5 deletions
+7
-5
juick/plugin.py
juick/plugin.py
+3
-2
url_image_preview/url_image_preview.py
url_image_preview/url_image_preview.py
+1
-1
url_shortener/url_shortener.py
url_shortener/url_shortener.py
+3
-2
No files found.
juick/plugin.py
View file @
cd50df05
...
...
@@ -83,14 +83,15 @@ class JuickPlugin(GajimPlugin):
if
self
.
conn
:
self
.
conn
.
close
()
def
print_special_text
(
self
,
tv
,
special_text
,
other_tags
,
graphics
=
True
):
def
print_special_text
(
self
,
tv
,
special_text
,
other_tags
,
graphics
=
True
,
additional_data
=
{}):
for
control
in
self
.
controls
:
if
control
.
chat_control
.
conv_textview
!=
tv
:
continue
control
.
print_special_text
(
special_text
,
other_tags
,
graphics
=
True
)
def
print_special_text1
(
self
,
chat_control
,
special_text
,
other_tags
=
None
,
graphics
=
True
):
graphics
=
True
,
additional_data
=
{}
):
for
control
in
self
.
controls
:
if
control
.
chat_control
==
chat_control
:
control
.
disconnect_from_chat_control
()
...
...
url_image_preview/url_image_preview.py
View file @
cd50df05
...
...
@@ -53,7 +53,7 @@ class UrlImagePreviewPlugin(GajimPlugin):
control
.
print_special_text
(
special_text
,
other_tags
,
graphics
=
True
)
def
print_special_text1
(
self
,
chat_control
,
special_text
,
other_tags
=
None
,
graphics
=
True
):
graphics
=
True
,
additional_data
=
{}
):
for
control
in
self
.
controls
:
if
control
.
chat_control
==
chat_control
:
control
.
disconnect_from_chat_control
()
...
...
url_shortener/url_shortener.py
View file @
cd50df05
...
...
@@ -85,14 +85,15 @@ class UrlShortenerPlugin(GajimPlugin):
control
.
disconnect_from_chat_control
()
self
.
controls
=
[]
def
print_special_text
(
self
,
tv
,
special_text
,
other_tags
,
graphics
=
True
):
def
print_special_text
(
self
,
tv
,
special_text
,
other_tags
,
graphics
=
True
,
additional_data
=
{}):
for
control
in
self
.
controls
:
if
control
.
chat_control
.
conv_textview
!=
tv
:
continue
control
.
print_special_text
(
special_text
,
other_tags
,
graphics
=
True
)
def
print_special_text1
(
self
,
chat_control
,
special_text
,
other_tags
=
None
,
graphics
=
True
):
graphics
=
True
,
additional_data
=
{}
):
for
control
in
self
.
controls
:
if
control
.
chat_control
==
chat_control
:
control
.
disconnect_from_chat_control
()
...
...
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