shell: Show the submenu icon hint for the applications panel

The panel swarms details/devices/privacy show this icon. Since the applications
panel is not made from sub-panels, this doesn't show. For consistency this shows
the icon so the transition isn't as jarring for the user.

Add a flat into the panel .desktop file to enable this - other panels might
require this in the future
This commit is contained in:
Robert Ancell 2019-11-13 16:33:29 +13:00
parent acc8aff5d0
commit 5dbbc20918
6 changed files with 26 additions and 7 deletions

View file

@ -61,7 +61,8 @@ void cc_panel_list_add_panel (CcPanelList
const gchar *description,
const GStrv keywords,
const gchar *icon,
CcPanelVisibility visibility);
CcPanelVisibility visibility,
gboolean has_sidebar);
void cc_panel_list_set_active_panel (CcPanelList *self,
const gchar *id);