summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYakov Goldberg <yakov.g@samsung.com>2014-05-26 13:16:55 +0300
committerYakov Goldberg <yakov.g@samsung.com>2014-05-26 14:46:45 +0300
commit27381a245a06f7993265448569cff58f4018369a (patch)
tree2f67cb21d9264487a2dfbfaf57b749f5e7f2631d
parent03c26ab4213c5e4b35c3e2d729bdbdda0cef5fb6 (diff)
add icons to tollbar items
-rw-r--r--src/bin/egui_gui/editor.c2
-rw-r--r--src/bin/egui_gui/egui_logic.c4
-rw-r--r--src/bin/egui_gui/rmview.c6
3 files changed, 6 insertions, 6 deletions
diff --git a/src/bin/egui_gui/editor.c b/src/bin/egui_gui/editor.c
index fd7100e..576e4f8 100644
--- a/src/bin/egui_gui/editor.c
+++ b/src/bin/egui_gui/editor.c
@@ -2269,7 +2269,7 @@ editor_init(GuiLogicCbs *_guilogic_cbs)
2269 _propsview_toolbar_clicked, (void *) (intptr_t) PROPERTY_TYPE); 2269 _propsview_toolbar_clicked, (void *) (intptr_t) PROPERTY_TYPE);
2270 elm_toolbar_item_append(g->propsview_toolbar, "call-start", "Callbacks", 2270 elm_toolbar_item_append(g->propsview_toolbar, "call-start", "Callbacks",
2271 _propsview_toolbar_clicked, (void *) (intptr_t) CALLBACK_TYPE); 2271 _propsview_toolbar_clicked, (void *) (intptr_t) CALLBACK_TYPE);
2272 elm_toolbar_item_append(g->propsview_toolbar, "call-end", "Content", 2272 elm_toolbar_item_append(g->propsview_toolbar, "folder-open", "Content",
2273 _propsview_toolbar_clicked, (void *) (intptr_t) CONTENT_TYPE); 2273 _propsview_toolbar_clicked, (void *) (intptr_t) CONTENT_TYPE);
2274} 2274}
2275 2275
diff --git a/src/bin/egui_gui/egui_logic.c b/src/bin/egui_gui/egui_logic.c
index cb6b0ff..a7848cd 100644
--- a/src/bin/egui_gui/egui_logic.c
+++ b/src/bin/egui_gui/egui_logic.c
@@ -845,9 +845,9 @@ egui_start(char *filename)
845 } 845 }
846 846
847#ifdef HAVE_GRAPHVIZ 847#ifdef HAVE_GRAPHVIZ
848 elm_toolbar_item_append(g->toolbar, NULL, "Graph", _graphview_show_cb, NULL); 848 elm_toolbar_item_append(g->toolbar, "media-playlist-repeat", "Graph", _graphview_show_cb, NULL);
849#else 849#else
850 it = elm_toolbar_item_append(g->toolbar, NULL, "Graph", NULL, NULL); 850 it = elm_toolbar_item_append(g->toolbar, "media-playlist-repeat", "Graph", NULL, NULL);
851 elm_object_item_disabled_set(it, EINA_TRUE); 851 elm_object_item_disabled_set(it, EINA_TRUE);
852#endif 852#endif
853 /*Disable "Factory view" button */ 853 /*Disable "Factory view" button */
diff --git a/src/bin/egui_gui/rmview.c b/src/bin/egui_gui/rmview.c
index 26d699b..f45e22c 100644
--- a/src/bin/egui_gui/rmview.c
+++ b/src/bin/egui_gui/rmview.c
@@ -465,13 +465,13 @@ Eina_Bool
465_rm_win_show_post_cb(void *data EINA_UNUSED, Eo *obj EINA_UNUSED, const Eo_Event_Description *desc EINA_UNUSED, void *event_info EINA_UNUSED) 465_rm_win_show_post_cb(void *data EINA_UNUSED, Eo *obj EINA_UNUSED, const Eo_Event_Description *desc EINA_UNUSED, void *event_info EINA_UNUSED)
466{ 466{
467 g = get_gui(); 467 g = get_gui();
468 eo_do(g->rm_toolbar, elm_obj_toolbar_item_append(NULL, "Images", 468 eo_do(g->rm_toolbar, elm_obj_toolbar_item_append("emblem-photos", "Images",
469 _rmview_toolbar_clicked, (void *) (intptr_t) RMVIEW_IMAGE)); 469 _rmview_toolbar_clicked, (void *) (intptr_t) RMVIEW_IMAGE));
470 eo_do(g->rm_toolbar, elm_obj_toolbar_item_append("call-start", "Callbacks", 470 eo_do(g->rm_toolbar, elm_obj_toolbar_item_append("call-start", "Callbacks",
471 _rmview_toolbar_clicked, (void *) (intptr_t) RMVIEW_CALLBACK)); 471 _rmview_toolbar_clicked, (void *) (intptr_t) RMVIEW_CALLBACK));
472 eo_do(g->rm_toolbar, elm_obj_toolbar_item_append(NULL, "Sequences", 472 eo_do(g->rm_toolbar, elm_obj_toolbar_item_append("format-justify-fill", "Sequences",
473 _rmview_toolbar_clicked, (void *) (intptr_t) RMVIEW_SEQUENCE)); 473 _rmview_toolbar_clicked, (void *) (intptr_t) RMVIEW_SEQUENCE));
474 eo_do(g->rm_toolbar, elm_obj_toolbar_item_append(NULL, "Strings", 474 eo_do(g->rm_toolbar, elm_obj_toolbar_item_append("format-text-bold", "Strings",
475 _rmview_toolbar_clicked, (void *) (intptr_t) RMVIEW_STRING)); 475 _rmview_toolbar_clicked, (void *) (intptr_t) RMVIEW_STRING));
476 476
477 eo_do(g->rm_cb_type_hoversel, elm_obj_hoversel_item_add(EO_CALLBACK_STR, NULL, ELM_ICON_NONE, NULL, NULL)); 477 eo_do(g->rm_cb_type_hoversel, elm_obj_hoversel_item_add(EO_CALLBACK_STR, NULL, ELM_ICON_NONE, NULL, NULL));