mirror of
https://github.com/YGGverse/Yoda.git
synced 2025-01-30 21:14:14 +00:00
draft refresh method
This commit is contained in:
parent
24ffe358c4
commit
8d74798edd
@ -107,6 +107,9 @@ void Navbar::refresh()
|
|||||||
navbarUpdate->set_sensitive(
|
navbarUpdate->set_sensitive(
|
||||||
navbarRequest->get_text_length() > 0
|
navbarRequest->get_text_length() > 0
|
||||||
);
|
);
|
||||||
|
|
||||||
|
// Refresh history widget
|
||||||
|
navbarHistory->refresh();
|
||||||
}
|
}
|
||||||
|
|
||||||
// Setters
|
// Setters
|
||||||
|
@ -28,3 +28,14 @@ History::~History()
|
|||||||
delete back;
|
delete back;
|
||||||
delete forward;
|
delete forward;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
void History::refresh()
|
||||||
|
{
|
||||||
|
back->set_sensitive(
|
||||||
|
false // @TODO
|
||||||
|
);
|
||||||
|
|
||||||
|
forward->set_sensitive(
|
||||||
|
false // @TODO
|
||||||
|
);
|
||||||
|
}
|
@ -29,6 +29,8 @@ namespace app::browser::main::tab::page::navbar
|
|||||||
History();
|
History();
|
||||||
|
|
||||||
~History();
|
~History();
|
||||||
|
|
||||||
|
void refresh();
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user