summaryrefslogtreecommitdiff
path: root/plugins/python
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2012-12-12 23:27:00 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2012-12-12 23:27:00 (GMT)
commitf89f72f53b42c704dcb5767e508747795f7115c6 (patch)
tree85be0588076f02b5546adac3424b201d68817e19 /plugins/python
parentdae8c208e24d03c7bf5314a86cb366a4e84a53c2 (diff)
Allowed classes which derive from GObject to receive arguments in their constructor.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@302 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'plugins/python')
-rw-r--r--plugins/python/androperms/androperms.py2
-rw-r--r--plugins/python/androperms/panel.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/plugins/python/androperms/androperms.py b/plugins/python/androperms/androperms.py
index a11c37d..569558a 100644
--- a/plugins/python/androperms/androperms.py
+++ b/plugins/python/androperms/androperms.py
@@ -118,5 +118,5 @@ class AndroPerms(Plugin):
self._store = gtk.TreeStore(gtk.gdk.Pixbuf, str, gtk.gdk.Pixbuf, str)
self._tree.set_model(self._store)
- pi = PanelItem(name="Permissions", lname="Permissions", widget=self._scrolled_window, path="SE")
+ pi = PanelItem('Permissions', 'Permissions', self._scrolled_window, 'SE')
pi.dock()
diff --git a/plugins/python/androperms/panel.py b/plugins/python/androperms/panel.py
index ecbd762..ea26f74 100644
--- a/plugins/python/androperms/panel.py
+++ b/plugins/python/androperms/panel.py
@@ -71,7 +71,7 @@ class PermsPanel:
for p in self._used:
- if len(self._used[p]) > 0:
+ if len(self._used[p]) > 0 or True:
img = os.path.dirname(os.path.abspath(__file__)) + '/android.png'
buf = gtk.gdk.pixbuf_new_from_file(img)