[pygobject] Revert "Override Gtk.CellLayout.pack_start and pack_end to add default values to be compliant with p
- From: Sebastian Polsterl <sebp src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pygobject] Revert "Override Gtk.CellLayout.pack_start and pack_end to add default values to be compliant with p
- Date: Mon, 17 Jan 2011 18:10:18 +0000 (UTC)
commit 4fbae9629adc166627de05bb0946b71485343d69
Author: Sebastian Pölsterl <sebp k-d-w org>
Date: Mon Jan 17 19:08:23 2011 +0100
Revert "Override Gtk.CellLayout.pack_start and pack_end to add default values to be compliant with pygtk"
This reverts commit 232841148f35684be83a2f47b5b18da4fb74f63a.
gi/overrides/Gtk.py | 13 ++-----------
1 files changed, 2 insertions(+), 11 deletions(-)
---
diff --git a/gi/overrides/Gtk.py b/gi/overrides/Gtk.py
index 0b2a6f5..0e7d6cc 100644
--- a/gi/overrides/Gtk.py
+++ b/gi/overrides/Gtk.py
@@ -46,16 +46,6 @@ class Widget(Gtk.Widget):
Widget = override(Widget)
__all__.append('Widget')
-class CellLayout(Gtk.CellLayout):
- def pack_start(self, cell, expand=True):
- super(CellLayout, self).pack_start(cell, expand)
-
- def pack_end(self, cell, expand=True):
- super(CellLayout, self).pack_end(cell, expand)
-
-CellLayout = override(CellLayout)
-__all__.append('CellLayout')
-
class Container(Gtk.Container, Widget):
def __len__(self):
@@ -284,7 +274,7 @@ class UIManager(Gtk.UIManager):
UIManager = override(UIManager)
__all__.append('UIManager')
-class ComboBox(Gtk.ComboBox, Container, CellLayout):
+class ComboBox(Gtk.ComboBox, Container):
def get_active_iter(self):
success, aiter = super(ComboBox, self).get_active_iter()
@@ -1048,6 +1038,7 @@ class TreeViewColumn(Gtk.TreeViewColumn):
if success:
return (start_pos, width,)
+
TreeViewColumn = override(TreeViewColumn)
__all__.append('TreeViewColumn')
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]