[eog-plugins] export-to-folder: Remove menu entry when disabling plugin
- From: Felix Riemann <friemann src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [eog-plugins] export-to-folder: Remove menu entry when disabling plugin
- Date: Mon, 20 Aug 2012 20:28:14 +0000 (UTC)
commit 111db144d59a7ebe3f86794c0db977e0cbf21584
Author: Felix Riemann <friemann gnome org>
Date: Mon Aug 20 21:20:23 2012 +0200
export-to-folder: Remove menu entry when disabling plugin
plugins/export-to-folder/export-to-folder.py | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/plugins/export-to-folder/export-to-folder.py b/plugins/export-to-folder/export-to-folder.py
index 10fd754..1d63148 100644
--- a/plugins/export-to-folder/export-to-folder.py
+++ b/plugins/export-to-folder/export-to-folder.py
@@ -60,6 +60,7 @@ class ExportPlugin(GObject.Object, Eog.WindowActivatable):
def do_deactivate(self):
print 'Export plugin deactivated'
+ ui_manager = self.window.get_ui_manager().remove_ui(self.ui_id);
def export_cb(self, action, window):
# Get path to current image.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]