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
Jens Korte
gajim-plugins
Commits
e47dac26
Commit
e47dac26
authored
May 19, 2018
by
Philipp Hörist
Browse files
[indicator] Switch to AyatanaAppIndicator3
parent
483ba808
Changes
1
Hide whitespace changes
Inline
Side-by-side
appindicator_integration/plugin.py
View file @
e47dac26
...
...
@@ -8,27 +8,22 @@ Rewriten from Ubuntu Ayatana Integration plugin
:license: GPLv3
"""
import
os
import
time
import
gi
from
gi.repository
import
Gtk
,
GLib
,
Gdk
try
:
gi
.
require_version
(
'AppIndicator3'
,
'0.1'
)
from
gi.repository
import
AppIndicator3
as
appindicator
gi
.
require_version
(
'
Ayatana
AppIndicator3'
,
'0.1'
)
from
gi.repository
import
Ayatana
AppIndicator3
as
appindicator
ERRORMSG
=
None
except
(
ValueError
,
ImportError
):
ERRORMSG
=
_
(
'Please install libappindicator3'
)
# Gajim
from
gajim.common
import
app
,
ged
from
gajim.common
import
configpaths
from
gajim.plugins
import
GajimPlugin
from
gajim.plugins.gajimplugin
import
GajimPluginException
from
gajim.plugins.helpers
import
log_calls
from
gajim
import
gtkgui_helpers
class
AppindicatorIntegrationPlugin
(
GajimPlugin
):
...
...
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