Commit graph

326 commits

Author SHA1 Message Date
Kjartan Maraas
1d11ba802c Add CAPPLET_CFLAGS to INCLUDES to make it build.
2008-10-11  Kjartan Maraas  <kmaraas@gnome.org>

	* Makefile.am: Add CAPPLET_CFLAGS to INCLUDES to make
	it build.

svn path=/trunk/; revision=9059
2008-10-11 13:37:41 +00:00
Kjartan Maraas
b67f53a8ff Fix GCC warnings from -Wformat-security.
2008-10-11  Kjartan Maraas  <kmaraas@gnome.org>

	* gconf-property-editor.c: (peditor_image_set_filename):
	Fix GCC warnings from -Wformat-security.

svn path=/trunk/; revision=9057
2008-10-11 13:34:08 +00:00
Jens Granseuer
608b720123 use translated names for icon themes if available (bug #554272)
2008-09-29  Jens Granseuer  <jensgr@gmx.net>

	* gnome-theme-info.c: (read_icon_theme): use translated names for
	icon themes if available (bug #554272)

svn path=/trunk/; revision=9023
2008-09-29 20:02:49 +00:00
Vincent Untz
1aee7c2ad6 post-release bump to 2.24.1.
2008-09-24  Vincent Untz  <vuntz@gnome.org>

	* configure.in: post-release bump to 2.24.1.

svn path=/trunk/; revision=9001
2008-09-24 16:50:50 +00:00
Jens Granseuer
8f77ccc2ad properly initialize the callback data (bug #550263)
2008-09-02  Jens Granseuer  <jensgr@gmx.net>

	* file-transfer-dialog.c: (file_transfer_job_schedule): properly
	initialize the callback data (bug #550263)

svn path=/trunk/; revision=8914
2008-09-02 15:22:43 +00:00
Jens Granseuer
87c639d9bf don't leak the theme engine path
2008-08-16  Jens Granseuer  <jensgr@gmx.net>

	* gnome-theme-info.c: (gtk_theme_info_missing_engine): don't leak
	the theme engine path

svn path=/trunk/; revision=8868
2008-08-16 13:18:27 +00:00
Jens Granseuer
72c4c5e6bd Keep track of hidden themes, too, so that e.g. we don't erroneously show
2008-08-16  Jens Granseuer  <jensgr@gmx.net>

	Keep track of hidden themes, too, so that e.g. we don't erroneously
	show "GTK theme missing" when a metatheme references a hidden GTK
	theme (part of bug #547301)

	* gnome-theme-info.c: (gnome_theme_read_meta_theme),
	(read_icon_theme), (read_cursor_theme): don't skip hidden themes,
	initialize the hidden property
	(gnome_theme_info_find_all_helper): only return non-hidden themes
	* gnome-theme-info.h: add hidden property to all theme types

svn path=/trunk/; revision=8865
2008-08-16 10:48:20 +00:00
Jens Granseuer
71e3280c3c make sure we have a notification theme before trying to save it (bug
2008-08-12  Jens Granseuer  <jensgr@gmx.net>

	* gnome-theme-apply.c: (gnome_meta_theme_set): make sure we have a
	notification theme before trying to save it (bug #547448)

svn path=/trunk/; revision=8855
2008-08-12 16:45:22 +00:00
Jens Granseuer
05ce6eaabe if the metatheme loaded doesn't define a notification theme don't set it
2008-08-03  Jens Granseuer  <jensgr@gmx.net>

	* gnome-theme-apply.c: (gnome_meta_theme_set): if the metatheme loaded
	doesn't define a notification theme don't set it to "standard" (bug
	#546036)

svn path=/trunk/; revision=8834
2008-08-03 08:23:24 +00:00
Jens Granseuer
ff258486a6 make the file transfer dialog work with GFiles instead gchar paths
2008-07-29  Jens Granseuer  <jensgr@gmx.net>

	* file-transfer-dialog.c: (file_transfer_job_destroy),
	(file_transfer_job_schedule), (file_transfer_dialog_copy_async):
	make the file transfer dialog work with GFiles instead gchar paths
	internally

2008-07-29  Jens Granseuer  <jensgr@gmx.net>

	* theme-installer.c: (gnome_theme_install_from_uri): file transfer
	dialog now uses GFiles internally, so update the caller

svn path=/trunk/; revision=8826
2008-07-29 20:21:47 +00:00
Bastien Nocera
2cac70eea3 Remove libsounds and esound usage, check for libcanberra instead (Closes:
2008-07-28  Bastien Nocera  <hadess@hadess.net>

	* Makefile.am:
	* configure.in: Remove libsounds and esound usage, check for
	libcanberra instead (Closes: #542979)

2008-07-28  Bastien Nocera  <hadess@hadess.net>

	* theme-util.c:
	* theme-util.h: Remove the directory deletion helpers, and
	move them to the common sub-directory

2008-07-28  Bastien Nocera  <hadess@hadess.net>

	* Makefile.am:
	* capplet-util.c (directory_delete_recursive),
	(capplet_file_delete_recursive):
	* capplet-util.h: Move directory deletion helper function
	from the appearance capplet into a common directory

2008-07-28  Bastien Nocera  <hadess@hadess.net>

	* Makefile.am:
	* sound-properties-capplet.c (create_dialog), (setup_dialog),
	(get_legacy_settings):
	* sound-properties.glade:
	* sound-theme-definition.h:
	* sound-theme-file-utils.[ch]:
	* sound-theme.[ch]: Remove separate bell settings tab, remove
	libsounds dependency, add freedesktop sound theme support through
	libcanberra (Closes: #542979)


svn path=/trunk/; revision=8802
2008-07-27 23:32:35 +00:00
Matthias Clasen
536abe1a33 Bug 533611 - add notification themes to the metatheme format
* 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-07-15 18:23:31 +00:00
Thomas Wood
4da6d2f501 Remove some redundant and unused code
2008-06-01  Thomas Wood  <thos@gnome.org>

	* capplet-util.c:
	* capplet-util.h:

	Remove some redundant and unused code

svn path=/trunk/; revision=8742
2008-06-01 16:57:56 +00:00
Jens Granseuer
90d606a496 return to using paths instead of URIs since most of the code using them
2008-05-24  Jens Granseuer  <jensgr@gmx.net>

	* gnome-theme-info.c: (gnome_theme_read_meta_theme),
	(read_icon_theme), (read_cursor_theme), (read_cursor_fonts),
	(update_theme_index): return to using paths instead of URIs since
	most of the code using them expects paths

2008-05-24  Jens Granseuer  <jensgr@gmx.net>

	* theme-util.c: (theme_is_writable), (theme_delete): expect
	a path instead of an URI in theme_info->path

svn path=/trunk/; revision=8724
2008-05-24 17:19:26 +00:00
Thomas Wood
e544be375b Allow the data property to be read as well as written.
2008-05-18  Thomas Wood  <thos@gnome.org>

	* gconf-property-editor.c: (gconf_property_editor_class_init),
	(gconf_property_editor_get_prop): Allow the data property to be
	read as well as written.

svn path=/trunk/; revision=8718
2008-05-18 21:33:07 +00:00
Jens Granseuer
4edaa68a86 use G_DEFINE_TYPE to get rid of the boilerplate code and remove a number
2008-05-18  Jens Granseuer  <jensgr@gmx.net>

	* gconf-property-editor.c: (gconf_property_editor_init),
	(gconf_property_editor_class_init),
	(gconf_property_editor_finalize), (gconf_peditor_new),
	(gconf_peditor_new_boolean), (gconf_peditor_new_integer_valist),
	(gconf_peditor_new_string_valist), (gconf_peditor_new_color),
	(gconf_peditor_new_combo_box),
	(gconf_peditor_new_combo_box_with_enum),
	(gconf_peditor_new_select_radio),
	(gconf_peditor_new_numeric_range),
	(gconf_peditor_widget_set_guard), (gconf_peditor_new_enum_toggle),
	(peditor_image_set_filename), (peditor_image_clicked_cb),
	(gconf_peditor_new_image),
	(gconf_peditor_new_select_radio_with_enum): use G_DEFINE_TYPE to
	get rid of the boilerplate code and remove a number of unnecessary
	casts

svn path=/trunk/; revision=8717
2008-05-17 21:53:39 +00:00
Vincent Untz
5e14bcf311 post-release bump to 2.23.3
2008-05-17  Vincent Untz  <vuntz@gnome.org>

	* configure.in: post-release bump to 2.23.3

svn path=/trunk/; revision=8716
2008-05-17 16:56:46 +00:00
Jens Granseuer
bfeca03824 remove unused files
2008-05-17  Jens Granseuer  <jensgr@gmx.net>

	* bonobo-property-editor-range.c:
	* bonobo-property-editor-range.h: remove unused files

svn path=/trunk/; revision=8711
2008-05-17 09:06:40 +00:00
Søren Sandmann
8c9c2abbac Delete this directory since it's not used any more
Fri May 16 21:55:52 2008  Søren Sandmann  <sandmann@redhat.com>

	* libbackground: Delete this directory since it's not used any
	more


svn path=/trunk/; revision=8708
2008-05-17 02:00:50 +00:00
Jens Granseuer
140deb2526 split out the check for the missing theme engine because we also need it
2008-05-07  Jens Granseuer  <jensgr@gmx.net>

	* gnome-theme-info.c: (gtk_theme_info_missing_engine),
	(gnome_theme_meta_info_validate):
	* gnome-theme-info.h: split out the check for the missing theme
	engine because we also need it for the packagekit support

svn path=/trunk/; revision=8696
2008-05-07 20:23:19 +00:00
Jens Granseuer
15fbcb3bde fix error code when GTK engine is missing, and fix the function signature
2008-05-06  Jens Granseuer  <jensgr@gmx.net>

	* gnome-theme-info.c: (gnome_theme_meta_info_validate): fix error
	code when GTK engine is missing, and fix the function signature

svn path=/trunk/; revision=8693
2008-05-06 18:37:55 +00:00
Jens Granseuer
3c71eb6319 move metatheme validation code here from the appearance capplet and add
2008-05-06  Jens Granseuer  <jensgr@gmx.net>

	* Makefile.am:
	* gnome-theme-info.c: (gnome_theme_info_error_quark),
	(gnome_theme_meta_info_free), (gnome_theme_meta_info_validate):
	* gnome-theme-info.h: move metatheme validation code here from the
	appearance capplet and add proper error codes

2008-05-06  Jens Granseuer  <jensgr@gmx.net>

	* Makefile.am:
	* appearance-themes.c: (theme_message_area_update): move metatheme
	validation code to common/gnome-theme-info.c

svn path=/trunk/; revision=8692
2008-05-06 17:41:57 +00:00
Jens Granseuer
9297cec083 doesn't need gnome-vfs any longer
2008-05-04  Jens Granseuer  <jensgr@gmx.net>

	* gnome-theme-test.c: (main): doesn't need gnome-vfs any longer

svn path=/trunk/; revision=8690
2008-05-04 13:44:45 +00:00
Jens Granseuer
a9e90ad542 always use URIs instead for info->path; since gio cleanly distinguishes
2008-05-01  Jens Granseuer  <jensgr@gmx.net>

	* gnome-theme-info.c: (read_cursor_theme), (read_cursor_fonts),
	(update_theme_index): always use URIs instead for info->path; since
	gio cleanly distinguishes path/uri (contrary to gnome-vfs), the
	random mix we have right now is becoming a nuisance

svn path=/trunk/; revision=8684
2008-05-01 14:11:38 +00:00
Jens Granseuer
d714ff7e49 port from gnome-vfs to gio (part of bug #524401)
2008-05-01  Jens Granseuer  <jensgr@gmx.net>

	* gnome-theme-apply.c:
	* gnome-theme-info.c: (get_file_type), (add_theme_to_hash_by_name),
	(get_theme_from_hash_by_name), (gnome_theme_read_meta_theme),
	(read_icon_theme), (gdk_pixbuf_from_xcursor_image),
	(read_cursor_theme), (handle_change_signal), (update_theme_index),
	(update_gtk2_index), (update_keybinding_index),
	(update_metacity_index), (update_common_theme_dir_index),
	(update_meta_theme_index), (update_icon_theme_index),
	(update_cursor_theme_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),
	(remove_common_icon_theme_dir_monitor), (top_theme_dir_changed),
	(top_icon_theme_dir_changed), (real_add_top_theme_dir_monitor),
	(add_top_theme_dir_monitor), (add_top_icon_theme_dir_monitor),
	(gnome_theme_init):
	* gnome-theme-info.h:
	* gnome-theme-test.c: (main): port from gnome-vfs to gio (part of
	bug #524401)

2008-05-01  Jens Granseuer  <jensgr@gmx.net>

	* appearance-themes.c: (themes_init): update for changes in the
	theme-info API

2008-05-01  Jens Granseuer  <jensgr@gmx.net>

	* theme-method.c: (vfs_module_init):
	* themus-properties-view.c: (themus_properties_view_init),
	(themus_properties_view_set_location):
	* themus-theme-applier.c: (main): update users of the theme-info
	API

svn path=/trunk/; revision=8681
2008-05-01 09:08:07 +00:00
Jens Granseuer
d381f4019f drop redundant GType stuff
2008-04-20  Jens Granseuer  <jensgr@gmx.net>

	* file-transfer-dialog.c: (file_transfer_dialog_finalize),
	(file_transfer_dialog_class_init): drop redundant GType stuff

svn path=/trunk/; revision=8662
2008-04-20 21:00:36 +00:00
Jens Granseuer
10e93c23ad unref the thumbnail image after passing it to the callback. Callers will
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-20 10:29:49 +00:00
Jens Granseuer
6cfdc46460 figure out where GTK+ expects its theme engines and make that info
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-04-19 10:30:34 +00:00
Jens Granseuer
debc4f4091 Disable theme thumbnailing on MacOS. Some CoreFoundation functionality can
2008-04-13  Jens Granseuer  <jensgr@gmx.net>

	Disable theme thumbnailing on MacOS. Some CoreFoundation functionality
	can apparently no longer be used from forked processes (see bug
	#525058). Unfortunately, it is used by freetype/pango/cairo/gtk, and
	as such by our forked thumbnailer. This change means no thumbnails on
	MacOS, but I suppose that's better than crashing. Reworking the
	thumbnailer to work without forking is going to be a major effort.

	* theme-thumbnail.c: (theme_thumbnail_factory_init): only enable the
	asynchronous thumbnailer if not on MacOS

svn path=/trunk/; revision=8649
2008-04-13 17:06:34 +00:00
Jens Granseuer
394c5698a9 include config.h, use strcmp instead of our home-grown g_str_nequal, and
2008-04-12  Jens Granseuer  <jensgr@gmx.net>

	* gtkrc-utils.c: (gtkrc_get_details), (gtkrc_get_color_scheme):
	* gtkrc-utils.h: include config.h, use strcmp instead of our home-grown
	g_str_nequal, and constify the parameter of gtkrc_get_color_scheme

svn path=/trunk/; revision=8645
2008-04-12 12:12:29 +00:00
Jens Granseuer
4793494b59 use G_DEFINE_TYPE instead of open-coding get_type
2008-03-30  Jens Granseuer  <jensgr@gmx.net>

	* file-transfer-dialog.c: (file_transfer_dialog_init): use
	G_DEFINE_TYPE instead of open-coding get_type

svn path=/trunk/; revision=8611
2008-03-30 11:16:37 +00:00
Jens Granseuer
a12ed153f0 keep the overwrite confirmation around for an entire job, so we don't
2008-03-28  Jens Granseuer  <jensgr@gmx.net>

	* file-transfer-dialog.c: (file_transfer_job_destroy),
	(file_transfer_dialog_overwrite), (file_transfer_job_schedule): keep
	the overwrite confirmation around for an entire job, so we don't reset
	the window position all the time

svn path=/trunk/; revision=8606
2008-03-28 22:03:09 +00:00
Jens Granseuer
cf0721ca19 add support for file overwrite confirmation
2008-03-27  Jens Granseuer  <jensgr@gmx.net>

	* file-transfer-dialog.c: (file_transfer_dialog_set_prop),
	(file_transfer_dialog_get_prop), (file_transfer_dialog_init),
	(file_transfer_job_update), (file_transfer_job_progress),
	(file_transfer_dialog_overwrite), (file_transfer_job_schedule),
	(file_transfer_dialog_copy_async):
	* file-transfer-dialog.h: add support for file overwrite confirmation

2008-03-27  Jens Granseuer  <jensgr@gmx.net>

	* theme-installer.c: (gnome_theme_install_real): remove bogus flag
	(gnome_theme_install_from_uri): update for internal API change

svn path=/trunk/; revision=8601
2008-03-27 20:59:44 +00:00
Jens Granseuer
6d3edb2018 actually check the cursor size before changing it in GConf, not the theme
2008-03-11  Jens Granseuer  <jensgr@gmx.net>

	* gnome-theme-apply.c: (gnome_meta_theme_set): actually check the
	cursor size before changing it in GConf, not the theme name
	(thanks to Kjartan Maraas)

svn path=/trunk/; revision=8578
2008-03-11 19:00:37 +00:00
Jens Granseuer
d34d7a02e6 Encountering a theme that could not be thumbnailed (e.g. because the
2008-03-11  Jens Granseuer  <jensgr@gmx.net>

	Encountering a theme that could not be thumbnailed (e.g. because the
	metacity theme for a metatheme isn't installed) would make the
	thumbnailer crash. Since it's not restarted by the appearance capplet
	this would result in all themes encountered after the broken one not
	to be thumbnailed either. This change fixes up error handling in the
	thumbnailer so that the broken theme is simply skipped and processing
	can continue with the next one. (bug #521009)

	* theme-thumbnail.c: (create_meta_theme_pixbuf),
	(create_metacity_theme_pixbuf), (message_from_capplet),
	(message_from_child), (read_pixbuf),
	(generate_theme_thumbnail_async), (theme_thumbnail_factory_init):
	properly handle failed thumbnailing attempts

svn path=/trunk/; revision=8576
2008-03-11 17:43:43 +00:00
Jens Granseuer
d3b988bc36 don't free the GConf value if we don't have one. Fixes a crash when
2008-03-11  Jens Granseuer  <jensgr@gmx.net>

	* gconf-property-editor.c: (peditor_numeric_range_widget_changed): don't
	free the GConf value if we don't have one. Fixes a crash when schemas
	are not properly installed (bug #520744)

svn path=/trunk/; revision=8574
2008-03-11 17:33:31 +00:00
Jens Granseuer
7277489eb5 port to gio
2008-02-27  Jens Granseuer  <jensgr@gmx.net>

	* file-transfer-dialog.c: (file_transfer_dialog_update_num_files),
	(file_transfer_dialog_response), (file_transfer_dialog_finalize),
	(file_transfer_dialog_set_prop), (file_transfer_dialog_class_init),
	(file_transfer_dialog_init), (file_transfer_dialog_get_type),
	(file_transfer_job_update_before),
	(file_transfer_job_update_after), (file_transfer_job_destroy),
	(file_transfer_dialog_done), (file_transfer_dialog_cancel),
	(file_transfer_job_schedule), (file_transfer_dialog_copy_async):
	* file-transfer-dialog.h: port to gio

2008-02-27  Jens Granseuer  <jensgr@gmx.net>

	* theme-installer.c: (gnome_theme_install_from_uri): adapt to new
	FileTransferDialog that uses gio instead of GnomeVFS

svn path=/trunk/; revision=8530
2008-02-27 21:14:25 +00:00
Thomas Wood
e0288e3e5d Return FALSE on error or EOF, which should also fix bug 516413, in
2008-02-25  Thomas Wood  <thos@gnome.org>

	* theme-thumbnail.c: (message_from_child): Return FALSE on error or EOF,
	which should also fix bug 516413, in addition to checking for G_IO_HUP.

svn path=/trunk/; revision=8523
2008-02-25 22:06:42 +00:00
Thomas Wood
26be7ba979 (create_meta_theme_pixbuf), (create_metacity_theme_pixbuf): Use the new
2008-02-25  Thomas Wood  <thos@gnome.org>

	* theme-thumbnail.c:

	(create_meta_theme_pixbuf), (create_metacity_theme_pixbuf):
	Use the new meta_preview_get_clip_region() function in Metacity to fix
	bug 460018 (Rounded window borders don't get rendered correctly).

	(message_from_child): Do not attempt to read from the pipe when
	the connection has been broken. Fixes bug 516413 (Theme thumbnailer
	causes UI to stop drawing when encountering an error).

svn path=/trunk/; revision=8521
2008-02-25 17:41:54 +00:00
Jens Granseuer
2dbea1360c fix small leak
2008-02-19  Jens Granseuer  <jensgr@gmx.net>

	* file-transfer-dialog.c: (file_transfer_dialog_update_num_files): fix
	small leak

svn path=/trunk/; revision=8508
2008-02-19 19:29:16 +00:00
Jens Granseuer
c06bce17af remove code for obsolete "stock" icons
2008-01-25  Jens Granseuer  <jensgr@gmx.net>

	* capplet-stock-icons.c: (capplet_init_stock_icons): remove code
	for obsolete "stock" icons

2008-01-25  Jens Granseuer  <jensgr@gmx.net>

	* Makefile.am:
	* keyboard-bell.png:
	* keyboard-cursor.png:
	* keyboard-repeat.png:
	* keyboard-volume.png: remove obsolete icons
	* gnome-keyboard-properties.c: (setup_dialog): don't initialize
	our custom "stock" icons since we don't use them any longer

2008-01-25  Jens Granseuer  <jensgr@gmx.net>

	* Makefile.am:
	* mouse-left.png:
	* mouse-right.png: remove obsolete icons

svn path=/trunk/; revision=8412
2008-01-25 18:55:50 +00:00
Rodrigo Moya
5f3355c499 prepare for 2.21.5.
2008-01-14  Rodrigo Moya <rodrigo@gnome-db.org>

	* configure.in:
	* NEWS: prepare for 2.21.5.

	* capplets/common/Makefile.am: fixed CFLAGS and LIBS.

	* capplets/common/activate-settings-daemon.c: include new built
	header file for DBus interface.

	* configure.in: check gnome-settings-daemon.

svn path=/trunk/; revision=8395
2008-01-15 11:45:27 +00:00
Luca Ferretti
bac3c4a227 Add support for WindowTitleFont and DocumentsFont keys in meta-themes. See
2007-12-21  Luca Ferretti  <elle.uca@libero.it>

	* gnome-theme-info.c: (gnome_theme_read_meta_theme),
	(gnome_theme_meta_info_free), (gnome_theme_meta_info_print),
	(gnome_theme_meta_info_compare):
	* gnome-theme-info.h:
	Add support for WindowTitleFont and DocumentsFont keys in
	meta-themes. See bug #504250


svn path=/trunk/; revision=8340
2007-12-21 19:40:07 +00:00
Jens Granseuer
b0912ed2b5 don't even try to open NULL filenames, and don't leak filenames when
2007-12-14  Jens Granseuer  <jensgr@gmx.net>

	* gtkrc-utils.c: (gtkrc_get_details), (gtkrc_get_color_scheme): don't
	even try to open NULL filenames, and don't leak filenames when
	detecting recursions

svn path=/trunk/; revision=8330
2007-12-14 15:03:27 +00:00
Jens Granseuer
e146579518 don't try to map invisible widgets, e.g. the button icon when running with
2007-12-09  Jens Granseuer  <jensgr@gmx.net>

	* theme-thumbnail.c: (hbox_foreach): don't try to map invisible
	widgets, e.g. the button icon when running with gtk-button-images=0
	(bug #461298)

svn path=/trunk/; revision=8322
2007-12-09 15:36:10 +00:00
Jens Granseuer
205e897235 free metacity theme after use
2007-12-09  Jens Granseuer  <jensgr@gmx.net>

	* theme-thumbnail.c: (create_meta_theme_pixbuf): free metacity theme
	after use

svn path=/trunk/; revision=8321
2007-12-09 15:10:41 +00:00
Jens Granseuer
94a48c78ce Patch by: Brian Cameron <brian.cameron@sun.com>
2007-12-04  Jens Granseuer  <jensgr@gmx.net>

	Patch by: Brian Cameron <brian.cameron@sun.com>

	* gtkrc-utils.c: (gtkrc_get_details), (gtkrc_get_color_scheme):
	printing NULL strings crashes on Solaris so don't do that (bug #501391)

svn path=/trunk/; revision=8309
2007-12-04 17:58:52 +00:00
Rodrigo Moya
3be83efcfc re-added GnomeThemeElement to the "public" API, since it's used in
20007-11-12  Rodrigo Moya <rodrigo@gnome-db.org>

	* gnome-theme-info.c:
	* gnome-theme-info.h: re-added GnomeThemeElement to the "public" API,
	since it's used in gnome-theme-test.

svn path=/trunk/; revision=8279
2007-11-12 13:39:04 +00:00
Jens Granseuer
e1e7254db8 remove GnomeThemeElement from the "public" API
2007-11-11  Jens Granseuer  <jensgr@gmx.net>

	* gnome-theme-info.c:
	* gnome-theme-info.h: remove GnomeThemeElement from the "public" API

svn path=/trunk/; revision=8277
2007-11-11 19:43:39 +00:00
Jens Granseuer
9e29ffc280 remove more redundant info from the theme changed callback
2007-11-11  Jens Granseuer  <jensgr@gmx.net>

	* gnome-theme-info.c: (handle_change_signal), (update_theme_index),
	(update_common_theme_dir_index):
	* gnome-theme-info.h: remove more redundant info from the theme changed
	callback

2007-11-11  Jens Granseuer  <jensgr@gmx.net>

	* appearance-style.c: (changed_on_disk_cb):
	* appearance-themes.c: (theme_changed_on_disk_cb): adapt to modified
	theme change callback


2007-11-11  Jens Granseuer  <jensgr@gmx.net>

	* theme-method.c: (theme_changed_callback): adapt to callback change

svn path=/trunk/; revision=8276
2007-11-11 19:36:29 +00:00