2007-10-27 Jens Granseuer <jensgr@gmx.net>
If the cursor theme changes, and the currently set size is not
available for the new theme, we were not updating the cursor size in
GConf, leading to bogus results when checking for metatheme equality.
* appearance-style.c: (cursor_size_changed_cb),
(update_cursor_size_scale), (cursor_size_scale_value_changed_cb):
update cursor size GConf value when the theme changes; also don't write
bogus values to GConf when we are only doing fuzzy matches
svn path=/trunk/; revision=8212
2007-10-25 Jens Granseuer <jensgr@gmx.net>
* appearance-style.c: (style_init):
* data/appearance.glade: move some more of the cursor size widget
initialization to glade. This allows the slider to be updated properly
on startup (bug #490103)
svn path=/trunk/; revision=8201
2007-08-11 Jens Granseuer <jensgr@gmx.net>
* appearance-style.c: (conv_from_widget_cb): make sure we have a
selection before trying to get the data (bug #465431)
svn path=/trunk/; revision=7987
2007-08-08 Jens Granseuer <jensgr@gmx.net>
* appearance-style.c: (gtk_theme_changed): revert r7973 because it
broke color scheme notifications, and add a comment
* appearance-themes.c: (theme_setting_changed_cb), (themes_init):
connect to some signals from GtkSettings instead of GConf
svn path=/trunk/; revision=7980
2007-08-07 Jens Granseuer <jensgr@gmx.net>
* appearance-style.c: (gtk_theme_changed): also remove code that we
needed when the thumbnailer was still in-process
svn path=/trunk/; revision=7973
2007-08-07 Jens Granseuer <jensgr@gmx.net>
* appearance-style.c: (color_button_clicked_cb): make sure the color
scheme has changed before writing to GConf and enabling the reset button
svn path=/trunk/; revision=7969
2007-08-07 Jens Granseuer <jensgr@gmx.net>
* appearance-style.c: (update_color_buttons_from_string): simplify
(check_color_schemes_enabled): fix check for available symbolic colors
and make buttons for unsupported colors insensitive (bug #464081)
(color_button_clicked_cb), (style_init): simplify
* data/appearance.glade: name the color buttons exactly like their
respective color so we don't need to keep two arrays around
svn path=/trunk/; revision=7968
2007-08-04 Jens Granseuer <jensgr@gmx.net>
Based on a patch by: Dennis Cranston <dennis_cranston@yahoo.com>
* appearance-style.c: (update_cursor_size_scale) Toggle
sensitivity of the cursor scale labels (bug #463442)
svn path=/trunk/; revision=7961
2007-08-04 Denis Washington <denisw@svn.gnome.org>
* common/gnome-theme-info.c: (read_cursor_theme), (look_for_cursor_theme):
Also load the "default" cursor theme as GnomeThemeCursorInfo so
we know about the available sizes. (bug #462409)
* appearance/appearance-style.c: (prepare_list):
Only add a "Default Pointer" list item if there is
no such GnomeThemeCursorInfo.
svn path=/trunk/; revision=7960
2007-07-30 Jens Granseuer <jensgr@gmx.net>
* appearance-style.c: (color_button_clicked_cb): fix cut'n'paste errors
for the tooltip colors and use new color enum
* data/appearance.glade: repair the mess glade3 made of the file
2007-07-30 Jens Granseuer <jensgr@gmx.net>
* gnome-theme-info.c: (gnome_theme_color_scheme_parse),
(gnome_theme_color_scheme_equal):
* gnome-theme-info.h: add symbolic colors enum and use it
svn path=/trunk/; revision=7936
2007-07-30 Thomas Wood <thos@gnome.org>
* appearance-style.c: (update_color_buttons_from_string),
(check_color_schemes_enabled), (color_button_clicked_cb),
(style_init):
* data/appearance.glade:
Add tooltip foreground and background colours to the list of recognised
symbolic colours.
2007-07-30 Thomas Wood <thos@gnome.org>
* gnome-theme-info.c: (gnome_theme_color_scheme_parse): Add tooltip foreground
and background colours to the list of recognised symbolic colours.
svn path=/trunk/; revision=7933
2007-07-28 Denis Washington <denisw@svn.gnome.org>
* common/gnome-theme-info.h:
* common/gnome-theme-info.c: (look_in_cursor_theme),
(gnome_theme_cursor_info_free):
Read a cursor theme's name from it's index.theme file if it has one.
* appearance/appearance-style.c: (prepare_list):
Show readable_name in cursor theme list instead of name.
svn path=/trunk/; revision=7914
2007-07-26 Denis Washington <denisw@svn.gnome.org>
* data/appearance.glade:
Fixed a bug introduced in my last commit which caused to make the
button box appear above the cursors list in the theme details window.
* appearance-style.c: (cursor_theme_sort_func), (prepare_list):
Make "Default Pointer" always appear as first item in the list.
svn path=/trunk/; revision=7891
2007-07-26 Denis Washington <denisw@svn.gnome.org>
* appearance/data/appearance.glade:
* appearance/appearance-style.c:
* appearance/appearance-themes.c: (theme_load_from_gconf),
(cursor_theme_changed), (prepare_list), (style_init):
* appearance/theme-save.c: (write_theme_to_disk):
* appearance/theme-util.h:
* common/gnome-theme-apply.c: (gnome_meta_theme_set):
* common/gnome-theme-info.c:
(add_common_icon_theme_dir_monitor),
(gnome_theme_init):
* common/gnome-theme-info.h:
Re-add basic support for cursor themes for X servers without the Xcursor
extension, like the one on Solaris.
svn path=/trunk/; revision=7890
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
2007-07-05 Jens Granseuer <jensgr@gmx.net>
* appearance-style.c: (update_color_buttons_from_string): don't allocate
colors in the colormap
(update_cursor_size_scale), (cursor_size_scale_value_changed_cb): don't
crash if we have nothing but the default cursor theme
svn path=/trunk/; revision=7829
2007-06-26 Jens Granseuer <jensgr@gmx.net>
* appearance-style.c: (prepare_list):
no need to reassign thumbnails inside the loop
* appearance-themes.c: (theme_load_from_gconf), (theme_is_equal):
consider NULL and "" equal for color schemes; also reshuffle
functions a bit and fix the include list
svn path=/trunk/; revision=7782
2007-06-25 Denis Washington <denisw@svn.gnome.org>
* appearance-themes.c:
Adjusted for the API changes in theme-thumbnail.c. Thumbnail requestes are
now directly queued by generate_*_async(), so do not maintain an own queue
anymore.
* appearance-style.c:
Use the new asynchronous thumbnail generation functions, and replace all
occurrences of "metacity_themes_list" with the correct "window_themes_list".
* appearance.h:
Remove "theme_queue", it is not needed anymore.
svn path=/trunk/; revision=7776
2007-06-17 Denis Washington <denisw@svn.gnome.org>
* appearance-style.c: (prepare_list):
Change the weight of the theme titles from bold to normal in the Theme
Details window's lists.
svn path=/trunk/; revision=7737
2007-06-09 Denis Washington <denisw@svn.gnome.org>
* appearance-style.c: (theme_name_changed):
Manually deal with gtk+ theme changes now that the theme thumbnailing
code uses the default GtkSettings again.
svn path=/trunk/; revision=7721
2007-06-10 Jens Granseuer <jensgr@gmx.net>
* appearance-style.c: (style_init), (check_color_schemes_enabled):
fix "reset to defaults" sensitivity for real
* appearance-themes.c: (theme_color_scheme_changed_cb),
(themes_init): listen to colour scheme changes as well
svn path=/trunk/; revision=7715
2007-06-10 Jens Granseuer <jensgr@gmx.net>
* appearance-style.c: (check_color_schemes_enabled): disable the "reset
to defaults" button if the theme doesn't support custom colours
svn path=/trunk/; revision=7714
2007-06-10 Jens Granseuer <jensgr@gmx.net>
* appearance-style.c: (check_color_schemes_enabled): we don't need the
engine stuff, so don't retrieve it in the first place
svn path=/trunk/; revision=7713
2007-06-09 Denis Washington <denisw@svn.gnome.org>
* appearance.glade:
* appearance-style.c:
Add all missing color schemes options from gnome-theme-manager, including a Reset To Defaults button.
svn path=/trunk/; revision=7708
2007-06-06 Jens Granseuer <jensgr@gmx.net>
* appearance-style.c: (style_response_cb), (style_init): don't
destroy the window on "delete-event"
* appearance-themes.c: (theme_load_from_gconf),
(theme_thumbnail_generate), (theme_queue_for_thumbnail),
(theme_get_selected), (theme_set_custom_from_selected),
(theme_remove_custom), (theme_thumbnail_done_cb),
(theme_selection_changed_cb), (theme_custom_cb),
(theme_details_changed_cb), (themes_init): hook up more of the
customization functionality; don't unref generated thumbnails
because they are still held in a cache by the thumbnailer
svn path=/trunk/; revision=7696