void SimpleUI::onBookmarkManagerButtonClicked(const std::string&)
{
BROWSER_LOGD("[%s]", __func__);
+ if(m_mainUI) { // TODO: remove this section when naviframes will be available
+ m_mainUI->clearBookmarkGengrid();
+ }
+
+ if(m_moreMenuUI) { // TODO: remove this section when naviframes will be available
+ m_moreMenuUI->clearItems();
+ }
+
showBookmarkManagerMenu();
}
{
BROWSER_LOGD("[%s:%d] ", __PRETTY_FUNCTION__, __LINE__);
m_bookmarkManagerUI.reset();
+
+ if(m_moreMenuUI) {
+ m_moreMenuUI.reset();
+ showMoreMenu();
+ }
+
+ if(m_mainUI) {
+ m_mainUI->addBookmarkItems(getBookmarks());
+ m_mainUI->showBookmarks();
+ }
}
void SimpleUI::openLinkFromPopup(const std::string &uri)