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
59
Issues
59
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
a6654c49
Commit
a6654c49
authored
Apr 25, 2018
by
Philipp Hörist
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[indicator] Use configpaths api for getting path
parent
25269559
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
appindicator_integration/plugin.py
appindicator_integration/plugin.py
+2
-1
No files found.
appindicator_integration/plugin.py
View file @
a6654c49
...
...
@@ -24,6 +24,7 @@ except (ValueError, ImportError):
# 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
...
...
@@ -80,7 +81,7 @@ class AppindicatorIntegrationPlugin(GajimPlugin):
self
.
indicator
=
appindicator
.
Indicator
.
new
(
'Gajim'
,
self
.
offline_icon
,
appindicator
.
IndicatorCategory
.
COMMUNICATIONS
)
self
.
indicator
.
set_icon_theme_path
(
app
.
ICONS_DIR
)
self
.
indicator
.
set_icon_theme_path
(
configpaths
.
get
(
'ICONS'
)
)
self
.
indicator
.
set_attention_icon
(
'mail-unread'
)
self
.
indicator
.
set_status
(
appindicator
.
IndicatorStatus
.
ACTIVE
)
self
.
indicator
.
set_menu
(
self
.
menu
)
...
...
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