mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-02 01:25:27 +00:00
add update action support, remove request value from construction
This commit is contained in:
parent
fac8c14cbd
commit
55f1680f8b
9 changed files with 14 additions and 26 deletions
|
|
@ -1,8 +1,10 @@
|
|||
#ifndef APP_BROWSER_MAIN_TAB_PAGE_NAVIGATION_REQUEST_HPP
|
||||
#define APP_BROWSER_MAIN_TAB_PAGE_NAVIGATION_REQUEST_HPP
|
||||
|
||||
#include <giomm/simpleaction.h>
|
||||
#include <glibmm/i18n.h>
|
||||
#include <glibmm/main.h>
|
||||
#include <glibmm/refptr.h>
|
||||
#include <glibmm/regex.h>
|
||||
#include <glibmm/ustring.h>
|
||||
#include <gtkmm/entry.h>
|
||||
|
|
@ -11,6 +13,9 @@ namespace app::browser::main::tab::page::navigation
|
|||
{
|
||||
class Request : public Gtk::Entry
|
||||
{
|
||||
// Actions
|
||||
Glib::RefPtr<Gio::SimpleAction> action__update;
|
||||
|
||||
// Extras
|
||||
double progress_fraction;
|
||||
|
||||
|
|
@ -31,7 +36,7 @@ namespace app::browser::main::tab::page::navigation
|
|||
public:
|
||||
|
||||
Request(
|
||||
const Glib::ustring & VALUE = "" // @TODO remove default value
|
||||
const Glib::RefPtr<Gio::SimpleAction> & ACTION__UPDATE
|
||||
);
|
||||
|
||||
// Actions
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue