elm config - add config api's to set desktop style entry flag/mode
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>
Thu, 29 Aug 2019 16:15:32 +0000 (17:15 +0100)
committerYeongjong Lee <yj34.lee@samsung.com>
Mon, 16 Sep 2019 01:23:00 +0000 (10:23 +0900)
src/lib/elementary/elm_config.c
src/lib/elementary/elm_config.h

index 196c53d..c3286cb 100644 (file)
@@ -4375,6 +4375,19 @@ elm_config_glayer_double_tap_timeout_set(double double_tap_timeout)
 }
 
 EAPI Eina_Bool
+elm_config_desktop_entry_get(void)
+{
+   return _elm_config->desktop_entry;
+}
+
+EAPI void
+elm_config_desktop_entry_set(Eina_Bool enable)
+{
+   _elm_config->priv.desktop_entry = EINA_TRUE;
+   _elm_config->desktop_entry = !!enable;
+}
+
+EAPI Eina_Bool
 elm_config_magnifier_enable_get(void)
 {
    return _elm_config->magnifier_enable;
index c899d7c..4d4bdc7 100644 (file)
@@ -2165,6 +2165,22 @@ EAPI void      elm_config_color_overlay_unset(const char *color_class);
 EAPI void      elm_config_color_overlay_apply(void);
 
 /**
+ * Get the desktop style entry enabled state
+ *
+ * @return The desktop style enabled state for entries
+ * @since 1.23
+ */
+EAPI Eina_Bool elm_config_desktop_entry_get(void);
+
+/**
+ * Set the desktop style entry enabled state
+ *
+ * @param enable The desktop style enabled state for entries
+ * @since 1.23
+ */
+EAPI void elm_config_desktop_entry_set(Eina_Bool enable);
+
+/**
  * Get the magnifier enabled state for entries
  *
  * @return The enabled state for magnifier