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
e0902e8c
Commit
e0902e8c
authored
Sep 04, 2013
by
Dicson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
UrlShortenerPlugin. Fix deactivation
parent
f65f9d3b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
url_shortener/manifest.ini
url_shortener/manifest.ini
+1
-1
url_shortener/url_shortener.py
url_shortener/url_shortener.py
+2
-0
No files found.
url_shortener/manifest.ini
View file @
e0902e8c
[info]
name:
Url
Shortener
short_name:
url_shortener
version:
0.3.
3
version:
0.3.
4
description:
Plugin
that
allows
users
to
shorten
a
long
URL
in
messages.
For
example,
you
can
turn
this
link:
https://trac.gajim.org/timeline
...
...
url_shortener/url_shortener.py
View file @
e0902e8c
...
...
@@ -110,6 +110,8 @@ class Base(object):
self
.
chat_control
.
handlers
[
self
.
id_
]
=
self
.
textview
.
tv
def
print_special_text
(
self
,
special_text
,
other_tags
,
graphics
=
True
):
if
not
self
.
plugin
.
active
:
return
is_xhtml_link
=
None
text_is_valid_uri
=
False
buffer_
=
self
.
textview
.
tv
.
get_buffer
()
...
...
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