summaryrefslogtreecommitdiff
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
parent720bf7ff93bf88933dfdd4ad9f3e908a551ac9f5 (diff)
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__,
203 case MENU_HELP_SHORTCUTS: 203 case MENU_HELP_SHORTCUTS:
204 shortcuts_window_add(); 204 shortcuts_window_add();
205 break; 205 break;
206 case MENU_FILE:
207 case MENU_EDIT:
208 case MENU_VIEW:
209 case MENU_WINDOW:
210 case MENU_HELP:
211 //do nothing
212 break;
206 default: 213 default:
207 ERR("unknown menu id: %d", menu_event->mid); 214 ERR("unknown menu id: %d", menu_event->mid);
208 break; 215 break;