mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 17:15:28 +00:00
rename index
This commit is contained in:
parent
9b214b1469
commit
0618283d84
4 changed files with 9 additions and 11 deletions
|
|
@ -206,7 +206,7 @@ impl Menu {
|
|||
|
||||
// History
|
||||
main_history_closed.remove_all();
|
||||
for item in profile.history.memory.closed.recent(RECENTLY_CLOSED) {
|
||||
for item in profile.history.memory.tab.recent(RECENTLY_CLOSED) {
|
||||
let item_request = item.page.navigation.request.widget.entry.text(); // @TODO restore entire `Item`
|
||||
let menu_item = gio::MenuItem::new(Some(&label(&item_request, LABEL_MAX_LENGTH)), None);
|
||||
menu_item.set_action_and_target_value(Some(&format!(
|
||||
|
|
|
|||
|
|
@ -107,7 +107,7 @@ impl Tab {
|
|||
profile
|
||||
.history
|
||||
.memory
|
||||
.closed
|
||||
.tab
|
||||
.add(item, DateTime::now_local().unwrap().to_unix());
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue