[pygobject] [gi] fix ActionGroup constructor to allow other keyword properties to be set



commit 0cd717e3926276540b9145e58a4a3368136b00de
Author: John (J5) Palmieri <johnp redhat com>
Date:   Mon Nov 22 18:35:09 2010 -0500

    [gi] fix ActionGroup constructor to allow other keyword properties to be set

 gi/overrides/Gtk.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gi/overrides/Gtk.py b/gi/overrides/Gtk.py
index 200ef21..59f7fd9 100644
--- a/gi/overrides/Gtk.py
+++ b/gi/overrides/Gtk.py
@@ -75,8 +75,8 @@ Editable = override(Editable)
 __all__.append("Editable")
 
 class ActionGroup(Gtk.ActionGroup):
-    def __init__(self, name):
-        super(ActionGroup, self).__init__(name = name)
+    def __init__(self, name, **kwds):
+        super(ActionGroup, self).__init__(name = name, **kwds)
 
     def add_actions(self, entries, user_data=None):
         """



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