add internal config entry for current netwm theme whenever we set it

SVN revision: 74375
This commit is contained in:
Mike Blumenkrantz 2012-07-25 09:01:05 +00:00
parent 6fc6bb1660
commit 62dc4cf2b2
2 changed files with 3 additions and 0 deletions

View File

@ -365,6 +365,7 @@ struct _E_Config
const char *xft_hint_style;
const char *xft_rgba;
const char *net_theme_name; // GUI
const char *net_theme_name_detected; // not saved
const char *net_icon_theme_name; // GUI
const char *gtk_font_name;
} xsettings;

View File

@ -169,6 +169,8 @@ _e_xsettings_string_set(const char *name, const char *value)
Eina_List *l;
if (!name) return;
if (name == _setting_theme_name)
e_config->xsettings.net_theme_name_detected = value;
name = eina_stringshare_add(name);
EINA_LIST_FOREACH(settings, l, s)