Expand check for empty metatheme colour scheme to include blank colour
2007-07-29 Thomas Wood <thos@gnome.org> * gnome-theme-info.c: (gnome_theme_read_meta_theme): Expand check for empty metatheme colour scheme to include blank colour scheme strings. svn path=/trunk/; revision=7926
This commit is contained in:
parent
0921b627db
commit
a316e82ccc
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2007-07-29 Thomas Wood <thos@gnome.org>
|
||||
|
||||
* gnome-theme-info.c: (gnome_theme_read_meta_theme): Expand check for empty
|
||||
metatheme colour scheme to include blank colour scheme strings.
|
||||
|
||||
2007-07-29 Thomas Wood <thos@gnome.org>
|
||||
|
||||
* gnome-theme-apply.c: (gnome_meta_theme_set):
|
||||
|
|
|
@ -272,7 +272,7 @@ gnome_theme_read_meta_theme (GnomeVFSURI *meta_theme_uri)
|
|||
meta_theme_info->gtk_theme_name = g_strdup (str);
|
||||
|
||||
str = gnome_desktop_item_get_string (meta_theme_ditem, GTK_COLOR_SCHEME_KEY);
|
||||
if (str == NULL)
|
||||
if (str == NULL || !strcmp (str, ""))
|
||||
scheme = gtkrc_get_color_scheme_for_theme (meta_theme_info->gtk_theme_name);
|
||||
else
|
||||
scheme = g_strdup (str);
|
||||
|
|
Loading…
Add table
Reference in a new issue