summaryrefslogtreecommitdiff
path: root/src/lib/efreet/efreet_menu.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/efreet/efreet_menu.c')
-rw-r--r--src/lib/efreet/efreet_menu.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/lib/efreet/efreet_menu.c b/src/lib/efreet/efreet_menu.c
index dd56ad6033..b0e27467da 100644
--- a/src/lib/efreet/efreet_menu.c
+++ b/src/lib/efreet/efreet_menu.c
@@ -1557,14 +1557,12 @@ efreet_menu_handle_default_merge_dirs(Efreet_Menu_Internal *parent, Efreet_Xml *
1557 1557
1558 if (!parent || !xml) return 0; 1558 if (!parent || !xml) return 0;
1559 1559
1560 if (!strcmp(efreet_menu_prefix, "gnome-") && 1560 if (!strcmp(parent->file.name, "gnome-applications.menu"))
1561 (!strcmp(parent->file.name, "gnome-applications.menu")))
1562 { 1561 {
1563 p = alloca(sizeof("applications")); 1562 p = alloca(sizeof("applications"));
1564 memcpy(p, "applications", sizeof("applications")); 1563 memcpy(p, "applications", sizeof("applications"));
1565 } 1564 }
1566 else if ((!strcmp(efreet_menu_prefix, "kde-") && 1565 else if (!strcmp(parent->file.name, "kde-applications.menu"))
1567 (!strcmp(parent->file.name, "kde-applications.menu"))))
1568 { 1566 {
1569 p = alloca(sizeof("applications")); 1567 p = alloca(sizeof("applications"));
1570 memcpy(p, "applications", sizeof("applications")); 1568 memcpy(p, "applications", sizeof("applications"));