mirror of
https://github.com/YGGverse/Yoda.git
synced 2025-03-12 13:41:34 +00:00
rename subtitle to description
This commit is contained in:
parent
c74e9a81f0
commit
2208e5df25
@ -17,7 +17,7 @@ Browser::Browser(
|
|||||||
|
|
||||||
browserHeader->refresh(
|
browserHeader->refresh(
|
||||||
browserMain->get_current_tab_page_title(),
|
browserMain->get_current_tab_page_title(),
|
||||||
browserMain->get_current_tab_page_subtitle()
|
browserMain->get_current_tab_page_description()
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
@ -113,9 +113,9 @@ Glib::ustring Main::get_current_tab_page_title()
|
|||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
Glib::ustring Main::get_current_tab_page_subtitle()
|
Glib::ustring Main::get_current_tab_page_description()
|
||||||
{
|
{
|
||||||
return mainTab->get_page_subtitle(
|
return mainTab->get_page_description(
|
||||||
mainTab->get_current_page()
|
mainTab->get_current_page()
|
||||||
);
|
);
|
||||||
};
|
};
|
@ -55,7 +55,7 @@ namespace app::browser
|
|||||||
|
|
||||||
// Getters
|
// Getters
|
||||||
Glib::ustring get_current_tab_page_title();
|
Glib::ustring get_current_tab_page_title();
|
||||||
Glib::ustring get_current_tab_page_subtitle();
|
Glib::ustring get_current_tab_page_description();
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -187,7 +187,7 @@ void Tab::refresh(
|
|||||||
TAB_PAGE->refresh(
|
TAB_PAGE->refresh(
|
||||||
tab::Page::MIME::UNDEFINED,
|
tab::Page::MIME::UNDEFINED,
|
||||||
TAB_PAGE->get_title(),
|
TAB_PAGE->get_title(),
|
||||||
TAB_PAGE->get_subtitle(),
|
TAB_PAGE->get_description(),
|
||||||
0 // @TODO
|
0 // @TODO
|
||||||
);
|
);
|
||||||
|
|
||||||
@ -293,12 +293,12 @@ Glib::ustring Tab::get_page_title(
|
|||||||
)->get_title();
|
)->get_title();
|
||||||
};
|
};
|
||||||
|
|
||||||
Glib::ustring Tab::get_page_subtitle(
|
Glib::ustring Tab::get_page_description(
|
||||||
const int & PAGE_NUMBER
|
const int & PAGE_NUMBER
|
||||||
) {
|
) {
|
||||||
return get_tabPage(
|
return get_tabPage(
|
||||||
PAGE_NUMBER
|
PAGE_NUMBER
|
||||||
)->get_subtitle();
|
)->get_description();
|
||||||
};
|
};
|
||||||
|
|
||||||
// Private helpers
|
// Private helpers
|
||||||
|
@ -103,7 +103,7 @@ namespace app::browser::main
|
|||||||
const int & PAGE_NUMBER
|
const int & PAGE_NUMBER
|
||||||
);
|
);
|
||||||
|
|
||||||
Glib::ustring get_page_subtitle(
|
Glib::ustring get_page_description(
|
||||||
const int & PAGE_NUMBER
|
const int & PAGE_NUMBER
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
@ -45,11 +45,11 @@ Page::Page(
|
|||||||
void Page::refresh(
|
void Page::refresh(
|
||||||
const MIME & MIME,
|
const MIME & MIME,
|
||||||
const Glib::ustring & TITLE,
|
const Glib::ustring & TITLE,
|
||||||
const Glib::ustring & SUBTITLE,
|
const Glib::ustring & DESCRIPTION,
|
||||||
const double & PROGRESS_FRACTION
|
const double & PROGRESS_FRACTION
|
||||||
) {
|
) {
|
||||||
title = TITLE; // @TODO copy
|
title = TITLE; // @TODO copy
|
||||||
subtitle = SUBTITLE;
|
description = DESCRIPTION;
|
||||||
|
|
||||||
pageNavigation->refresh(
|
pageNavigation->refresh(
|
||||||
PROGRESS_FRACTION
|
PROGRESS_FRACTION
|
||||||
@ -201,7 +201,7 @@ void Page::navigation_update(
|
|||||||
);
|
);
|
||||||
|
|
||||||
pageContent->set_text_plain( // @TODO
|
pageContent->set_text_plain( // @TODO
|
||||||
subtitle
|
description
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -219,7 +219,7 @@ void Page::navigation_update(
|
|||||||
);
|
);
|
||||||
|
|
||||||
pageContent->set_text_plain( // @TODO
|
pageContent->set_text_plain( // @TODO
|
||||||
subtitle
|
description
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -302,9 +302,9 @@ Glib::ustring Page::get_title()
|
|||||||
return title;
|
return title;
|
||||||
}
|
}
|
||||||
|
|
||||||
Glib::ustring Page::get_subtitle()
|
Glib::ustring Page::get_description()
|
||||||
{
|
{
|
||||||
return subtitle;
|
return description;
|
||||||
}
|
}
|
||||||
|
|
||||||
Glib::ustring Page::get_navigation_request_text()
|
Glib::ustring Page::get_navigation_request_text()
|
||||||
|
@ -38,7 +38,7 @@ namespace app::browser::main::tab
|
|||||||
|
|
||||||
MIME mime;
|
MIME mime;
|
||||||
Glib::ustring title;
|
Glib::ustring title;
|
||||||
Glib::ustring subtitle;
|
Glib::ustring description;
|
||||||
|
|
||||||
// Socket
|
// Socket
|
||||||
char buffer[0xfffff]; // 1Mb
|
char buffer[0xfffff]; // 1Mb
|
||||||
@ -63,7 +63,7 @@ namespace app::browser::main::tab
|
|||||||
void refresh(
|
void refresh(
|
||||||
const MIME & MIME,
|
const MIME & MIME,
|
||||||
const Glib::ustring & TITLE,
|
const Glib::ustring & TITLE,
|
||||||
const Glib::ustring & SUBTITLE,
|
const Glib::ustring & DESCRIPTION,
|
||||||
const double & PROGRESS_FRACTION
|
const double & PROGRESS_FRACTION
|
||||||
);
|
);
|
||||||
|
|
||||||
@ -75,9 +75,9 @@ namespace app::browser::main::tab
|
|||||||
void navigation_history_forward();
|
void navigation_history_forward();
|
||||||
|
|
||||||
// Getters
|
// Getters
|
||||||
Page::MIME get_mime();
|
MIME get_mime();
|
||||||
Glib::ustring get_title();
|
Glib::ustring get_title();
|
||||||
Glib::ustring get_subtitle();
|
Glib::ustring get_description();
|
||||||
|
|
||||||
Glib::ustring get_navigation_request_text();
|
Glib::ustring get_navigation_request_text();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user