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
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
muelli
gajim-plugins
Commits
97c2bfbd
Commit
97c2bfbd
authored
Oct 06, 2018
by
Philipp Hörist
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add compatibility for Gajim 1.1
parent
db2c71b6
Changes
62
Hide whitespace changes
Inline
Side-by-side
Showing
62 changed files
with
275 additions
and
115 deletions
+275
-115
acronyms_expander/acronyms_expander.py
acronyms_expander/acronyms_expander.py
+6
-2
acronyms_expander/manifest.ini
acronyms_expander/manifest.ini
+1
-1
anti_spam/anti_spam.py
anti_spam/anti_spam.py
+6
-0
anti_spam/manifest.ini
anti_spam/manifest.ini
+1
-1
appindicator_integration/manifest.ini
appindicator_integration/manifest.ini
+1
-1
appindicator_integration/plugin.py
appindicator_integration/plugin.py
+7
-1
banner_tweaks/manifest.ini
banner_tweaks/manifest.ini
+1
-1
banner_tweaks/plugin.py
banner_tweaks/plugin.py
+8
-3
birthday_reminder/manifest.ini
birthday_reminder/manifest.ini
+1
-1
birthday_reminder/plugin.py
birthday_reminder/plugin.py
+6
-0
chatstate/chatstate.py
chatstate/chatstate.py
+7
-3
chatstate/manifest.ini
chatstate/manifest.ini
+1
-1
clickable_nicknames/clickable_nicknames.py
clickable_nicknames/clickable_nicknames.py
+6
-2
clickable_nicknames/manifest.ini
clickable_nicknames/manifest.ini
+2
-2
clients_icons/clients_icons.py
clients_icons/clients_icons.py
+8
-4
clients_icons/manifest.ini
clients_icons/manifest.ini
+2
-2
flashing_keyboard/flashing_keyboard.py
flashing_keyboard/flashing_keyboard.py
+7
-3
flashing_keyboard/manifest.ini
flashing_keyboard/manifest.ini
+2
-2
gui_for_me/gui_for_me.py
gui_for_me/gui_for_me.py
+6
-3
gui_for_me/manifest.ini
gui_for_me/manifest.ini
+2
-2
hamster/hamster.py
hamster/hamster.py
+9
-4
hamster/manifest.ini
hamster/manifest.ini
+2
-2
image/image.py
image/image.py
+6
-0
image/manifest.ini
image/manifest.ini
+1
-1
juick/manifest.ini
juick/manifest.ini
+2
-2
juick/plugin.py
juick/plugin.py
+12
-8
latex/latex.py
latex/latex.py
+11
-4
latex/manifest.ini
latex/manifest.ini
+1
-0
length_notifier/length_notifier.py
length_notifier/length_notifier.py
+8
-3
length_notifier/manifest.ini
length_notifier/manifest.ini
+2
-2
message_box_size/manifest.ini
message_box_size/manifest.ini
+2
-2
message_box_size/msg_box_size.py
message_box_size/msg_box_size.py
+6
-3
now_listen/manifest.ini
now_listen/manifest.ini
+1
-1
now_listen/now_listen.py
now_listen/now_listen.py
+8
-3
omemo/ui.py
omemo/ui.py
+5
-0
plugin_installer/manifest.ini
plugin_installer/manifest.ini
+2
-2
plugin_installer/plugin_installer.py
plugin_installer/plugin_installer.py
+6
-0
quick_replies/manifest.ini
quick_replies/manifest.ini
+2
-2
quick_replies/plugin.py
quick_replies/plugin.py
+5
-1
regex_filter/manifest.ini
regex_filter/manifest.ini
+2
-2
regex_filter/regex_filter.py
regex_filter/regex_filter.py
+8
-1
roster_tweaks/manifest.ini
roster_tweaks/manifest.ini
+2
-2
roster_tweaks/roster_tweaks.py
roster_tweaks/roster_tweaks.py
+6
-2
server_status_icons/manifest.ini
server_status_icons/manifest.ini
+2
-2
server_status_icons/server_status_icons.py
server_status_icons/server_status_icons.py
+5
-3
set_location/manifest.ini
set_location/manifest.ini
+2
-2
set_location/set_location.py
set_location/set_location.py
+10
-7
tictactoe/manifest.ini
tictactoe/manifest.ini
+1
-1
tictactoe/plugin.py
tictactoe/plugin.py
+6
-0
triggers/manifest.ini
triggers/manifest.ini
+1
-1
triggers/triggers.py
triggers/triggers.py
+6
-0
url_image_preview/config_dialog.py
url_image_preview/config_dialog.py
+5
-0
url_image_preview/http_functions.py
url_image_preview/http_functions.py
+9
-3
url_image_preview/manifest.ini
url_image_preview/manifest.ini
+1
-1
url_image_preview/url_image_preview.py
url_image_preview/url_image_preview.py
+6
-0
whiteboard/manifest.ini
whiteboard/manifest.ini
+1
-1
whiteboard/plugin.py
whiteboard/plugin.py
+6
-2
whiteboard/whiteboard_widget.py
whiteboard/whiteboard_widget.py
+9
-1
wicd_support/manifest.ini
wicd_support/manifest.ini
+2
-2
wicd_support/wicd_support.py
wicd_support/wicd_support.py
+5
-2
wrong_layout/manifest.ini
wrong_layout/manifest.ini
+2
-2
wrong_layout/plugin.py
wrong_layout/plugin.py
+6
-3
No files found.
acronyms_expander/acronyms_expander.py
View file @
97c2bfbd
...
...
@@ -24,15 +24,19 @@ Acronyms expander plugin.
:license: GPL
'''
import
sys
import
os
from
gi.repository
import
Gtk
from
gi.repository
import
GObject
from
gajim.plugins
import
GajimPlugin
from
gajim.plugins.helpers
import
log
,
log_calls
# Since Gajim 1.1.0 _() has to be imported
try
:
from
gajim.common.i18n
import
_
except
ImportError
:
pass
class
AcronymsExpanderPlugin
(
GajimPlugin
):
@
log_calls
(
'AcronymsExpanderPlugin'
)
...
...
acronyms_expander/manifest.ini
View file @
97c2bfbd
[info]
name:
Acronyms
Expander
short_name:
acronyms_expander
version:
0.
3
version:
0.
4
description:
Replaces
acronyms
(or
other
strings)
with
given
expansions/substitutes.
authors:
Mateusz
Biliński
<mateusz@bilinski.it>
homepage:
https://dev.gajim.org/gajim/gajim-plugins/wikis/AcronymsExpanderPlugin
anti_spam/anti_spam.py
View file @
97c2bfbd
...
...
@@ -32,6 +32,12 @@ from gajim.plugins import GajimPlugin
from
gajim.plugins.helpers
import
log
,
log_calls
from
gajim.plugins.gui
import
GajimPluginConfigDialog
# Since Gajim 1.1.0 _() has to be imported
try
:
from
gajim.common.i18n
import
_
except
ImportError
:
pass
class
AntiSpamPlugin
(
GajimPlugin
):
@
log_calls
(
'AntiSpamPlugin'
)
...
...
anti_spam/manifest.ini
View file @
97c2bfbd
[info]
name:
Anti
Spam
short_name:
anti_spam
version:
1.4.
4
version:
1.4.
5
description:
Block
some
incoming
messages.
authors
=
Yann Leboulanger <asterix@lagaule.org>
Denis
Fomin
<fominde@gmail.com>
...
...
appindicator_integration/manifest.ini
View file @
97c2bfbd
[info]
name:
Ayatana
Appindicator
integration
short_name:
appindicator_integration
version:
1.1.
0
version:
1.1.
1
description:
This
plugin
integrates
Gajim
with
the
Ayatana
AppIndicator.
You
must
have
gir1.2-ayatanaappindicator3-0.1
installed
to
enable
this
plugin.
homepage:
https://dev.gajim.org/gajim/gajim-plugins/wikis/AppindicatorSupportPlugin
authors:
Denis
Borenko
<borenko@rambler.ru>
...
...
appindicator_integration/plugin.py
View file @
97c2bfbd
...
...
@@ -18,13 +18,19 @@ try:
from
gi.repository
import
AyatanaAppIndicator3
as
appindicator
ERRORMSG
=
None
except
(
ValueError
,
ImportError
):
ERRORMSG
=
_
(
'Please install libappindicator3'
)
ERRORMSG
=
'Please install libappindicator3'
from
gajim.common
import
app
,
ged
from
gajim.common
import
configpaths
from
gajim.plugins
import
GajimPlugin
from
gajim.plugins.helpers
import
log_calls
# Since Gajim 1.1.0 _() has to be imported
try
:
from
gajim.common.i18n
import
_
except
ImportError
:
pass
class
AppindicatorIntegrationPlugin
(
GajimPlugin
):
...
...
banner_tweaks/manifest.ini
View file @
97c2bfbd
[info]
name:
Banner
Tweaks
short_name:
banner_tweaks
version:
0.1.
3
version:
0.1.
4
description:
Allows
user
to
tweak
chat
window
banner
appearance
(eg.
make
it
compact).
authors
=
Mateusz Biliński <mateusz@bilinski.it>
homepage
=
http://trac-plugins.gajim.org/wiki/BannerTweaksPlugin
...
...
banner_tweaks/plugin.py
View file @
97c2bfbd
...
...
@@ -29,8 +29,6 @@ http://trac.gajim.org/attachment/ticket/4133/gajim-chatbanneroptions-svn10008.pa
:license: GPL
'''
import
sys
from
gi.repository
import
Gtk
from
gi.repository
import
GObject
from
gajim
import
message_control
...
...
@@ -38,9 +36,16 @@ from gajim.common import app
from
gajim.common
import
helpers
from
gajim.plugins
import
GajimPlugin
from
gajim.plugins.helpers
import
log
,
log
_calls
from
gajim.plugins.helpers
import
log_calls
from
gajim.plugins.gui
import
GajimPluginConfigDialog
# Since Gajim 1.1.0 _() has to be imported
try
:
from
gajim.common.i18n
import
_
except
ImportError
:
pass
class
BannerTweaksPlugin
(
GajimPlugin
):
@
log_calls
(
'BannerTweaksPlugin'
)
...
...
birthday_reminder/manifest.ini
View file @
97c2bfbd
[info]
name:
Birthday
reminder
short_name:
birthday_reminder
version:
1.0.
0
version:
1.0.
1
description:
Reminds
you
if
a
contact
of
yours
has
birthday
authors:
Evgeniy
Popov
<evgeniypopov@gmail.com>
Philipp
Hörist
<philipp@hoerist.com>
...
...
birthday_reminder/plugin.py
View file @
97c2bfbd
...
...
@@ -11,6 +11,12 @@ from gajim.common import configpaths
from
gajim.common
import
app
from
gajim.common
import
ged
# Since Gajim 1.1.0 _() has to be imported
try
:
from
gajim.common.i18n
import
_
except
ImportError
:
pass
log
=
logging
.
getLogger
(
'gajim.plugin_system.birthday'
)
TITLE
=
_
(
'%s has birthday today'
)
...
...
chatstate/chatstate.py
View file @
97c2bfbd
# -*- coding: utf-8 -*-
##
import
unicodedata
from
gi.repository
import
GObject
...
...
@@ -9,7 +8,12 @@ from gajim.common import ged
from
gajim.common
import
app
from
gajim.common
import
helpers
from
gajim
import
gtkgui_helpers
import
unicodedata
# Since Gajim 1.1.0 _() has to be imported
try
:
from
gajim.common.i18n
import
_
except
ImportError
:
pass
def
paragraph_direction_mark
(
text
):
"""
...
...
chatstate/manifest.ini
View file @
97c2bfbd
[info]
name:
Chatstate
in
roster
short_name:
chatstate
version:
0.5.
5
version:
0.5.
6
description:
Chat
State
Notifications
in
roster.
Font
color
of
the
contact
varies
depending
on
the
chat
state.
The
plugin
does
not
work
if
you
use
custom
font
color
for
contacts
in
roster.
...
...
clickable_nicknames/clickable_nicknames.py
View file @
97c2bfbd
# -*- coding: utf-8 -*-
from
gi.repository
import
Gtk
from
gi.repository
import
Gdk
...
...
@@ -7,6 +5,12 @@ from gajim.common import app
from
gajim.plugins
import
GajimPlugin
from
gajim.plugins.helpers
import
log_calls
# Since Gajim 1.1.0 _() has to be imported
try
:
from
gajim.common.i18n
import
_
except
ImportError
:
pass
class
ClickableNicknames
(
GajimPlugin
):
...
...
clickable_nicknames/manifest.ini
View file @
97c2bfbd
[info]
name:
Clickable
Nicknames
short_name:
clickable_nicknames
version:
0.
6
version:
0.
7
description:
Clickable
nicknames
in
the
conversation
textview.
authors:
Andrey
Musikhin
<melomansegfault@gmail.com>
Denis
Fomin
<fominde@gmail.com>
homepage:
http://trac-plugins.gajim.org/wiki/ClickableNicknamesPlugin
min_gajim_version:
0.16.11
min_gajim_version:
1.0.0
clients_icons/clients_icons.py
View file @
97c2bfbd
# -*- coding: utf-8 -*-
##
import
os
import
logging
from
gi.repository
import
Gtk
from
gi.repository
import
GdkPixbuf
import
os
import
logging
from
clients_icons.clients
import
CLIENTS
,
LIBPURPLE_CLIENTS
...
...
@@ -15,6 +13,12 @@ from gajim.common import ged
from
gajim.common
import
app
from
gajim.common
import
caps_cache
# Since Gajim 1.1.0 _() has to be imported
try
:
from
gajim.common.i18n
import
_
except
ImportError
:
pass
log
=
logging
.
getLogger
(
'gajim.plugin_system.clients_icons'
)
...
...
clients_icons/manifest.ini
View file @
97c2bfbd
[info]
name:
Clients
icons
short_name:
clients_icons
version:
7.
2
version:
7.
3
description:
Shows
client
icons
in
roster
and
in
groupchats.
authors:
Denis
Fomin
<fominde@gmail.com>
Artem
Klyop
<art.klyop@gmail.com>
Thilo
Molitor
<thilo@eightysoft.de>
homepage:
https://dev.gajim.org/gajim/gajim-plugins/wikis/ClientsIconsPlugin
min_gajim_version:
0.16.11
min_gajim_version:
1.0.0
flashing_keyboard/flashing_keyboard.py
View file @
97c2bfbd
# -*- coding: utf-8 -*-
import
subprocess
from
gi.repository
import
Gtk
from
gi.repository
import
GObject
import
subprocess
from
gajim.common
import
app
from
gajim.plugins
import
GajimPlugin
from
gajim.plugins.helpers
import
log_calls
,
log
from
gajim.plugins.helpers
import
log_calls
from
gajim.plugins.gui
import
GajimPluginConfigDialog
# Since Gajim 1.1.0 _() has to be imported
try
:
from
gajim.common.i18n
import
_
except
ImportError
:
pass
class
FlashingKeyboard
(
GajimPlugin
):
@
log_calls
(
'FlashingKeyboard'
)
...
...
flashing_keyboard/manifest.ini
View file @
97c2bfbd
[info]
name:
Flashing
Keyboard
short_name:
flashing_keyboard
version:
0.
4
version:
0.
5
description:
Flashing
keyboard
led
when
there
are
unread
messages.
authors:
Denis
Fomin
<fominde@gmail.com>
homepage:
https://dev.gajim.org/gajim/gajim-plugins/wikis/flashingkeyboardplugin
min_gajim_version:
0.16.11
min_gajim_version:
1.0.0
gui_for_me/gui_for_me.py
View file @
97c2bfbd
# -*- coding: utf-8 -*-
from
gi.repository
import
Gtk
from
gi.repository
import
GdkPixbuf
from
gajim.common
import
app
from
gajim.plugins
import
GajimPlugin
from
gajim.plugins.helpers
import
log_calls
from
gajim
import
gtkgui_helpers
# Since Gajim 1.1.0 _() has to be imported
try
:
from
gajim.common.i18n
import
_
except
ImportError
:
pass
class
GuiForMe
(
GajimPlugin
):
...
...
gui_for_me/manifest.ini
View file @
97c2bfbd
[info]
name:
GUI
For
Me
short_name:
gui_for_me
version:
0.
4
version:
0.
5
description:
Adds
a
button
for
the
'/me'
command.
authors:
BomberMan
copper
Denis
Fomin
<fominde@gmail.com>
homepage:
http://trac-plugins.gajim.org/wiki/GUIForMePlugin
min_gajim_version:
0.16.11
min_gajim_version:
1.0.0
hamster/hamster.py
View file @
97c2bfbd
# -*- coding: utf-8 -*-
import
os
import
dbus
import
datetime
as
dt
from
gi.repository
import
GObject
import
os
from
gajim.common
import
app
from
gajim.common
import
ged
from
gajim.common
import
dbus_support
from
gajim.plugins
import
GajimPlugin
from
gajim.plugins.helpers
import
log_calls
,
log
from
gajim.plugins.helpers
import
log_calls
from
gajim.common.pep
import
ACTIVITIES
# Since Gajim 1.1.0 _() has to be imported
try
:
from
gajim.common.i18n
import
_
except
ImportError
:
pass
HAMSTAER_INTERFACE
=
'org.gnome.Hamster'
SUBACTIVITIES
=
[]
subactivity_
=
[
list
(
ACTIVITIES
[
x
].
keys
())
for
x
in
list
(
ACTIVITIES
.
keys
())]
...
...
hamster/manifest.ini
View file @
97c2bfbd
[info]
name:
Hamster
integration
short_name:
hamster_integration
version:
0.1.
4
version:
0.1.
5
description:
Integration
with
project
hamster
see
https://trac.gajim.org/ticket/6993
and
http://projecthamster.wordpress.com/about/
authors:
Denis
Fomin
<fominde@gmail.com>
homepage:
http://trac-plugins.gajim.org/wiki/
min_gajim_version:
0.16.11
min_gajim_version:
1.0.0
image/image.py
View file @
97c2bfbd
...
...
@@ -10,6 +10,12 @@ from gajim.plugins import GajimPlugin
from
gajim.plugins.helpers
import
log_calls
from
gajim.dialogs
import
ErrorDialog
# Since Gajim 1.1.0 _() has to be imported
try
:
from
gajim.common.i18n
import
_
except
ImportError
:
pass
try
:
from
gajim.gtk.filechoosers
import
FileChooserDialog
NEW_FILECHOOSER
=
True
...
...
image/manifest.ini
View file @
97c2bfbd
[info]
name:
Image
short_name:
image
version:
1.
0
version:
1.
1
description:
This
plugin
is
designed
to
send
a
small(0
-
40
kb)
graphic
image
to
your
contact.
Client
on
the
other
side
must
support
XEP-0071:
XHTML-IM
and
maintain
the
scheme
data:
URI.
Psi+
and
Jabbim
supported
this.
...
...
juick/manifest.ini
View file @
97c2bfbd
[info]
name:
Juick
short_name:
Juick
version:
0.9.
8
version:
0.9.
9
description:
Clickable
Juick
links
,
Juick
nicks,
preview
Juick
picturs.
The
key
combination
alt
+
up
in
the
textbox
allow
insert
the
number
of
last
message
(comment
or
topic).
authors:
Denis
Fomin
<fominde@gmail.com>
evgen
<drujebober@gmail.com>
homepage:
http://trac-plugins.gajim.org/wiki/JuickPlugin
min_gajim_version:
0.16.11
min_gajim_version:
1.0.0
juick/plugin.py
View file @
97c2bfbd
# -*- coding: utf-8 -*-
import
re
import
os
import
time
import
sqlite3
import
nbxmpp
from
gi.repository
import
Pango
from
gi.repository
import
Gtk
from
gi.repository
import
GdkPixbuf
from
gi.repository
import
Gdk
import
re
import
os
import
time
import
locale
import
sqlite3
from
gajim.common
import
helpers
from
gajim.common
import
app
from
gajim.common
import
configpaths
from
gajim.plugins
import
GajimPlugin
from
gajim.plugins.helpers
import
log_calls
,
log
from
gajim.plugins.helpers
import
log_calls
from
gajim.plugins.gui
import
GajimPluginConfigDialog
from
gajim.conversation_textview
import
TextViewImage
from
gajim
import
gtkgui_helpers
import
nbxmpp
# Since Gajim 1.1.0 _() has to be imported
try
:
from
gajim.common.i18n
import
_
except
ImportError
:
pass
class
JuickPlugin
(
GajimPlugin
):
...
...
latex/latex.py
View file @
97c2bfbd
...
...
@@ -21,22 +21,29 @@
##
from
threading
import
Thread
import
os
import
random
from
tempfile
import
mkstemp
,
mkdtemp
from
threading
import
Thread
from
subprocess
import
Popen
,
PIPE
from
gi.repository
import
Gtk
from
gi.repository
import
Gdk
from
gi.repository
import
GdkPixbuf
from
gi.repository
import
Pango
from
gi.repository
import
GObject
from
tempfile
import
mkstemp
,
mkdtemp
import
random
from
subprocess
import
Popen
,
PIPE
from
gajim.common
import
app
from
gajim.plugins
import
GajimPlugin
from
gajim.plugins.helpers
import
log
,
log_calls
from
gajim.plugins.gui
import
GajimPluginConfigDialog
# Since Gajim 1.1.0 _() has to be imported
try
:
from
gajim.common.i18n
import
_
except
ImportError
:
pass
def
latex_template
(
code
):
return
'''
\\
documentclass[12pt]{article}
...
...
latex/manifest.ini
View file @
97c2bfbd
...
...
@@ -7,3 +7,4 @@ authors: Yves Fischer <yvesf@xapek.org>
Yann
Leboulanger
<asterix@lagaule.org>
homepage:
http://trac-plugins.gajim.org/wiki/LatexPlugin
min_gajim_version:
1.0.0
max_gajim_version:
1.0.3
length_notifier/length_notifier.py
View file @
97c2bfbd
...
...
@@ -24,15 +24,20 @@ Message length notifier plugin.
:license: GPL
'''
import
sys
from
gi.repository
import
Gtk
from
gi.repository
import
Gdk
from
gajim.plugins
import
GajimPlugin
from
gajim.plugins.helpers
import
log
,
log
_calls
from
gajim.plugins.helpers
import
log_calls
from
gajim.plugins.gui
import
GajimPluginConfigDialog
# Since Gajim 1.1.0 _() has to be imported
try
:
from
gajim.common.i18n
import
_
except
ImportError
:
pass
class
LengthNotifierPlugin
(
GajimPlugin
):
@
log_calls
(
'LengthNotifierPlugin'
)
...
...
length_notifier/manifest.ini
View file @
97c2bfbd
[info]
name:
Message
Length
Notifier
short_name:
length_notifier
version:
0.
4
version:
0.
5
description:
Highlights
message
entry
field
in
chat
window
when
given
length
of
message
is
exceeded.
authors
=
Mateusz Biliński <mateusz@bilinski.it>
homepage
=
http://trac-plugins.gajim.org/wiki/LengthNotifierPlugin
min_gajim_version:
0.16.11
min_gajim_version:
1.0.0
message_box_size/manifest.ini
View file @
97c2bfbd
[info]
name:
Message
Box
Size
short_name:
message_box_size
version:
0.
4
version:
0.
5
description:
Allows
you
to
adjust
the
height
of
the
new
message
input
field.
authors:
Denis
Fomin
<fominde@gmail.com>
homepage:
http://trac-plugins.gajim.org/wiki/MessageBoxSizePlugin
min_gajim_version:
0.16.11
min_gajim_version:
1.0.0
message_box_size/msg_box_size.py
View file @
97c2bfbd
# -*- coding: utf-8 -*-
from
gi.repository
import
Gtk
from
gajim.common
import
app
from
gajim.plugins
import
GajimPlugin
from
gajim.plugins.helpers
import
log_calls
from
gajim.plugins.gui
import
GajimPluginConfigDialog
# Since Gajim 1.1.0 _() has to be imported
try
:
from
gajim.common.i18n
import
_
except
ImportError
:
pass
class
MsgBoxSizePlugin
(
GajimPlugin
):
@
log_calls
(
'MsgBoxSizePlugin'
)
...
...
now_listen/manifest.ini
View file @
97c2bfbd
[info]
name:
Now
Listen
short_name:
now-listen
version:
0.3.
2
version:
0.3.
3
description:
Copy
tune
info
of
playing
music
to
conversation
input
box
at
cursor
position
(Alt
+
N)
authors
=
Denis Fomin <fominde@gmail.com>
homepage
=
https://dev.gajim.org/gajim/gajim-plugins/wikis/NowListenPlugin
...
...
now_listen/now_listen.py
View file @
97c2bfbd
# -*- coding: utf-8 -*-
import
os
import
logging
from
gi.repository
import
Gtk
from
gi.repository
import
Gdk
import
os
import
logging
from
gajim.plugins
import
GajimPlugin
from
gajim.plugins.helpers
import
log_calls
...
...
@@ -11,6 +10,12 @@ from gajim.plugins.gui import GajimPluginConfigDialog
from
gajim.music_track_listener
import
MusicTrackListener
# Since Gajim 1.1.0 _() has to be imported
try
:
from
gajim.common.i18n
import
_
except
ImportError
:
pass
log
=
logging
.
getLogger
(
'gajim.plugin_system.now_listen'
)
...
...
omemo/ui.py
View file @
97c2bfbd
...
...
@@ -43,6 +43,11 @@ from gajim.common import configpaths
from
gajim.dialogs
import
YesNoDialog
from
gajim.plugins.gui
import
GajimPluginConfigDialog
# Since Gajim 1.1.0 _() has to be imported
try
:
from
gajim.common.i18n
import
_
except
ImportError
:
pass
@
unique
class
State
(
IntEnum
):
...
...
plugin_installer/manifest.ini
View file @
97c2bfbd
[info]
name:
Plugin
Installer
short_name:
plugin_installer
version:
0.20.
4
version:
0.20.
5
description:
Install
and
upgrade
plugins
from
ftp
authors:
Denis
Fomin
<fominde@gmail.com>
Yann
Leboulanger
<asterix@lagaule.org>
Thilo
Molitor
<thilo@eightysoft.de>
Philipp
Hörist
<philipp@hoerist.com>
homepage:
https://dev.gajim.org/gajim/gajim-plugins/wikis/PluginInstallerPlugin
min_gajim_version:
0.16.1
0
min_gajim_version:
1.0.
0
plugin_installer/plugin_installer.py
View file @
97c2bfbd
...
...
@@ -55,6 +55,12 @@ except ImportError:
from
gajim.dialogs
import
WarningDialog
,
HigDialog
,
YesNoDialog
from
gajim.gtkgui_helpers
import
get_action
# Since Gajim 1.1.0 _() has to be imported
try
:
from
gajim.common.i18n
import
_
except
ImportError
:
pass
log
=
logging
.
getLogger
(
'gajim.plugin_system.plugin_installer'
)
PLUGINS_URL
=
'https://ftp.gajim.org/plugins_1/'
...
...
quick_replies/manifest.ini
View file @
97c2bfbd
[info]
name:
Quick
replies
short_name:
quick_replies
version:
0.0.4
version:
1.0.0
description:
Plugin
for
quick
insert
template
message
and
add
your
own
template
messages
authors
=
Evgeniy Popov <evgeniypopov@gmail.com>
homepage
=
https://dev.gajim.org/gajim/gajim-plugins/wikis/QuickRepliesPlugin
min_gajim_version:
0.16.11
min_gajim_version:
1.0.0
quick_replies/plugin.py
View file @
97c2bfbd
from
gi.repository
import
Gtk
from
gi.repository
import
GdkPixbuf
from
gajim
import
gtkgui_helpers
from
gajim.common
import
app
from
gajim.plugins
import
GajimPlugin
from
gajim.plugins.gui
import
GajimPluginConfigDialog
from
gajim.plugins.helpers
import
log_calls
# Since Gajim 1.1.0 _() has to be imported
try
:
from
gajim.common.i18n
import
_
except
ImportError
: