rimmed pushed a commit to branch master.

http://git.enlightenment.org/tools/eflete.git/commit/?id=44c28ff4629b3053c6011b989cf86e9748282432

commit 44c28ff4629b3053c6011b989cf86e9748282432
Author: Andrii Kroitor <an.kroi...@samsung.com>
Date:   Wed Jul 6 10:41:52 2016 +0300

    history_ui: disable shortcuts when list is shown
---
 src/bin/ui/history_ui.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/bin/ui/history_ui.c b/src/bin/ui/history_ui.c
index db75428..ae507cf 100644
--- a/src/bin/ui/history_ui.c
+++ b/src/bin/ui/history_ui.c
@@ -23,6 +23,7 @@
 #include "history.h"
 #include "widget_macro.h"
 #include "main_window.h"
+#include "shortcuts.h"
 
 typedef struct {
    Evas_Object *layout;
@@ -63,6 +64,7 @@ _expanded_undo(void *data,
 
    assert(hd != NULL);
 
+   shortcuts_object_push(hd->undo_cmbx);
    hd->to_undo = 0;
    EINA_LIST_REVERSE_FOREACH(hd->history->changes, l, change)
      {
@@ -89,6 +91,7 @@ _expanded_redo(void *data,
 
    assert(hd != NULL);
 
+   shortcuts_object_push(hd->undo_cmbx);
    hd->to_redo = 0;
    EINA_LIST_FOREACH(hd->history->changes, l, change)
      {
@@ -109,6 +112,7 @@ _undo_item_cleanup(void *data,
 {
    History_New_UI_data *hd = data;
    _list_cleanup(hd);
+   shortcuts_object_check_pop(hd->undo_cmbx);
 }
 static void
 _undo_item_selected(void *data,
@@ -138,6 +142,7 @@ _redo_item_cleanup(void *data,
 {
    History_New_UI_data *hd = data;
    _list_cleanup(hd);
+   shortcuts_object_check_pop(hd->undo_cmbx);
 }
 static void
 _redo_item_selected(void *data,

-- 


Reply via email to