mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 00:55:28 +00:00
delegate close action to the browser window
This commit is contained in:
parent
881e1b78d6
commit
3f4a5536ca
6 changed files with 23 additions and 15 deletions
|
|
@ -7,6 +7,7 @@ using namespace app::browser;
|
|||
|
||||
Header::Header(
|
||||
const Glib::RefPtr<Gio::SimpleAction> & ACTION__DEBUG,
|
||||
const Glib::RefPtr<Gio::SimpleAction> & ACTION__QUIT,
|
||||
const Glib::RefPtr<Gio::SimpleAction> & ACTION__MAIN_TAB_APPEND,
|
||||
const Glib::RefPtr<Gio::SimpleAction> & ACTION__MAIN_TAB_CLOSE_ACTIVE,
|
||||
const Glib::RefPtr<Gio::SimpleAction> & ACTION__MAIN_TAB_CLOSE_ALL,
|
||||
|
|
@ -22,6 +23,7 @@ Header::Header(
|
|||
// Init components
|
||||
headerMenu = Gtk::make_managed<header::Menu>(
|
||||
ACTION__DEBUG,
|
||||
ACTION__QUIT,
|
||||
ACTION__MAIN_TAB_APPEND,
|
||||
ACTION__MAIN_TAB_CLOSE_ACTIVE,
|
||||
ACTION__MAIN_TAB_CLOSE_ALL,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue