Skip to content

Commit db8b3e1

Browse files
committed
panel menu: Add separator between menu scrollbox and logout button
1 parent 668863a commit db8b3e1

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

src/panel/widgets/menu.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -336,6 +336,7 @@ void WayfireMenu::init(Gtk::HBox *container)
336336
logout_button.set_margin_right(35);
337337
hbox_bottom.pack_end(logout_button, false, false);
338338
popover_layout_box.pack_end(hbox_bottom);
339+
popover_layout_box.pack_end(separator);
339340

340341
load_menu_items_all();
341342
update_popover_layout();

src/panel/widgets/menu.hpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
#include <gtkmm/image.h>
99
#include <gtkmm/flowbox.h>
1010
#include <gtkmm/scrolledwindow.h>
11+
#include <gtkmm/separator.h>
1112
#include <set>
1213

1314
class WayfireMenu;
@@ -40,6 +41,7 @@ class WayfireMenu : public WayfireWidget
4041
Gtk::HBox hbox, hbox_bottom;
4142
Gtk::VBox bottom_pad;
4243
Gtk::VBox popover_layout_box;
44+
Gtk::Separator separator;
4345
Gtk::Image main_image;
4446
Gtk::Entry search_box;
4547
Gtk::FlowBox flowbox;

0 commit comments

Comments
 (0)