mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 17:15:28 +00:00
update actions
This commit is contained in:
parent
5065dd23d6
commit
d63ba8f1ad
11 changed files with 97 additions and 127 deletions
|
|
@ -15,23 +15,6 @@ Page::Page(
|
|||
Gtk::Orientation::VERTICAL
|
||||
);
|
||||
|
||||
// Init actions group
|
||||
auto GioSimpleActionGroup = Gio::SimpleActionGroup::create();
|
||||
|
||||
// Define group actions
|
||||
GioSimpleActionGroup->add_action(
|
||||
"update",
|
||||
[this]
|
||||
{
|
||||
Page::update();
|
||||
}
|
||||
);
|
||||
|
||||
insert_action_group(
|
||||
"page",
|
||||
GioSimpleActionGroup
|
||||
);
|
||||
|
||||
// Init components
|
||||
pageNavigation = Gtk::make_managed<page::Navigation>(
|
||||
REQUEST
|
||||
|
|
|
|||
|
|
@ -4,7 +4,6 @@
|
|||
#include <giomm/asyncresult.h>
|
||||
#include <giomm/inputstream.h>
|
||||
#include <giomm/outputstream.h>
|
||||
#include <giomm/simpleactiongroup.h>
|
||||
#include <giomm/socketclient.h>
|
||||
#include <giomm/socketconnection.h>
|
||||
#include <glibmm/i18n.h>
|
||||
|
|
|
|||
|
|
@ -42,7 +42,7 @@ Request::Request(
|
|||
parse();
|
||||
|
||||
activate_action(
|
||||
"page.update"
|
||||
"win.main_tab_page_navigation_update"
|
||||
);
|
||||
}
|
||||
);
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ using namespace app::browser::main::tab::page::navigation;
|
|||
Update::Update()
|
||||
{
|
||||
set_action_name(
|
||||
"page.update"
|
||||
"win.main_tab_page_navigation_update"
|
||||
);
|
||||
|
||||
set_icon_name(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue