[shotwell] Chain-up Properties



commit d71e1c94f66c5bc63e9872c66b1b022278dcdf68
Author: Jens Georg <mail jensge org>
Date:   Sat Feb 23 19:25:42 2019 +0100

    Chain-up Properties

 src/Properties.vala | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/src/Properties.vala b/src/Properties.vala
index 7c2083d9..4a01cc95 100644
--- a/src/Properties.vala
+++ b/src/Properties.vala
@@ -9,10 +9,10 @@ private abstract class Properties : Gtk.Box {
     protected uint line_count = 0;
 
     public Properties() {
+        Object(orientation: Gtk.Orientation.VERTICAL, homogeneous : false);
+
         grid.row_spacing = 6;
         grid.column_spacing = 12;
-        set_homogeneous(false);
-        set_orientation(Gtk.Orientation.VERTICAL);
         pack_start(grid, false, false, 0);
     }
 
@@ -178,8 +178,10 @@ private class BasicProperties : Properties {
     private MapWidget map_widget;
 
     public BasicProperties() {
+        base();
+
         map_widget = MapWidget.get_instance();
-        pack_start(map_widget, true, true, 0);
+        pack_end(map_widget, true, true, 0);
     }
 
     protected override void clear_properties() {


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