disable unfinished ui elements
This commit is contained in:
parent
598e407065
commit
791354eb3c
|
@ -212,6 +212,7 @@ gui_panes_clicked_double_cb(void *data EINA_UNUSED, Evas_Object *obj,
|
|||
INF("size y %f %d", size, contracted);
|
||||
}
|
||||
|
||||
#if 0
|
||||
/**
|
||||
* GUI Open File
|
||||
*/
|
||||
|
@ -268,7 +269,7 @@ _toolbar_open_cb(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED,
|
|||
elm_toolbar_item_selected_set(it, EINA_FALSE);
|
||||
_gui_open_file();
|
||||
}
|
||||
|
||||
#endif
|
||||
static void
|
||||
_toolbar_option_cb(void *data EINA_UNUSED, Evas_Object *obj EINA_UNUSED,
|
||||
void *event_info)
|
||||
|
@ -376,7 +377,6 @@ gui_create(const char *edje_file,
|
|||
{
|
||||
Evas_Object *o = NULL, *conform = NULL, *box = NULL, *lbox = NULL;
|
||||
Evas_Object *panes = NULL;
|
||||
Elm_Object_Item *it = NULL;
|
||||
char path[PATH_MAX];
|
||||
|
||||
if (!edje_file) return;
|
||||
|
@ -411,11 +411,9 @@ gui_create(const char *edje_file,
|
|||
|
||||
o = elm_toolbar_add(box);
|
||||
elm_toolbar_align_set(o, 0.0);
|
||||
it = elm_toolbar_item_append(o, "document-open", "Open", _toolbar_open_cb, NULL);
|
||||
elm_object_item_disabled_set(it, EINA_TRUE);
|
||||
//it = elm_toolbar_item_append(o, "document-open", "Open", _toolbar_open_cb, NULL);
|
||||
elm_toolbar_item_append(o, "edit", "Option", _toolbar_option_cb, NULL);
|
||||
it = elm_toolbar_item_append(o, NULL, "Code", NULL, NULL);
|
||||
elm_object_item_disabled_set(it, EINA_TRUE);
|
||||
//it = elm_toolbar_item_append(o, NULL, "Code", NULL, NULL);
|
||||
elm_toolbar_item_append(o, "media_player/info", "About", _toolbar_about_cb, NULL);
|
||||
elm_toolbar_item_append(o, "close", "Exit", _toolbar_exit_cb, NULL);
|
||||
evas_object_size_hint_weight_set(o, EVAS_HINT_EXPAND, 0.0);
|
||||
|
|
Loading…
Reference in New Issue