Implement saving of the cursor theme name in metathemes, and add a
2007-07-25 Denis Washington <denisw@svn.gnome.org> * appearance-style.c: (prepare_list): * appearance-themes.c: (theme_load_from_gconf): * theme-save.c: (write_theme_to_disk): Implement saving of the cursor theme name in metathemes, and add a "Default Pointer" option to the cursor theme list in Theme Details. svn path=/trunk/; revision=7885
This commit is contained in:
parent
2126b49c6e
commit
016dabda52
4 changed files with 35 additions and 0 deletions
|
@ -230,6 +230,15 @@ write_theme_to_disk (GnomeThemeMetaInfo *theme_info,
|
|||
g_free (tmp);
|
||||
}
|
||||
|
||||
if (theme_info->cursor_theme_name) {
|
||||
str = g_strdup_printf ("CursorTheme=%s\n"
|
||||
"CursorSize=%i\n",
|
||||
theme_info->cursor_theme_name,
|
||||
theme_info->cursor_size);
|
||||
gnome_vfs_write (handle, str, strlen (str), &bytes_written);
|
||||
g_free (str);
|
||||
}
|
||||
|
||||
if (save_background) {
|
||||
client = gconf_client_get_default ();
|
||||
current_background = gconf_client_get_string (client, BACKGROUND_KEY, NULL);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue