2008-05-24 Jens Granseuer <jensgr@gmx.net>
Based on a patch by: Lincoln de Sousa <lincoln@minaslivre.org>
Port the last remaining bits of gnome-vfs to gio (bug
#524401).
* appearance-main.c: (init_appearance_data):
* theme-installer.c: (cleanup_tmp_dir), (file_theme_type),
(transfer_cancel_cb), (gnome_theme_install_real),
(transfer_done_cb): use gio instead of gnome-vfs
* theme-util.c:
* theme-util.h: make file_delete_recursive public
* gnome-wp-info.c: include string.h to avoid warning
svn path=/trunk/; revision=8721
2008-05-08 Jens Granseuer <jensgr@gmx.net>
* appearance-style.c: (style_message_area_response_cb),
(update_message_area), (gtk_theme_changed), (style_init):
* appearance.h:
* data/appearance.glade: also show a missing theme engine in the
GTK themes list and offer to install it via packagekit
svn path=/trunk/; revision=8698
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-07 Jens Granseuer <jensgr@gmx.net>
Patch by: Lincoln de Sousa <lincoln@minaslivre.org>
* theme-save.c: (setup_directory_structure), (write_theme_to_disk):
replace some more gnome-vfs by gio (part of bug #524401)
svn path=/trunk/; revision=8694
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