[meld] preferences: Switch FilterList to non-deprecated GtkBox
- From: Kai Willadsen <kaiw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [meld] preferences: Switch FilterList to non-deprecated GtkBox
- Date: Sat, 31 Aug 2019 02:05:44 +0000 (UTC)
commit 592eafa523f4d6cdced56626b2fff4ed8dca9c76
Author: Kai Willadsen <kai willadsen gmail com>
Date: Sat Aug 31 08:44:55 2019 +1000
preferences: Switch FilterList to non-deprecated GtkBox
meld/preferences.py | 2 +-
meld/resources/ui/filter-list.ui | 5 +++--
2 files changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/meld/preferences.py b/meld/preferences.py
index 2f6aca55..14d3b1be 100644
--- a/meld/preferences.py
+++ b/meld/preferences.py
@@ -28,7 +28,7 @@ from meld.ui.listwidget import EditableListWidget
@Template(resource_path='/org/gnome/meld/ui/filter-list.ui')
-class FilterList(Gtk.VBox, EditableListWidget):
+class FilterList(Gtk.Box, EditableListWidget):
__gtype_name__ = "FilterList"
diff --git a/meld/resources/ui/filter-list.ui b/meld/resources/ui/filter-list.ui
index dc860cef..e814203d 100644
--- a/meld/resources/ui/filter-list.ui
+++ b/meld/resources/ui/filter-list.ui
@@ -13,7 +13,8 @@
<column type="gboolean"/>
</columns>
</object>
- <template class="FilterList" parent="GtkVBox">
+ <template class="FilterList" parent="GtkBox">
+ <property name="orientation">vertical</property>
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="homogeneous">False</property>
@@ -179,7 +180,7 @@
</object>
<packing>
<property name="expand">False</property>
- <property name="fill">True</property>
+ <property name="fill">False</property>
<property name="position">1</property>
</packing>
</child>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]