Bump release
[moonshot-ui.git] / src / moonshot-custom-vbox.vala
index 31b2a20..a912aef 100644 (file)
@@ -3,9 +3,9 @@ using Gtk;
 class CustomVBox : VBox
 {
     public IdCardWidget current_idcard { get; set; default = null; }
-    private MainWindow main_window; 
+    private IdentityManagerView main_window; 
 
-    public CustomVBox (MainWindow window, bool homogeneous, int spacing)
+    public CustomVBox (IdentityManagerView window, bool homogeneous, int spacing)
     {
         main_window = window;
         set_homogeneous (homogeneous);
@@ -24,6 +24,7 @@ class CustomVBox : VBox
         
         if (current_idcard != null && main_window.request_queue.length > 0)
             current_idcard.send_button.set_sensitive (true);
+        check_resize();
     }
 
     public void add_id_card_widget (IdCardWidget id_card_widget)