[eog-plugins] [export-to-folder] Fix PyGObject deprecation warning



commit 2b0d90d9e73ad0c444a901e5f4220f743b7b1d50
Author: Felix Riemann <friemann gnome org>
Date:   Sat Mar 8 15:54:41 2014 +0100

    [export-to-folder] Fix PyGObject deprecation warning

 plugins/export-to-folder/export-to-folder.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plugins/export-to-folder/export-to-folder.py b/plugins/export-to-folder/export-to-folder.py
index 2be84a2..5bb7924 100644
--- a/plugins/export-to-folder/export-to-folder.py
+++ b/plugins/export-to-folder/export-to-folder.py
@@ -57,7 +57,7 @@ class ExportPlugin(GObject.Object, Eog.WindowActivatable):
     def do_activate(self):
         print('Activating export plugin')
         ui_manager = self.window.get_ui_manager()
-        self.action_group = Gtk.ActionGroup('Export')
+        self.action_group = Gtk.ActionGroup(name='Export')
         self.action_group.add_actions([('Export', None,
                         _('_Export'), "E", None, self.export_cb)], self.window)
         ui_manager.insert_action_group(self.action_group, 0)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]