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-05-01 Jens Granseuer <jensgr@gmx.net>
Based on a patch by: Lincoln de Sousa <lincoln@minaslivre.org>
* appearance-desktop.c: (wp_drag_received), (wp_update_preview): more
gio conversion (part of bug #524401)
svn path=/trunk/; revision=8683
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
2008-03-19 Jens Granseuer <jensgr@gmx.net>
* data/appearance.glade: don't declare the backgrounds icon view
reorderable. It's not. Besides, setting this property breaks the
custom drag and drop functionality (bug #523347). This fixes the
critical warning when trying to drag an unselected item, but it looks
like the new nautilus doesn't support background drag and drop, anyway
svn path=/trunk/; revision=8584
2008-03-11 Jens Granseuer <jensgr@gmx.net>
* data/appearance.glade: don't resize the font samples vertically when
the window is resized (bug #521823)
svn path=/trunk/; revision=8577
2008-02-16 Jens Granseuer <jensgr@gmx.net>
* appearance-desktop.c: (wp_option_menu_set), (wp_load_stuffs):
* gnome-wp-item.c: (gnome_wp_item_update), (gnome_wp_item_new):
* gnome-wp-item.h: always apply the current GConf settings to the
initially selected wallpaper so that we don't modify the settings if
GConf state and the definition in backgrounds.xml are not identical
(bug #516746)
* gnome-wp-xml.c: (gnome_wp_xml_load_xml): get rid of redundant if
svn path=/trunk/; revision=8489
2008-02-14 Jens Granseuer <jensgr@gmx.net>
* appearance-desktop.c: (wp_scale_type_changed): don't try to set shading
and options in GConf when we're dealing with a read-only source (bug
#516328)
svn path=/trunk/; revision=8485
2008-02-09 Jens Granseuer <jensgr@gmx.net>
* theme-installer.c: (gnome_theme_installer_run): make sure we're done
with the dialog before we destroy it (bug #515414)
svn path=/trunk/; revision=8460
2008-01-24 Jens Granseuer <jensgr@gmx.net>
* appearance-desktop.c: (on_item_changed): only declare variables at
the beginning of a code block...
* gnome-wp-item.c: (gnome_wp_item_update_description): ... and fix a
constness warning
* gnome-wp-xml.c: (gnome_wp_xml_load_xml): remove unused variable
svn path=/trunk/; revision=8410
2007-12-22 Thomas Wood <thos@gnome.org>
* theme-installer.c: (transfer_done_tgz_tbz),
(transfer_done_archive), (gnome_theme_install_real),
(transfer_done_cb), (gnome_theme_install_from_uri):
Make error dialogs more complient with the HIG (bug 400968).
svn path=/trunk/; revision=8344
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-12-06 Jens Granseuer <jensgr@gmx.net>
* gnome-wp-item.c: (gnome_wp_item_update_description): slightly change
the code layout in hoping that intltool will now pick up the
translation hint...
svn path=/trunk/; revision=8314
2007-11-18 Jens Granseuer <jensgr@gmx.net>
* appearance-desktop.c: (desktop_init): add shortcut for
/usr/share/backgrounds to background file chooser and also consider it
when setting the initial directory (bug #497807)
svn path=/trunk/; revision=8289
2007-11-03 Jens Granseuer <jensgr@gmx.net>
* appearance-desktop.c: (wp_color_changed), (wp_props_wp_set):
* gnome-wp-item.c: (gnome_wp_item_new), (gnome_wp_item_free),
(gnome_wp_item_dup):
* gnome-wp-item.h:
* gnome-wp-xml.c: (gnome_wp_xml_load_xml), (gnome_wp_xml_save_list):
be more careful when reading background information from GConf and make
sure we don't choke on NULL values later on (bug #492903)
svn path=/trunk/; revision=8249
2007-10-30 Jens Granseuer <jensgr@gmx.net>
* theme-installer.c: (gnome_theme_installer_run): revert last patch,
it's just too ugly as long as the "one dialog per installed file" issue
isn't fixed
svn path=/trunk/; revision=8236
2007-10-30 Jens Granseuer <jensgr@gmx.net>
Patch by: Benjamin Gramlich <benjamin.gramlich@gmail.com>
* theme-installer.c: (gnome_theme_installer_run): allow the user to
select multiple themes to install at once (first part of the fix for
bug #124554)
svn path=/trunk/; revision=8235
2007-10-30 Jens Granseuer <jensgr@gmx.net>
When installing multiple themes at once, don't ask the user whether to
apply after each theme. Instead, simply show a success message after
installation has finished, and ask only if a single theme has been
installed.
* theme-installer.c: (gnome_theme_install_real),
(transfer_done_cb): check whether there are multiple themes to install
up front, and skip the apply dialog if so
svn path=/trunk/; revision=8234
2007-10-30 Jens Granseuer <jensgr@gmx.net>
* theme-installer.c: (gnome_theme_install_real): also update the icon
cache for icon themes with cursors
svn path=/trunk/; revision=8233
2007-10-30 Jens Granseuer <jensgr@gmx.net>
* theme-installer.c: (file_theme_type), (gnome_theme_install_real):
teach the installer to recognize cursor themes and icon themes with
cursors and how to apply them
svn path=/trunk/; revision=8232
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