+
+
+
+void WindowData::winProfileChangedCallback(void *data,
+ Evas_Object * obj,
+ void *event_info)
+{
+ LogDebug("winProfileChangedCallback");
+ if (data == NULL) return;
+ WindowData* This = static_cast<WindowData *>(data);
+
+ const char *profile = elm_config_profile_get();
+
+ if (!strcmp(profile, "desktop")) {
+ elm_win_indicator_mode_set(This->m_win, ELM_WIN_INDICATOR_HIDE);
+ if (!This->m_icon)
+ This->m_icon = This->setDesktopIcon();
+ }
+ else
+ elm_win_indicator_mode_set(This->m_win, ELM_WIN_INDICATOR_SHOW);
+}
+