Commit graph

20 commits

Author SHA1 Message Date
Jens Granseuer
147912ed01 fix cut'n'paste errors for the tooltip colors and use new color enum
2007-07-30  Jens Granseuer  <jensgr@gmx.net>

	* appearance-style.c: (color_button_clicked_cb): fix cut'n'paste errors
	for the tooltip colors and use new color enum

	* data/appearance.glade: repair the mess glade3 made of the file

2007-07-30  Jens Granseuer  <jensgr@gmx.net>

	* gnome-theme-info.c: (gnome_theme_color_scheme_parse),
	(gnome_theme_color_scheme_equal):
	* gnome-theme-info.h: add symbolic colors enum and use it

svn path=/trunk/; revision=7936
2007-07-30 18:22:00 +00:00
Denis Washington
2834baf127 Read a cursor theme's name from it's index.theme file if it has one.
2007-07-28  Denis Washington  <denisw@svn.gnome.org>

	* common/gnome-theme-info.h:
	* common/gnome-theme-info.c: (look_in_cursor_theme),
	(gnome_theme_cursor_info_free):
	Read a cursor theme's name from it's index.theme file if it has one.

	* appearance/appearance-style.c: (prepare_list):
	Show readable_name in cursor theme list instead of name.

svn path=/trunk/; revision=7914
2007-07-28 13:53:15 +00:00
Thomas Wood
f437b8f99d Add missing include
2007-07-28  Thomas Wood  <thos@gnome.org>

	* gnome-theme-info.h: Add missing include

2007-07-28  Thomas Wood  <thos@gnome.org>

	* theme-util.c: Add missing include

svn path=/trunk/; revision=7906
2007-07-28 10:53:57 +00:00
Jens Granseuer
abd1b52762 move some utility code here from appearance
2007-07-26  Jens Granseuer  <jensgr@gmx.net>

	* gnome-theme-info.c: (gnome_theme_read_meta_theme),
	(gnome_theme_color_scheme_parse), (gnome_theme_color_scheme_equal):
	* gnome-theme-info.h:
	* gtkrc-utils.c: (str_nequal), (gtkrc_get_color_scheme),
	(gtkrc_get_color_scheme_for_theme):
	* gtkrc-utils.h: move some utility code here from appearance

	* gnome-theme-apply.c: (gnome_meta_theme_set): when applying a metatheme,
	check whether to set/unset the color scheme gconf key (should fix bug
	#421866)

svn path=/trunk/; revision=7897
2007-07-26 19:48:14 +00:00
Denis Washington
78b4743519 Re-add basic support for cursor themes for X servers without the Xcursor
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-26 16:15:35 +00:00
Denis Washington
ce7f03bdc3 Add support for cursor theme names saved in metathemes.
2007-07-25  Denis Washington <denisw@svn.gnome.org>

  * gnome-theme-info.h:
  * gnome-theme-info.c: (gnome_theme_read_meta_theme):
  * gnome-theme-apply.c: (gnome_meta_theme_set):
  Add support for cursor theme names saved in metathemes.

svn path=/trunk/; revision=7883
2007-07-25 17:30:21 +00:00
Jens Granseuer
fa41845299 include gdk-pixbuf.h (fixes bug #454634)
2007-07-08  Jens Granseuer  <jensgr@gmx.net>

	* gnome-theme-info.h: include gdk-pixbuf.h (fixes bug #454634)

svn path=/trunk/; revision=7833
2007-07-08 15:23:08 +00:00
Denis Washington
bbee377d3f Add support for cursor themes (GnomeThemeCursorInfo); probably still a bit
2007-07-01  Denis Washington  <denisw@svn.gnome.org>

	* gnome-theme-info.[ch]:
	Add support for cursor themes (GnomeThemeCursorInfo); probably still a bit
	rough around the edges, but it works.

svn path=/trunk/; revision=7823
2007-07-05 17:43:09 +00:00
Jens Granseuer
33dd3f654a fix function signatures
2007-06-20  Jens Granseuer  <jensgr@gmx.net>

	* gnome-theme-info.c: (gnome_theme_icon_info_find,
	gnome_theme_is_writable):
	* gnome-theme-info.h: fix function signatures

svn path=/trunk/; revision=7754
2007-06-20 20:14:18 +00:00
Jens Granseuer
7144393cbc modify the theme change callback to return more useful information and add
2007-06-07  Jens Granseuer  <jensgr@gmx.net>

	* gnome-theme-info.c: (handle_change_signal),
	(gnome_theme_is_writable),
	(gnome_theme_info_register_theme_change):
	* gnome-theme-info.h:
	modify the theme change callback to return more useful
	information and add a function to determine whether a given
	theme is writable

svn path=/trunk/; revision=7703
2007-06-07 19:08:19 +00:00
Jens Granseuer
f7873f1304 some more house-keeping
2007-06-06  Jens Granseuer  <jensgr@gmx.net>

	* gnome-theme-info.c: (safe_strcmp), (get_data_from_hash_by_name),
	(read_icon_theme), (handle_change_signal), (update_theme_index),
	(gnome_theme_meta_info_compare):
	* gnome-theme-info.h: some more house-keeping

svn path=/trunk/; revision=7698
2007-06-06 16:05:55 +00:00
Jens Granseuer
f86808e954 add a "readable_name" property for icon themes, and make sure "name"
2007-05-25  Jens Granseuer  <jensgr@gmx.net>

	* gnome-theme-info.c: (read_icon_theme):
	* gnome-theme-info.h:
	add a "readable_name" property for icon themes, and make sure "name"
	points to the internal theme name

svn path=/trunk/; revision=7660
2007-05-25 20:16:10 +00:00
Thomas Wood
13c68a2e1e - Remove seperate color scheme saving UI - Add support for
2007-01-19  Thomas Wood  <thos@gnome.org>

	* gnome-theme-details.c: (update_color_scheme_tab), (color_select),
	(toggle_color_scheme_key):
	* gnome-theme-manager.c: (free_all), (load_meta_themes),
	(meta_theme_setup_info), (meta_theme_selection_changed),
	(update_themes_from_disk), (add_custom_row_to_meta_theme),
	(themes_equal), (update_settings_from_gconf_idle),
	(update_settings_from_gconf), (gtk_theme_key_changed),
	(setup_dialog):
	* gnome-theme-save.c: (write_theme_to_disk):
	* theme-properties.glade:

	- Remove seperate color scheme saving UI
	- Add support for gtk-color-scheme key in metatheme info

2007-01-19  Thomas Wood  <thos@gnome.org>

	* gnome-theme-apply.c: (gnome_meta_theme_set):
	* gnome-theme-info.c: (gnome_theme_read_meta_theme),
	(gnome_theme_meta_info_new), (gnome_theme_meta_info_free),
	(gnome_theme_meta_info_print), (gnome_theme_meta_info_compare):
	* gnome-theme-info.h:

	Add support for saving and applying the gtk-color-scheme key

svn path=/trunk/; revision=7152
2007-01-19 01:33:26 +00:00
Muktha
5201e26525 Update the desktop font in addition to the application font when 'apply
2005-10-11  Muktha  <muktha.narayan@wipro.com>

        * gnome-theme-info.h:
	* gnome-theme-manager.h:
	* gnome-theme-manager.c (apply_font_clicked):
        * gnome-theme-info.c (gnome_theme_read_meta_theme)
        (gnome_theme_meta_info_free) (gnome_theme_meta_info_print)
        (gnome_theme_meta_info_compare): Update the desktop font in
        addition to the application font when 'apply font' in large print
        themes is selected. Fixes #123551.
2005-10-11 11:27:36 +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
Andrew Sobala
44966951d1 s/read_meta_theme/gnome_theme_read_meta_theme/; enable the reading of
2003-03-27  Andrew Sobala  <aes@gnome.org>

        * gnome-theme-info.c: (gnome_theme_read_meta_theme),
        (update_common_theme_dir_index):
        s/read_meta_theme/gnome_theme_read_meta_theme/; enable the reading of
        themes that just use [X-GNOME-Metatheme] without pretending to be a
        .desktop file
        * gnome-theme-info.h: exposed gnome_theme_read_meta_theme
2003-03-27 20:51:43 +00:00
Jonathan Blandford
f28c52f3f3 capplets/common/gnome-theme-info.[ch]: Total rewrite. Fam now works correctly.
capplets/keybindings/*: use new theme code.
capplets/theme-switcher/*: use new theme code.
2003-01-13 20:21:28 +00:00
Jonathan Blandford
8eccb7d29b correctly merge disk updates and the current setup.
Thu Jan  2 08:57:54 2003  Jonathan Blandford  <jrb@gnome.org>

	* gnome-theme-manager.c: correctly merge disk updates and the
	current setup.

	* TODO: Add a TODO
2003-01-02 13:58:58 +00:00
Jonathan Blandford
341038ca77 Change the file format a bunch.
Tue Nov  5 15:48:33 2002  Jonathan Blandford  <jrb@gnome.org>

	* gnome-theme-info.c: Change the file format a bunch.

Tue Nov  5 15:48:20 2002  Jonathan Blandford  <jrb@gnome.org>

	* gnome-theme-manager.c (read_themes): make more robust.
2002-11-05 20:49:44 +00:00
Jonathan Blandford
9405d72d2f Rewrote to handle metathemes and icon themes. The WM stuff was previously
Fri Nov  1 11:01:16 2002  Jonathan Blandford  <jrb@gnome.org>

	* gnome-theme-manager.c: Rewrote to handle metathemes and icon
	themes.  The WM stuff was previously broken, too.

	* gnome-theme-installer.[ch]: Extract this code out to it's own
	file.

Fri Nov  1 11:03:34 2002  Jonathan Blandford  <jrb@gnome.org>

	* gnome-theme-info.[ch]: Moved theme-common, and gave more
	features.
2002-11-01 16:09:43 +00:00