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
Snippets
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
Evert Mouw
gajim-plugins
Commits
9ea8b8bf
Commit
9ea8b8bf
authored
14 years ago
by
Michael Kainer
Browse files
Options
Downloads
Patches
Plain Diff
Moved key up
parent
c8da36b9
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ubuntu_integration/plugin.py
+2
-2
2 additions, 2 deletions
ubuntu_integration/plugin.py
with
2 additions
and
2 deletions
ubuntu_integration/plugin.py
+
2
−
2
View file @
9ea8b8bf
...
...
@@ -9,7 +9,7 @@ TODO:
* permanent integration into the messaging menu after quitting gajim
* show/hide gajim on root menu entry
* switch workspace on click on events
*
pictures in the menu
*
corrent group chat handling
* hide gajim if the plugin is disabled
:author: Michael Kainer <kaini@jabber.hot-chilli.net>
...
...
@@ -113,6 +113,7 @@ class UbuntuIntegrationPlugin(GajimPlugin):
jid
=
event
.
jid
when
=
time
.
time
()
contact
=
""
key
=
(
account
,
jid
)
# Check if the event is valid and modify the variables
if
event
.
type_
==
"
chat
"
or
\
...
...
@@ -138,7 +139,6 @@ class UbuntuIntegrationPlugin(GajimPlugin):
print
account
,
jid
,
when
,
contact
# Add a new indicator if necessary
key
=
(
account
,
jid
)
if
not
self
.
events
.
has_key
(
key
):
indicator
=
indicate
.
Indicator
()
indicator
.
set_property
(
"
name
"
,
contact
)
...
...
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