princeamd pushed a commit to branch enlightenment-0.17.
commit e998dc38cf2ce15f3caaafd64405344cce607a13
Author: Chris Michael <[email protected]>
Date: Fri Aug 2 11:04:04 2013 +0100
Backport: 9046a6b :: Add function to allow disable/enable of the indicator
toggle.
Signed-off-by: Chris Michael <[email protected]>
Signed-off-by: Deon Thomas <[email protected]>
---
src/modules/conf_randr/e_smart_monitor.c | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/src/modules/conf_randr/e_smart_monitor.c
b/src/modules/conf_randr/e_smart_monitor.c
index 8319803..13d5db9 100644
--- a/src/modules/conf_randr/e_smart_monitor.c
+++ b/src/modules/conf_randr/e_smart_monitor.c
@@ -904,6 +904,19 @@ e_smart_monitor_output_get(Evas_Object *obj)
return sd->output;
}
+void
+e_smart_monitor_indicator_available_set(Evas_Object *obj, Eina_Bool available)
+{
+ E_Smart_Data *sd;
+
+ /* try to get the objects smart data */
+ if (!(sd = evas_object_smart_data_get(obj))) return 0;
+ if (available)
+ edje_object_signal_emit(sd->o_frame, "e,state,indicator,enabled", "e");
+ else
+ edje_object_signal_emit(sd->o_frame, "e,state,indicator,disabled", "e");
+}
+
/* smart functions */
static void
_e_smart_add(Evas_Object *obj)
--
------------------------------------------------------------------------------
Get your SQL database under version control now!
Version control is standard for application code, but databases havent
caught up. So what steps can you take to put your SQL databases under
version control? Why should you start doing it? Read more to find out.
http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk