mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-02 09:35:28 +00:00
implement pin tab menu item
This commit is contained in:
parent
0c638026e3
commit
30a1872fa5
11 changed files with 55 additions and 0 deletions
|
|
@ -9,6 +9,7 @@ Menu::Menu(
|
|||
const Glib::RefPtr<Gio::SimpleAction> & ACTION__SESSION_RESTORE,
|
||||
const Glib::RefPtr<Gio::SimpleAction> & ACTION__SESSION_SAVE,
|
||||
const Glib::RefPtr<Gio::SimpleAction> & ACTION__TAB_APPEND,
|
||||
const Glib::RefPtr<Gio::SimpleAction> & ACTION__TAB_PIN,
|
||||
const Glib::RefPtr<Gio::SimpleAction> & ACTION__TAB_CLOSE,
|
||||
const Glib::RefPtr<Gio::SimpleAction> & ACTION__TAB_CLOSE_ALL,
|
||||
const Glib::RefPtr<Gio::SimpleAction> & ACTION__TAB_PAGE_NAVIGATION_HISTORY_BACK,
|
||||
|
|
@ -60,6 +61,13 @@ Menu::Menu(
|
|||
)
|
||||
);
|
||||
|
||||
MENU__TAB->append(
|
||||
_("Pin"),
|
||||
get_action_detailed_name(
|
||||
ACTION__TAB_PIN
|
||||
)
|
||||
);
|
||||
|
||||
const auto MENU__TAB_PAGE = Gio::Menu::create();
|
||||
|
||||
const auto MENU__TAB_PAGE_NAVIGATION = Gio::Menu::create();
|
||||
|
|
|
|||
|
|
@ -24,6 +24,7 @@ namespace app::browser::header
|
|||
const Glib::RefPtr<Gio::SimpleAction> & ACTION__SESSION_RESTORE,
|
||||
const Glib::RefPtr<Gio::SimpleAction> & ACTION__SESSION_SAVE,
|
||||
const Glib::RefPtr<Gio::SimpleAction> & ACTION__TAB_APPEND,
|
||||
const Glib::RefPtr<Gio::SimpleAction> & ACTION__TAB_PIN,
|
||||
const Glib::RefPtr<Gio::SimpleAction> & ACTION__TAB_CLOSE,
|
||||
const Glib::RefPtr<Gio::SimpleAction> & ACTION__TAB_CLOSE_ALL,
|
||||
const Glib::RefPtr<Gio::SimpleAction> & ACTION__TAB_PAGE_NAVIGATION_HISTORY_BACK,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue