diff --git a/applets/kicker/package/contents/ui/ConfigGeneral.qml b/applets/kicker/package/contents/ui/ConfigGeneral.qml --- a/applets/kicker/package/contents/ui/ConfigGeneral.qml +++ b/applets/kicker/package/contents/ui/ConfigGeneral.qml @@ -42,6 +42,7 @@ property alias cfg_appNameFormat: appNameFormat.currentIndex property alias cfg_limitDepth: limitDepth.checked property alias cfg_alphaSort: alphaSort.checked + property alias cfg_showIconsRootLevel: showIconsRootLevel.checked property alias cfg_recentOrdering: recentOrdering.currentIndex property alias cfg_showRecentApps: showRecentApps.checked @@ -183,6 +184,13 @@ text: i18n("Flatten sub-menus to a single level") } + CheckBox { + id: showIconsRootLevel + + visible: !isDash + + text: i18n("Show icons on the root level of the menu") + } Item { Kirigami.FormData.isSection: true diff --git a/applets/kicker/plugin/rootmodel.cpp b/applets/kicker/plugin/rootmodel.cpp --- a/applets/kicker/plugin/rootmodel.cpp +++ b/applets/kicker/plugin/rootmodel.cpp @@ -379,7 +379,7 @@ if (m_showRecentContacts) { m_recentContactsModel = new RecentContactsModel(this); - m_entryList.prepend(new GroupEntry(this, i18n("Recent Contacts"), QString(), m_recentContactsModel)); + m_entryList.prepend(new GroupEntry(this, i18n("Recent Contacts"), QString("view-history"), m_recentContactsModel)); ++separatorPosition; } @@ -389,7 +389,9 @@ m_recentOrdering == RecentUsageModel::Recent ? i18n("Recent Documents") : i18n("Often Used Documents"), - QString(), + m_recentOrdering == RecentUsageModel::Recent + ? QString("view-history") + : QString("office-chart-pie"), m_recentDocsModel)); ++separatorPosition; } @@ -400,7 +402,9 @@ m_recentOrdering == RecentUsageModel::Recent ? i18n("Recent Applications") : i18n("Often Used Applications"), - QString(), + m_recentOrdering == RecentUsageModel::Recent + ? QString("view-history") + : QString("office-chart-pie"), m_recentAppsModel)); ++separatorPosition; } @@ -413,7 +417,7 @@ m_systemModel = new SystemModel(this); if (m_showPowerSession) { - m_entryList << new GroupEntry(this, i18n("Power / Session"), QString(), m_systemModel); + m_entryList << new GroupEntry(this, i18n("Power / Session"), QString("system-log-out"), m_systemModel); } endResetModel();