Skip to content

Commit

Permalink
pack infobars at the bottom of the window
Browse files Browse the repository at this point in the history
  • Loading branch information
danirabbit committed Jun 17, 2024
1 parent 8b7ac2f commit a334f65
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/MainWindow.vala
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ public class AppCenter.MainWindow : Gtk.ApplicationWindow {
network_info_bar.add_button (_("Network Settings…"), Gtk.ResponseType.ACCEPT);

var box = new Gtk.Box (Gtk.Orientation.VERTICAL, 0);
box.append (overlay);
box.append (network_info_bar);

if (Utils.is_running_in_demo_mode ()) {
Expand All @@ -140,8 +141,6 @@ public class AppCenter.MainWindow : Gtk.ApplicationWindow {
box.append (demo_mode_info_bar);
}

box.append (overlay);

child = box;
titlebar = new Gtk.Grid () { visible = false };

Expand Down

0 comments on commit a334f65

Please sign in to comment.