Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--plugin/__init__.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/plugin/__init__.py b/plugin/__init__.py
index 223bc15..83e3d62 100644
--- a/plugin/__init__.py
+++ b/plugin/__init__.py
@@ -13,14 +13,11 @@
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
-import json
import time
import logging
import subprocess
-from os.path import abspath, dirname
from gettext import gettext as _
-import dbus
from gi.repository import Gtk
from gi.repository import GObject
@@ -96,7 +93,7 @@ def start():
def activity_added_cb(model, activity):
if activity.is_journal():
shell.disconnect_by_func(activity_added_cb)
- gobject.idle_add(delayed_start)
+ GObject.idle_add(delayed_start)
shell.connect('activity-added', activity_added_cb)