mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 09:05:27 +00:00
rename subtitle to description
This commit is contained in:
parent
c74e9a81f0
commit
2208e5df25
7 changed files with 18 additions and 18 deletions
|
|
@ -45,11 +45,11 @@ Page::Page(
|
|||
void Page::refresh(
|
||||
const MIME & MIME,
|
||||
const Glib::ustring & TITLE,
|
||||
const Glib::ustring & SUBTITLE,
|
||||
const Glib::ustring & DESCRIPTION,
|
||||
const double & PROGRESS_FRACTION
|
||||
) {
|
||||
title = TITLE; // @TODO copy
|
||||
subtitle = SUBTITLE;
|
||||
description = DESCRIPTION;
|
||||
|
||||
pageNavigation->refresh(
|
||||
PROGRESS_FRACTION
|
||||
|
|
@ -201,7 +201,7 @@ void Page::navigation_update(
|
|||
);
|
||||
|
||||
pageContent->set_text_plain( // @TODO
|
||||
subtitle
|
||||
description
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
@ -219,7 +219,7 @@ void Page::navigation_update(
|
|||
);
|
||||
|
||||
pageContent->set_text_plain( // @TODO
|
||||
subtitle
|
||||
description
|
||||
);
|
||||
}
|
||||
|
||||
|
|
@ -302,9 +302,9 @@ Glib::ustring Page::get_title()
|
|||
return title;
|
||||
}
|
||||
|
||||
Glib::ustring Page::get_subtitle()
|
||||
Glib::ustring Page::get_description()
|
||||
{
|
||||
return subtitle;
|
||||
return description;
|
||||
}
|
||||
|
||||
Glib::ustring Page::get_navigation_request_text()
|
||||
|
|
|
|||
|
|
@ -38,7 +38,7 @@ namespace app::browser::main::tab
|
|||
|
||||
MIME mime;
|
||||
Glib::ustring title;
|
||||
Glib::ustring subtitle;
|
||||
Glib::ustring description;
|
||||
|
||||
// Socket
|
||||
char buffer[0xfffff]; // 1Mb
|
||||
|
|
@ -63,7 +63,7 @@ namespace app::browser::main::tab
|
|||
void refresh(
|
||||
const MIME & MIME,
|
||||
const Glib::ustring & TITLE,
|
||||
const Glib::ustring & SUBTITLE,
|
||||
const Glib::ustring & DESCRIPTION,
|
||||
const double & PROGRESS_FRACTION
|
||||
);
|
||||
|
||||
|
|
@ -75,9 +75,9 @@ namespace app::browser::main::tab
|
|||
void navigation_history_forward();
|
||||
|
||||
// Getters
|
||||
Page::MIME get_mime();
|
||||
MIME get_mime();
|
||||
Glib::ustring get_title();
|
||||
Glib::ustring get_subtitle();
|
||||
Glib::ustring get_description();
|
||||
|
||||
Glib::ustring get_navigation_request_text();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue