Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
G
gajim-plugins
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
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
gajim
gajim-plugins
Commits
e0902e8c
Commit
e0902e8c
authored
11 years ago
by
Dicson
Browse files
Options
Downloads
Patches
Plain Diff
UrlShortenerPlugin. Fix deactivation
parent
f65f9d3b
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!41
Improved error messages
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
url_shortener/manifest.ini
+1
-1
1 addition, 1 deletion
url_shortener/manifest.ini
url_shortener/url_shortener.py
+2
-0
2 additions, 0 deletions
url_shortener/url_shortener.py
with
3 additions
and
1 deletion
url_shortener/manifest.ini
+
1
−
1
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
...
...
This diff is collapsed.
Click to expand it.
url_shortener/url_shortener.py
+
2
−
0
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
()
...
...
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