[seahorse/wip/sadiq/rm-deprecate] key-manager: Replace GtkAlignment with GtkBox



commit 0c8d69a6501a5df9af6fa6379c0a47279a01b4e9
Author: Mohammed Sadiq <sadiq sadiqpk org>
Date:   Wed Sep 5 17:29:07 2018 +0530

    key-manager: Replace GtkAlignment with GtkBox
    
    GtkAlignment is deprecated

 src/key-manager.vala        | 1 +
 src/seahorse-key-manager.ui | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/src/key-manager.vala b/src/key-manager.vala
index 2164cc17..ae56ec76 100644
--- a/src/key-manager.vala
+++ b/src/key-manager.vala
@@ -371,6 +371,7 @@ public class Seahorse.KeyManager : Catalog {
 
     private Gcr.Collection setup_sidebar() {
         this.sidebar = new Sidebar();
+        sidebar.hexpand = true;
 
         this.sidebar_width = this.settings.get_int("sidebar-width");
         Gtk.Builder builder = get_builder();
diff --git a/src/seahorse-key-manager.ui b/src/seahorse-key-manager.ui
index f2f4e358..c5c4ecb9 100644
--- a/src/seahorse-key-manager.ui
+++ b/src/seahorse-key-manager.ui
@@ -25,7 +25,7 @@
             <property name="visible">True</property>
             <property name="can_focus">True</property>
             <child>
-              <object class="GtkAlignment" id="sidebar-area">
+              <object class="GtkBox" id="sidebar-area">
                 <property name="visible">True</property>
                 <property name="can_focus">False</property>
                 <child>


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