mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 00:55:28 +00:00
restore previous tab session on browser launch
This commit is contained in:
parent
9b13d3f270
commit
eaa4b78dbd
3 changed files with 53 additions and 3 deletions
|
|
@ -21,6 +21,16 @@ namespace app::browser::main
|
|||
// Database
|
||||
sqlite3 * db;
|
||||
|
||||
struct DB
|
||||
{
|
||||
enum APP_BROWSER_MAIN_TAB
|
||||
{
|
||||
ID,
|
||||
TIME,
|
||||
REQUEST,
|
||||
};
|
||||
};
|
||||
|
||||
// Actions
|
||||
Glib::RefPtr<Gio::SimpleAction> action__refresh,
|
||||
action__tab_close_active,
|
||||
|
|
@ -60,6 +70,7 @@ namespace app::browser::main
|
|||
);
|
||||
|
||||
void append(
|
||||
const unsigned char * REQUEST,
|
||||
const bool & FOCUS
|
||||
);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue