Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIgnacio Rodríguez <ignacio@sugarlabs.org>2012-12-31 01:59:14 (GMT)
committer Ignacio Rodríguez <ignacio@sugarlabs.org>2012-12-31 01:59:14 (GMT)
commit667b4d7bf9a997e6297f703928a189373ce603f1 (patch)
treec1edef5c9496c18fed10a7b0b9a9475b3aa08eaa
parentd076e2a425e956a03fc836444dcb8b7f092f7e3b (diff)
Removed importation of modules unusedHEADmaster
-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)