diff options
Diffstat (limited to 'shell/e-shell-window.c')
-rw-r--r-- | shell/e-shell-window.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/shell/e-shell-window.c b/shell/e-shell-window.c index b4047bc79a..cc05844668 100644 --- a/shell/e-shell-window.c +++ b/shell/e-shell-window.c @@ -695,6 +695,9 @@ setup_widgets (EShellWindow *window) ComponentView *view = component_view_new (info->id, info->alias, button_id); window->priv->component_views = g_slist_prepend (window->priv->component_views, view); + + if (!info->button_label || !info->menu_label) + continue; e_sidebar_add_button (E_SIDEBAR (priv->sidebar), info->button_label, info->button_tooltips, info->button_icon, button_id); g_string_printf(xml, "SwitchComponent-%s", info->alias); |