+
+ * Get rid of a number of unnecessary gnome.h includes
+
+ * capplets/keybindings/gnome-keybinding-properties.c: Use
+ gtk_init() instead of gnome_program_init().
+
+ * A couple of formatting fixes
+
svn path=/trunk/; revision=9098
* appearance-themes.c: When loading a metatheme from GConf, read
the notification theme from /apps/notification-daemon/theme.
* appearance-theme-save.c: When saving a metatheme to disk,
save the notification theme with the key NotificationTheme.
* appearance-theme-util.h: Add a define for the GConf key
used for notification theme.
* gnome-theme-apply.c: When applying a metatheme, apply
the notification theme, too.
* gnome-theme-info.h: Add a notification_theme_name field
to the metatheme info struct.
* gnome-theme-info.c: When reading a metatheme from a keyfile,
handle notification themes.
svn path=/trunk/; revision=8781
2008-05-07 Jens Granseuer <jensgr@gmx.net>
Add support for installing missing GTK+ theme engines via
packagekit (bug #511065)
* appearance-themes.c: (theme_message_area_response_cb),
(theme_message_area_update): when we detect a missing engine,
check if packagekit is available on the session bus. If it is show
an install button to pull the corresponding package
* appearance.h:
* theme-util.c: (packagekit_available), (theme_install_file):
* theme-util.h: add support functions
svn path=/trunk/; revision=8695
2008-05-01 Jens Granseuer <jensgr@gmx.net>
* appearance-themes.c: (theme_get_mtime),
(theme_drag_data_received_cb):
* theme-util.c: (directory_delete_recursive),
(file_delete_recursive), (theme_is_writable), (theme_delete): port a
few more functions to gio (part of bug #524401)
svn path=/trunk/; revision=8685
2008-04-20 Jens Granseuer <jensgr@gmx.net>
* theme-thumbnail.c: (message_from_child): unref the thumbnail image
after passing it to the callback. Callers will have to ref it if they
want to keep it until after the callback has returned
2008-04-20 Jens Granseuer <jensgr@gmx.net>
* appearance-style.c: (update_thumbnail_in_treeview):
* appearance-themes.c: (theme_thumbnail_update),
(theme_thumbnail_generate): adapt to modified refcounting in the
thumbnailer; thumbnails don't need to be unref'ed unless we explicitly
retain a reference
svn path=/trunk/; revision=8661
2008-04-19 Jens Granseuer <jensgr@gmx.net>
* configure.in: figure out where GTK+ expects its theme engines and
make that info available to interested capplets
2008-04-19 Jens Granseuer <jensgr@gmx.net>
* gtkrc-utils.c: (gtkrc_get_details): accept NULL for the
symbolic_colors parameter if the caller doesn't want that information
2008-04-19 Jens Granseuer <jensgr@gmx.net>
* Makefile.am:
* appearance-themes.c: (theme_validate),
(theme_message_area_update), (themes_init):
* appearance.h: show a warning message when the selected theme is
incomplete (e.g. missing icon theme or gtk theme engine)
svn path=/trunk/; revision=8658
2008-03-27 Jens Granseuer <jensgr@gmx.net>
Patch by: Patrick Wade <patrick.wade@sun.com>
* appearance-themes.c: (custom_font_cb),
(theme_message_area_response_cb), (theme_message_area_update),
(themes_init), (themes_shutdown):
* appearance.h: allow the user to revert a font change proposed by a
metatheme (bug #519065)
svn path=/trunk/; revision=8598
2007-12-21 Luca Ferretti <elle.uca@libero.it>
* appearance-themes.c: (theme_message_area_response_cb),
(theme_message_area_update), (themes_init):
* theme-util.h:
Read WindowTitleFont and DocumentsFont from meta-theme
and use to set the value for /apps/metacity/general/titlebar_font
and /desktop/gnome/interface/document_font_name GConf keys.
This closes bug #504250
svn path=/trunk/; revision=8341
2007-10-29 Jens Granseuer <jensgr@gmx.net>
* appearance-style.c: (gtk_theme_changed), (window_theme_changed),
(icon_theme_changed), (update_cursor_size_scale),
(cursor_theme_changed):
* appearance-themes.c: (theme_selection_changed_cb):
* theme-util.c: (theme_is_writable):
* theme-util.h: simplify some more code, and fix a crash when the
cursor theme in GConf is unset that I introduced in r8212
svn path=/trunk/; revision=8228
2007-10-28 Jens Granseuer <jensgr@gmx.net>
Switch to using a common theme struct that includes a type descriptor
so we can avoid many of the theme type casts. This should also make
adding support for live cursor theme changes a little easier.
* gnome-theme-info.c: (add_theme_to_hash_by_name),
(remove_theme_from_hash_by_name), (get_theme_from_hash_by_name),
(gnome_theme_compare), (gnome_theme_free),
(add_default_cursor_theme), (gdk_pixbuf_from_xcursor_image),
(read_cursor_theme), (look_for_cursor_theme),
(read_current_cursor_font), (read_cursor_fonts),
(handle_change_signal), (update_theme_index),
(update_common_theme_dir_index), (gtk2_dir_changed),
(keybinding_dir_changed), (metacity_dir_changed),
(common_theme_dir_changed), (common_icon_theme_dir_changed),
(add_common_theme_dir_monitor),
(add_common_icon_theme_dir_monitor),
(remove_common_theme_dir_monitor), (top_theme_dir_changed),
(top_icon_theme_dir_changed), (real_add_top_theme_dir_monitor),
(gnome_theme_info_new), (gnome_theme_info_free),
(gnome_theme_info_find), (gnome_theme_info_find_all_helper),
(gnome_theme_icon_info_new), (gnome_theme_icon_info_find),
(gnome_theme_icon_info_find_all), (gnome_theme_cursor_info_new),
(gnome_theme_cursor_info_find), (gnome_theme_cursor_info_find_all),
(gnome_theme_meta_info_new), (gnome_theme_meta_info_free),
(gnome_theme_meta_info_find), (gnome_theme_meta_info_find_all),
(gnome_theme_color_scheme_parse), (gnome_theme_init):
* gnome-theme-info.h: Use CursorThemeCommonInfo wherever possible,
remove some unused code.
2007-10-28 Jens Granseuer <jensgr@gmx.net>
* appearance-style.c: (changed_on_disk_cb):
* appearance-themes.c: (theme_changed_on_disk_cb): adapt to changes in
theme change notification
2007-10-28 Jens Granseuer <jensgr@gmx.net>
* theme-method.c: (theme_changed_callback): adapt to modified
callback signature
svn path=/trunk/; revision=8224
2007-10-27 Jens Granseuer <jensgr@gmx.net>
* appearance-style.c: (cursor_size_scale_value_changed_cb),
(update_cursor_size_scale), (cursor_theme_changed), (prepare_list):
* appearance-themes.c: (theme_load_from_gconf):
* theme-util.h: reduce the number if XCURSOR ifdefs and get rid of the
special treatment for the default cursor theme
2007-10-27 Jens Granseuer <jensgr@gmx.net>
* gnome-theme-info.c: (look_for_cursor_theme), (read_cursor_fonts),
(gnome_theme_init): ensure we always have the "default" cursor theme in
the list
svn path=/trunk/; revision=8214
2007-10-25 Denis Washington <denisw@svn.gnome.org>
More fixes regarding integration of cursor themes into metathemes.
* appearance/appearance-themes.c: Take cursor size into account in
theme_is_equal(), and also watch the cursor theme/size gconf keys for
changes.
* common/gnome-theme-apply.c: Fix the cursor size being only being
updated if the cursor theme changed too.
* common/gnome-theme-info.c: Also watch
/usr/share/cursors/xorg-x11
for cursor themes (path used by Gentoo Linux).
svn path=/trunk/; revision=8198
2007-10-24 Jens Granseuer <jensgr@gmx.net>
* appearance-themes.c: (theme_load_from_gconf),
(theme_details_changed_cb), (themes_init): return a new theme instead
of munging whatever got passed in. Makes for a saner API
svn path=/trunk/; revision=8192
2007-10-18 Jens Granseuer <jensgr@gmx.net>
* appearance-themes.c: (theme_load_from_gconf),
(theme_set_custom_from_theme): really make sure gtk, metacity, icon, and
cursor themes are never NULL (should fix#487257 if the last commit didn't
already)
svn path=/trunk/; revision=8180
2007-10-14 Jens Granseuer <jensgr@gmx.net>
When updating theme info from GConf or copying it for customization, we
were ignoring xcursor settings. As a result, saved custom themes always
had the default theme set. (bug #485709)
* appearance-themes.c: (get_default_int_from_key),
(theme_load_from_gconf), (theme_set_custom_from_theme): when setting up
theme info, take cursor settings into account
svn path=/trunk/; revision=8168
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-07-29 Jens Granseuer <jensgr@gmx.net>
* data/appearance.glade:
* appearance-themes.c: (theme_custom_cb):
* theme-save.c: (save_dialog_response): only create the custom theme
entry when changes are made, and delete it when the theme is saved.
These changes obsolete the requirement for a modal details window.
svn path=/trunk/; revision=7928
2007-07-29 Denis Washington <denisw@svn.gnome.org>
* appearance-themes.c: (theme_message_area_response_cb),
(theme_message_area_update), (theme_selection_changed_cb),
(background_or_font_changed), (themes_init):
_Really_ only show background/font suggestions if they haven't
already been applied.
svn path=/trunk/; revision=7923
2007-07-29 Denis Washington <denisw@svn.gnome.org>
* appearance-themes.c: (theme_message_area_response_cb),
(theme_message_area_update), (theme_selection_changed_cb):
Only show background/font suggestions if they haven't already
been applied.
svn path=/trunk/; revision=7922
2007-07-29 Denis Washington <denisw@svn.gnome.org>
* data/appearance.glade:
* appearance-themes.c: (theme_message_area_response_cb),
(theme_message_area_update), (theme_selection_changed_cb),
(themes_init), (themes_shutdown):
* gedit-message-area.[ch]:
* theme-util.h:
Added controls for applying suggested backgrounds and/or fonts from
metathemes. Copied over some code from gedit for the message area
(GeditMessageArea).
* Makefile.am:
Added gedit-message-area.[ch].
svn path=/trunk/; revision=7921
2007-07-27 Jens Granseuer <jensgr@gmx.net>
* appearance-themes.c: (themes_init, theme_postinit): remove workarounds
for initialization problems in early versions of the capplet
svn path=/trunk/; revision=7904
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-24 Jens Granseuer <jensgr@gmx.net>
* appearance-themes.c: (theme_load_from_gconf): when reading current
settings from gconf, get the color scheme from the gtk theme if necessary
to allow matching against themes retrieved via gnome-theme-info
svn path=/trunk/; revision=7879
2007-07-08 Denis Washington <denisw@svn.gnome.org>
* appearance.glade: change the button order in themes tab.
* appearance-style.c: add an icon to Customize button.
svn path=/trunk/; revision=7835