rimmed pushed a commit to branch master.

http://git.enlightenment.org/tools/eflete.git/commit/?id=4a52147f2fa6e57db10c9ea467538cb16f3bb95b

commit 4a52147f2fa6e57db10c9ea467538cb16f3bb95b
Author: Vyacheslav Reutskiy <v.reuts...@samsung.com>
Date:   Wed Apr 6 14:43:28 2016 +0300

    workspace: correct the orhographic mistake
    
    Change-Id: If16d8d7fc802c341a06063d34780b5da3ceb50f4
---
 src/bin/ui/tabs.c                |  8 ++++----
 src/bin/ui/workspace/workspace.c | 14 +++++++-------
 src/bin/ui/workspace/workspace.h |  4 ++--
 3 files changed, 13 insertions(+), 13 deletions(-)

diff --git a/src/bin/ui/tabs.c b/src/bin/ui/tabs.c
index df84f17..8502397 100644
--- a/src/bin/ui/tabs.c
+++ b/src/bin/ui/tabs.c
@@ -878,7 +878,7 @@ _shortcut_object_area_cb(void *data __UNUSED__,
 }
 
 static void
-_shortcut_rulers_visibled_cb(void *data __UNUSED__,
+_shortcut_rulers_visible_cb(void *data __UNUSED__,
                              Evas_Object *obj __UNUSED__,
                              void *event_info __UNUSED__)
 {
@@ -886,8 +886,8 @@ _shortcut_rulers_visibled_cb(void *data __UNUSED__,
 
    if (tabs.current_workspace)
      {
-        visible = workspace_rulers_visibled_get(tabs.current_workspace);
-        workspace_rulers_visibled_set(tabs.current_workspace, !visible);
+        visible = workspace_rulers_visible_get(tabs.current_workspace);
+        workspace_rulers_visible_set(tabs.current_workspace, !visible);
      }
 }
 
@@ -1023,7 +1023,7 @@ tabs_add(void)
    evas_object_smart_callback_add(ap.win, SIGNAL_SHORTCUT_FIT, 
_shortcut_fit_cb, NULL);
    evas_object_smart_callback_add(ap.win, SIGNAL_SHORTCUT_FILL, 
_shortcut_fill_cb, NULL);
    evas_object_smart_callback_add(ap.win, SIGNAL_SHORTCUT_OBJECT_AREA, 
_shortcut_object_area_cb, NULL);
-   evas_object_smart_callback_add(ap.win, SIGNAL_SHORTCUT_RULERS_VISIBLED, 
_shortcut_rulers_visibled_cb, NULL);
+   evas_object_smart_callback_add(ap.win, SIGNAL_SHORTCUT_RULERS_VISIBLED, 
_shortcut_rulers_visible_cb, NULL);
    return tabs.layout;
 }
 
diff --git a/src/bin/ui/workspace/workspace.c b/src/bin/ui/workspace/workspace.c
index 3139eb6..d06d1c0 100644
--- a/src/bin/ui/workspace/workspace.c
+++ b/src/bin/ui/workspace/workspace.c
@@ -60,7 +60,7 @@ struct _Scroll_Area {
    Evas_Object *content; /* for normal mode - groupview, for demo - elm widget 
*/
    Ruler ruler_v;
    Ruler ruler_h;
-   Eina_Bool rulers_visibled : 1;
+   Eina_Bool rulers_visible : 1;
 };
 typedef struct _Scroll_Area Scroll_Area;
 
@@ -1021,8 +1021,8 @@ workspace_add(Evas_Object *parent, Group *group)
    wd->code.size = -1;
    wd->group = group;
    wd->mode = MODE_NORMAL;
-   wd->normal.rulers_visibled = true;
-   wd->demo.rulers_visibled = true;
+   wd->normal.rulers_visible = true;
+   wd->demo.rulers_visible = true;
 
    wd->toolbar.layout = elm_layout_add(wd->panes);
    elm_layout_theme_set(wd->toolbar.layout, "layout", "workspace", "toolbar");
@@ -1378,13 +1378,13 @@ workspace_program_del(Evas_Object *obj, 
Eina_Stringshare *program_name)
 }
 
 void
-workspace_rulers_visibled_set(Evas_Object *obj, Eina_Bool visible)
+workspace_rulers_visible_set(Evas_Object *obj, Eina_Bool visible)
 {
    Scroll_Area *area;
    WS_DATA_GET(obj);
 
    area = _scroll_area_get(wd);
-   area->rulers_visibled = visible;
+   area->rulers_visible = visible;
    if (visible)
      elm_layout_signal_emit(area->layout, "elm,state,rulers,show", "eflete");
    else
@@ -1392,13 +1392,13 @@ workspace_rulers_visibled_set(Evas_Object *obj, 
Eina_Bool visible)
 }
 
 Eina_Bool
-workspace_rulers_visibled_get(Evas_Object *obj)
+workspace_rulers_visible_get(Evas_Object *obj)
 {
    Scroll_Area *area;
    WS_DATA_GET(obj);
 
    area = _scroll_area_get(wd);
-   return area->rulers_visibled;
+   return area->rulers_visible;
 }
 
 void
diff --git a/src/bin/ui/workspace/workspace.h b/src/bin/ui/workspace/workspace.h
index 4c2bb69..c82f4b1 100644
--- a/src/bin/ui/workspace/workspace.h
+++ b/src/bin/ui/workspace/workspace.h
@@ -345,10 +345,10 @@ Eina_Bool
 workspace_object_area_visible_get(Evas_Object *obj);
 
 void
-workspace_rulers_visibled_set(Evas_Object *obj, Eina_Bool visible);
+workspace_rulers_visible_set(Evas_Object *obj, Eina_Bool visible);
 
 Eina_Bool
-workspace_rulers_visibled_get(Evas_Object *obj);
+workspace_rulers_visible_get(Evas_Object *obj);
 
 TODO("remove after property refactor!!! HIGH LEVEL");
 Eina_Bool

-- 


Reply via email to