[kupfer: 14/27] obj.special: extract plugin_id from file name
- From: Ulrik Sverdrup <usverdrup src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [kupfer: 14/27] obj.special: extract plugin_id from file name
- Date: Tue, 16 Feb 2010 20:48:18 +0000 (UTC)
commit d304b33694cfb30b86444a6cbaece21647d7d7e0
Author: Karol BÄ?dkowski <karol bedkowski gmail com>
Date: Mon Feb 15 18:49:56 2010 +0100
obj.special: extract plugin_id from file name
kupfer/obj/special.py | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/kupfer/obj/special.py b/kupfer/obj/special.py
index 04d13c7..334b87e 100644
--- a/kupfer/obj/special.py
+++ b/kupfer/obj/special.py
@@ -11,6 +11,7 @@ class PleaseConfigureLeaf(RunnableLeaf):
description = _("Plugin %s is not configured")
def __init__(self, plugin_id, plugin_name):
+ plugin_id = plugin_id.split('.')[-1]
RunnableLeaf.__init__(self, plugin_id, self.message)
self.plugin_name = plugin_name
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]