aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYeongjong Lee <cleanlyj@naver.com>2017-10-06 11:22:37 +0300
committerVyacheslav Reutskiy <v.reutskiy@samsung.com>2017-10-06 11:23:21 +0300
commit38ca994ec0c9552698cd80a6a0e5ec0949628224 (patch)
treeedf79cc391f0fd21f40f4a1bbe936a5b6cab45bc
parentewe: Add missing constructor/destructor code (diff)
downloadeflete-38ca994ec0c9552698cd80a6a0e5ec0949628224.tar.gz
menu: avoid incorrect error message
Test Plan: 1. Open eflete 2. Click File, Edit, View, Window, Help menu 3. check that console doesn't print error message. Reviewers: rimmed Reviewed By: rimmed Differential Revision: https://phab.enlightenment.org/D5257
-rw-r--r--src/bin/ui/menu.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/bin/ui/menu.c b/src/bin/ui/menu.c
index 2ce6bda0c..579e7406e 100644
--- a/src/bin/ui/menu.c
+++ b/src/bin/ui/menu.c
@@ -203,6 +203,13 @@ _menu_cb(void *data __UNUSED__,
case MENU_HELP_SHORTCUTS:
shortcuts_window_add();
break;
+ case MENU_FILE:
+ case MENU_EDIT:
+ case MENU_VIEW:
+ case MENU_WINDOW:
+ case MENU_HELP:
+ //do nothing
+ break;
default:
ERR("unknown menu id: %d", menu_event->mid);
break;