mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-03-31 16:45:27 +00:00
rename action methods
This commit is contained in:
parent
41650a9775
commit
3760d50769
3 changed files with 6 additions and 7 deletions
|
|
@ -16,8 +16,8 @@ Browser::Browser(
|
||||||
browserMain->update();
|
browserMain->update();
|
||||||
|
|
||||||
browserHeader->update(
|
browserHeader->update(
|
||||||
browserMain->get_current_tab_page_title(),
|
browserMain->get_tab_page_title(),
|
||||||
browserMain->get_current_tab_page_description()
|
browserMain->get_tab_page_description()
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
|
||||||
|
|
@ -112,14 +112,14 @@ void Main::tab_page_navigation_history_forward()
|
||||||
};
|
};
|
||||||
|
|
||||||
// Getters
|
// Getters
|
||||||
Glib::ustring Main::get_current_tab_page_title()
|
Glib::ustring Main::get_tab_page_title()
|
||||||
{
|
{
|
||||||
return mainTab->get_page_title(
|
return mainTab->get_page_title(
|
||||||
mainTab->get_current_page()
|
mainTab->get_current_page()
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
Glib::ustring Main::get_current_tab_page_description()
|
Glib::ustring Main::get_tab_page_description()
|
||||||
{
|
{
|
||||||
return mainTab->get_page_description(
|
return mainTab->get_page_description(
|
||||||
mainTab->get_current_page()
|
mainTab->get_current_page()
|
||||||
|
|
|
||||||
|
|
@ -50,13 +50,12 @@ namespace app::browser
|
||||||
void tab_close();
|
void tab_close();
|
||||||
|
|
||||||
void tab_page_navigation_reload();
|
void tab_page_navigation_reload();
|
||||||
|
|
||||||
void tab_page_navigation_history_back();
|
void tab_page_navigation_history_back();
|
||||||
void tab_page_navigation_history_forward();
|
void tab_page_navigation_history_forward();
|
||||||
|
|
||||||
// Getters
|
// Getters
|
||||||
Glib::ustring get_current_tab_page_title();
|
Glib::ustring get_tab_page_title();
|
||||||
Glib::ustring get_current_tab_page_description();
|
Glib::ustring get_tab_page_description();
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue