Commit 433cb050 authored by Alberts Muktupāvels's avatar Alberts Muktupāvels

panel-addto-dialog: remove main menu object

Same functionality is provided by main-menu applet from menu module.
parent f41cf66f
......@@ -126,30 +126,11 @@ panel_addto_applet_info_sort_func (PanelAddtoItemInfo *a,
return g_utf8_collate (a->name, b->name);
}
static GSList *
prepend_internal_applets (GSList *list)
{
PanelAddtoItemInfo *internal;
internal = g_new0 (PanelAddtoItemInfo, 1);
internal->type = PANEL_ADDTO_MENU;
internal->name = g_strdup (_("Main Menu"));
internal->description = g_strdup (_("The main GNOME menu"));
internal->icon = g_themed_icon_new (PANEL_ICON_MAIN_MENU);
internal->action_type = PANEL_ACTION_NONE;
internal->iid = g_strdup ("MENU:MAIN");
list = g_slist_prepend (list, internal);
return list;
}
static GSList *
panel_addto_prepend_internal_applets (GSList *list)
{
int i;
list = prepend_internal_applets (list);
for (i = PANEL_ACTION_LOCK; i < PANEL_ACTION_LAST; i++) {
PanelAddtoItemInfo *info;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment