mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 00:55:28 +00:00
save tab session to profile database on application quit
This commit is contained in:
parent
dfcc131ce2
commit
881e1b78d6
7 changed files with 92 additions and 15 deletions
|
|
@ -18,6 +18,9 @@ namespace app::browser::main
|
|||
|
||||
class Tab : public Gtk::Notebook
|
||||
{
|
||||
// Database
|
||||
sqlite3 * db;
|
||||
|
||||
// Actions
|
||||
Glib::RefPtr<Gio::SimpleAction> action__refresh,
|
||||
action__tab_close_active,
|
||||
|
|
@ -81,6 +84,8 @@ namespace app::browser::main
|
|||
const int & PAGE_NUMBER
|
||||
);
|
||||
|
||||
void shutdown();
|
||||
|
||||
// Getters
|
||||
Glib::ustring get_page_title(
|
||||
const int & PAGE_NUMBER
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue