add internal config entry for current netwm theme whenever we set it
SVN revision: 74375
This commit is contained in:
parent
6fc6bb1660
commit
62dc4cf2b2
|
@ -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;
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue