mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 00:55:28 +00:00
implement tab close action
This commit is contained in:
parent
dca780ca89
commit
daa5edcead
4 changed files with 22 additions and 0 deletions
|
|
@ -41,6 +41,14 @@ Browser::Browser(
|
|||
)
|
||||
);
|
||||
|
||||
add_action(
|
||||
"tab_close",
|
||||
sigc::mem_fun(
|
||||
* this,
|
||||
& Browser::main_tab_close
|
||||
)
|
||||
);
|
||||
|
||||
add_action(
|
||||
"debug",
|
||||
sigc::mem_fun(
|
||||
|
|
@ -66,6 +74,11 @@ void Browser::main_tab_append()
|
|||
main->tab_append();
|
||||
};
|
||||
|
||||
void Browser::main_tab_close()
|
||||
{
|
||||
main->tab_close();
|
||||
};
|
||||
|
||||
void Browser::debug()
|
||||
{
|
||||
gtk_window_set_interactive_debugging(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue