Commit graph

15 commits

Author SHA1 Message Date
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
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
Kjartan Maraas
308c2ffc58 ANSIfication of function declaration.
2007-10-31  Kjartan Maraas  <kmaraas@gnome.org>

	* theme-method.c: (invoke_monitors): ANSIfication of
	function declaration.

svn path=/trunk/; revision=8242
2007-10-31 14:39:06 +00:00
Jens Granseuer
3dcede807d Switch to using a common theme struct that includes a type descriptor so
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-28 15:35:21 +00:00
Jens Granseuer
c80e878eb2 update to match theme callback signature; invoke_monitors looks icky,
2007-07-28  Jens Granseuer  <jensgr@gmx.net>

	* theme-method.c: (do_close), (do_unlink), (invoke_monitors),
	(theme_changed_callback), (vfs_module_init): update to match theme
	callback signature; invoke_monitors looks icky, though (the uri arg
	was ignored)

svn path=/trunk/; revision=7916
2007-07-28 15:50:32 +00:00
Jens Granseuer
17ec46ecb3 populate the VFS file info fields properly so that nautilus shows e.g.
2007-02-14  Jens Granseuer  <jensgr@gmx.net>

	* theme-method.c: (fill_info_struct), (do_read_directory): populate the
	VFS file info fields properly so that nautilus shows e.g. read-only
	emblems in themes:// (fixes bug #145175)

svn path=/trunk/; revision=7296
2007-02-14 18:23:34 +00:00
Rodrigo Moya
67269d543a fixed function signature.
2005-11-14  Rodrigo Moya <rodrigo@novell.com>

	* theme-method.c (do_tell): fixed function signature.
2005-11-14 15:29:12 +00:00
Kjartan Maraas
564a9d03aa Huge cleanup. Individual ChangeLogs have info. Closing bug #320157. ANSIfy
2005-11-14  Kjartan Maraas  <kmaraas@gnome.org>

	* */*: Huge cleanup. Individual ChangeLogs have info.
	Closing bug #320157.
	* libkbddraw/keyboard-drawing.h: ANSIfy some function declarations.
2005-11-14 15:18:09 +00:00
Kjartan Maraas
c788aa73df NULL vs. 0 Same
2004-12-25  Kjartan Maraas  <kmaraas@gnome.org>

	* theme-method.c: (vfs_module_init): NULL vs. 0
	* theme-thumbnailer.c: (main): Same
2004-12-25 14:37:57 +00:00
Jody Goldberg
9a9008178d merge and update patch from
http://bugzilla.gnome.org/show_bug.cgi?id=134895
2004-03-31 21:30:23 +00:00
Frédéric Crozat
285427e21f 64bits fixes.
* capplets/font/main.c: (sample_expose):
        * gnome-settings-daemon/gnome-settings-gtk1theme.c:
        (apply_settings):
        * vfs-methods/themus/theme-method.c:
        64bits fixes.
2004-02-06 10:53:58 +00:00
Alex Duggan
777ac6fd50 Remove #define _(s) and replaced with #include <glib/gi18n.h> which fixes
2004-01-07  Alex Duggan  <aldug@astrolinux.com>

	* theme-method.c:
	Remove #define _(s) and replaced with #include <glib/gi18n.h>
	which fixes bug #130757.  Add a function prototype
	(copied from font-method.c) to fix compiler warning.

	* themus-properties-view.c:
	Remove unused variable to fix compiler warning.
2004-01-07 18:08:24 +00:00
Andrew Sobala
079e8f507d Fix from Rajkumar Sivasamy for extracting themes under Solaris due to not using
GNU tar.

gnome-control-center relies on the tar/gzip/bzip2 *binaries* to extract themes.
Subsequently it can't tell if things go wrong. This is one very good reason why
fixing the tar/gz/bz2 vfs methods would be a very good thing.
2003-06-06 15:05:13 +00:00
Andrew Sobala
e3d66e9268 HELLO #COMMITS!!!
2003-06-03  Andrew Sobala  <aes@gnome.org>

	* themus-properties-view.c: fix description word wrapping
	* theme-method.c: gcc 2.x compile
2003-06-03 22:32:37 +00:00
Andrew Sobala
128bcd8d80 Andrew Sobala <aes@gnome.org>
The grand "themus->control-center" merge. See individual ChangeLogs for
details.
2003-05-13 18:37:05 +00:00