rename action methods

This commit is contained in:
yggverse 2024-09-12 05:54:59 +03:00
parent 41650a9775
commit 3760d50769
3 changed files with 6 additions and 7 deletions

View File

@ -16,8 +16,8 @@ Browser::Browser(
browserMain->update();
browserHeader->update(
browserMain->get_current_tab_page_title(),
browserMain->get_current_tab_page_description()
browserMain->get_tab_page_title(),
browserMain->get_tab_page_description()
);
}
);

View File

@ -112,14 +112,14 @@ void Main::tab_page_navigation_history_forward()
};
// Getters
Glib::ustring Main::get_current_tab_page_title()
Glib::ustring Main::get_tab_page_title()
{
return mainTab->get_page_title(
mainTab->get_current_page()
);
};
Glib::ustring Main::get_current_tab_page_description()
Glib::ustring Main::get_tab_page_description()
{
return mainTab->get_page_description(
mainTab->get_current_page()

View File

@ -50,13 +50,12 @@ namespace app::browser
void tab_close();
void tab_page_navigation_reload();
void tab_page_navigation_history_back();
void tab_page_navigation_history_forward();
// Getters
Glib::ustring get_current_tab_page_title();
Glib::ustring get_current_tab_page_description();
Glib::ustring get_tab_page_title();
Glib::ustring get_tab_page_description();
};
}