Commit graph

6626 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
Thomas Wood
e82c2b596e Add missing '\n'.
2007-07-30  Thomas Wood  <thos@gnome.org>

	* appearance-style.c: (color_button_clicked_cb): Add missing '\n'.

svn path=/trunk/; revision=7935
2007-07-30 16:59:41 +00:00
Jens Granseuer
a215c9db04 use our custom cell renderer for metathemes, too, so the previews don't
2007-07-30  Jens Granseuer  <jensgr@gmx.net>

	* appearance-themes.c: (themes_init):
	* data/appearance.glade: use our custom cell renderer for metathemes,
	too, so the previews don't get shaded (bug #461198)

svn path=/trunk/; revision=7934
2007-07-30 16:54:37 +00:00
Thomas Wood
12faf7f40e Add tooltip foreground and background colours to the list of recognised
2007-07-30  Thomas Wood  <thos@gnome.org>

	* appearance-style.c: (update_color_buttons_from_string),
	(check_color_schemes_enabled), (color_button_clicked_cb),
	(style_init):
	* data/appearance.glade:

	Add tooltip foreground and background colours to the list of recognised
	symbolic colours.

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

	* gnome-theme-info.c: (gnome_theme_color_scheme_parse): Add tooltip foreground
	and background colours to the list of recognised symbolic colours.

svn path=/trunk/; revision=7933
2007-07-30 16:49:28 +00:00
Jorge Gonzalez Gonzalez
383545e688 Updated Spanish translation
svn path=/trunk/; revision=7932
2007-07-30 14:01:49 +00:00
Theppitak Karoonboonyanan
498a372d64 Updated Thai translation.
* th.po: Updated Thai translation.


svn path=/trunk/; revision=7931
2007-07-30 07:56:34 +00:00
Jens Granseuer
ebff839891 default to showing the background tab if wallpapers were given on the
2007-07-29  Jens Granseuer  <jensgr@gmx.net>

	* appearance-main.c: (main): default to showing the background tab
	if wallpapers were given on the command line

svn path=/trunk/; revision=7930
2007-07-29 20:21:10 +00:00
Jens Granseuer
59e5742370 add %F to the exec line so external programs like epiphany can set the
2007-07-29  Jens Granseuer  <jensgr@gmx.net>

	* data/gnome-appearance-properties.desktop.in.in: add %F to the exec
	line so external programs like epiphany can set the background (bug
	#456337)

svn path=/trunk/; revision=7929
2007-07-29 18:56:15 +00:00
Jens Granseuer
d23fb65eb6 only create the custom theme entry when changes are made, and delete it
2007-07-29  Jens Granseuer  <jensgr@gmx.net>

	* data/appearance.glade:
	* appearance-themes.c: (theme_custom_cb):
	* theme-save.c: (save_dialog_response): only create the custom theme
	entry when changes are made, and delete it when the theme is saved.
	These changes obsolete the requirement for a modal details window.

svn path=/trunk/; revision=7928
2007-07-29 18:20:31 +00:00
Denis Washington
11cd98e2d1 Don't store the cell renderer in AppearanceData, it is only needed by
2007-07-29  Denis Washington  <denisw@svn.gnome.org>

	* appearance.h:
	* appearance-desktop.c: (desktop_init):
	Don't store the cell renderer in AppearanceData, it is only needed by
	desktop_init().

svn path=/trunk/; revision=7927
2007-07-29 17:45:51 +00:00
Thomas Wood
a316e82ccc Expand check for empty metatheme colour scheme to include blank colour
2007-07-29  Thomas Wood  <thos@gnome.org>

	* gnome-theme-info.c: (gnome_theme_read_meta_theme): Expand check for empty
	metatheme colour scheme to include blank colour scheme strings.

svn path=/trunk/; revision=7926
2007-07-29 17:26:47 +00:00
Jens Granseuer
0921b627db remove spurious AT desktop entries (bug #444787)
2007-07-29  Jens Granseuer  <jensgr@gmx.net>

	* configure.in: remove spurious AT desktop entries (bug #444787)

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

	* Makefile.am:
	* default-applications-accessibility.desktop.in.in:
	* gnome-at-mobility.desktop.in.in:
	* gnome-at-visual.desktop.in.in: remove spurious desktop entries
	(bug #444787)

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

	* POTFILES.in:
	* POTFILES.skip: remove spurious AT desktop entries

svn path=/trunk/; revision=7925
2007-07-29 17:23:02 +00:00
Jens Granseuer
e831657b38 cope with unset GConf keys, and group GConf notifications
2007-07-29  Jens Granseuer  <jensgr@gmx.net>

	* appearance-themes.c: (theme_message_area_update), (themes_init):
	cope with unset GConf keys, and group GConf notifications

svn path=/trunk/; revision=7924
2007-07-29 16:17:44 +00:00
Denis Washington
ad496d45ae _Really_ only show background/font suggestions if they haven't already
2007-07-29  Denis Washington  <denisw@svn.gnome.org>

	* appearance-themes.c: (theme_message_area_response_cb),
	(theme_message_area_update), (theme_selection_changed_cb),
	(background_or_font_changed), (themes_init):
	_Really_ only show background/font suggestions if they haven't
	already been applied.

svn path=/trunk/; revision=7923
2007-07-29 15:37:22 +00:00
Denis Washington
2f8351bca7 Only show background/font suggestions if they haven't already been
2007-07-29  Denis Washington  <denisw@svn.gnome.org>

	* appearance-themes.c: (theme_message_area_response_cb),
	(theme_message_area_update), (theme_selection_changed_cb):
	Only show background/font suggestions if they haven't already
	been applied.

svn path=/trunk/; revision=7922
2007-07-29 14:51:59 +00:00
Denis Washington
35872177c1 Added controls for applying suggested backgrounds and/or fonts from
2007-07-29  Denis Washington  <denisw@svn.gnome.org>

	* data/appearance.glade:
	* appearance-themes.c: (theme_message_area_response_cb),
	(theme_message_area_update), (theme_selection_changed_cb),
	(themes_init), (themes_shutdown):
	* gedit-message-area.[ch]:
	* theme-util.h:
	Added controls for applying suggested backgrounds and/or fonts from
	metathemes. Copied over some code from gedit for the message area
	(GeditMessageArea).

	* Makefile.am:
	Added gedit-message-area.[ch].

svn path=/trunk/; revision=7921
2007-07-29 13:56:10 +00:00
Thomas Wood
23c161aa35 Prevent some memory leaks
2007-07-29  Thomas Wood  <thos@gnome.org>

	* appearance-style.c: (cursor_theme_sort_func), (prepare_list),
	(style_init): Prevent some memory leaks

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

	* gnome-theme-apply.c: (gnome_meta_theme_set):
	* gtkrc-utils.c: (gtkrc_get_details), (gtkrc_get_color_scheme):

	Prevent some memory leaks

svn path=/trunk/; revision=7920
2007-07-29 13:05:29 +00:00
Thomas Wood
930245a60b - Fix theme installation (free called before last last use of a string) -
2007-07-29  Thomas Wood  <thos@gnome.org>

	* theme-installer.c: (file_theme_type), (gnome_theme_install_real):
	- Fix theme installation (free called before last last use of a string)
	- Update icon cache when installing icon themes (closes bug 355486)

svn path=/trunk/; revision=7919
2007-07-29 11:03:05 +00:00
Thomas Wood
d9683907b5 Fix mnemonics and Customize Theme window title. Closes bug 461255.
2007-07-29  Thomas Wood  <thos@gnome.org>

	* data/appearance.glade: Fix mnemonics and Customize Theme window title.
	Closes bug 461255.

svn path=/trunk/; revision=7918
2007-07-29 10:05:54 +00:00
Yannig MARCHEGAY
6f05406b2f Updated Occitan translation
svn path=/trunk/; revision=7917
2007-07-29 09:22:28 +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
63f30c42f4 get rid of a number of unnecessary casts and the gtk version checks since
2007-07-28  Jens Granseuer  <jensgr@gmx.net>

	* appearance-desktop.c: (wp_view_tooltip_cb), (desktop_init):
	* data/appearance.glade: get rid of a number of unnecessary casts and the
	gtk version checks since we now depend on 2.11.6 unconditionally

svn path=/trunk/; revision=7915
2007-07-28 14:15:48 +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
Denis Washington
b608a53acb Prevent cursor themes from being recognized as icon themes.
2007-07-28  Denis Washington  <denisw@svn.gnome.org>

	* gnome-theme-info.c: (read_icon_theme):
	Prevent cursor themes from being recognized as icon themes.

svn path=/trunk/; revision=7913
2007-07-28 13:05:59 +00:00
Thomas Wood
0660969a64 Don't draw the selection indicator if width is -1
2007-07-28  Thomas Wood  <thos@gnome.org>

	* wp-cellrenderer.c: (cell_renderer_wallpaper_render): Don't draw the
	selection indicator if width is -1

svn path=/trunk/; revision=7912
2007-07-28 12:47:53 +00:00
Thomas Wood
1c73b3c809 c89 fix and add 1px border between selection indicator and contents
2007-07-28  Thomas Wood  <thos@gnome.org>

	* wp-cellrenderer.c: (cell_renderer_wallpaper_render): c89 fix and add 1px
	border between selection indicator and contents

svn path=/trunk/; revision=7911
2007-07-28 12:32:27 +00:00
Thomas Wood
c4b82d2716 Use cairo to draw the cell renderer selection
2007-07-28  Thomas Wood  <thos@gnome.org>

	* wp-cellrenderer.c: (cell_renderer_wallpaper_render): Use cairo to draw the
	cell renderer selection

svn path=/trunk/; revision=7910
2007-07-28 12:25:32 +00:00
Jens Granseuer
ef3bb7e92b fix cell renderer state logic to not be always on
2007-07-28  Jens Granseuer  <jensgr@gmx.net>

	* wp-cellrenderer.c: (cell_renderer_wallpaper_render):
	* wp-cellrenderer.h: fix cell renderer state logic to not be always on

svn path=/trunk/; revision=7909
2007-07-28 11:38:06 +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
323bb9f54d constify drag'n'drop data, remove unused variable, use G_N_ELEMENTS where
2007-07-27  Jens Granseuer  <jensgr@gmx.net>

	* appearance-themes.c: (themes_init): constify drag'n'drop data, remove
	unused variable, use G_N_ELEMENTS where applicable

svn path=/trunk/; revision=7905
2007-07-27 19:42:33 +00:00
Jens Granseuer
2e3a38749e remove workarounds for initialization problems in early versions of the
2007-07-27  Jens Granseuer  <jensgr@gmx.net>

	* appearance-themes.c: (themes_init, theme_postinit): remove workarounds
	for initialization problems in early versions of the capplet

svn path=/trunk/; revision=7904
2007-07-27 18:04:52 +00:00
Denis Washington
b6c8536e3e Don't try to install mouse-cursor-*.png as these files are not in mouse/
2007-07-27  Denis Washington  <denisw@svn.gnome.org>

	* Makefile.am:
	Don't try to install mouse-cursor-*.png as these files are not in mouse/
	anymore.

svn path=/trunk/; revision=7903
2007-07-27 16:25:40 +00:00
Denis Washington
fcfef66efd Implement drag-and drop theme installation.
2007-07-27  Denis Washington  <dwashington@gmx.net>

	* appearanc-themes.c: (appearance_window_drag_data_received_cb),
	(themes_init):
	Implement drag-and drop theme installation.

svn path=/trunk/; revision=7902
2007-07-27 14:07:14 +00:00
Denis Washington
2c3bcb8810 Moved to ../appearance/data/.
2007-07-27  Denis Washington  <denisw@svn.gnome.org>

	* mouse/cursor-*.pcf:
	* mouse/mouse-cursor-*.png:
	Moved to ../appearance/data/.

	* appearance/data/cursor-*.pcf:
	* appearance/data/mouse-cursor-*.png:
	Cursor fonts and thumbnails moved from gnome-mouse-properties.

	* appearance/data/Makefile.am:
	Install the new files.

svn path=/trunk/; revision=7901
2007-07-27 12:45:28 +00:00
Theppitak Karoonboonyanan
bb0366d1a2 Updated Thai translation.
* th.po: Updated Thai translation.


svn path=/trunk/; revision=7900
2007-07-27 01:33:43 +00:00
Jens Granseuer
307679f2e2 connect to the GtkTreeViewSelection::changed signal instead of
2007-07-26  Jens Granseuer  <jensgr@gmx.net>

	* gconf-property-editor.c: (peditor_tree_view_widget_changed),
	(gconf_peditor_new_tree_view): connect to the GtkTreeViewSelection::changed
	signal instead of GtkTreeView::cursor_changed, so we actually get notified
	whenever the selection changes

svn path=/trunk/; revision=7899
2007-07-26 21:13:45 +00:00
Jens Granseuer
7af0f3f05b move some utility code over to common
2007-07-26  Jens Granseuer  <jensgr@gmx.net>

	* appearance-style.c: (update_color_buttons_from_string):
	* appearance-themes.c: (theme_load_from_gconf), (theme_is_equal):
	* theme-util.c: (theme_find_in_model):
	* theme-util.h: move some utility code over to common

svn path=/trunk/; revision=7898
2007-07-26 19:50:20 +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
Jens Granseuer
7eefc853d1 really unset the gconf key when reverting colors
2007-07-26  Jens Granseuer  <jensgr@gmx.net>

	* appearance-style.c: (update_color_buttons_from_settings),
	(color_scheme_defaults_button_clicked_cb): really unset the gconf key
	when reverting colors

svn path=/trunk/; revision=7896
2007-07-26 19:04:44 +00:00
Jorge Gonzalez Gonzalez
445b2db998 Updated Spanish translation
svn path=/trunk/; revision=7895
2007-07-26 18:43:34 +00:00
Jorge Gonzalez Gonzalez
7371cfc895 Updated Spanish translation
svn path=/trunk/; revision=7894
2007-07-26 18:37:38 +00:00
Jens Granseuer
e91260a58b make color scheme comparisons work much more reliably
2007-07-26  Jens Granseuer  <jensgr@gmx.net>

	* appearance-style.c: (update_color_buttons_from_string),
	(update_color_buttons_from_settings):
	* appearance-themes.c: (theme_is_equal):
	* theme-util.c: (theme_parse_color_scheme),
	(theme_color_scheme_equal):
	* theme-util.h: make color scheme comparisons work much more reliably

svn path=/trunk/; revision=7893
2007-07-26 18:21:05 +00:00
Jens Granseuer
0b3d3935dd add a comment for translators (bug #460506)
2007-07-26  Jens Granseuer  <jensgr@gmx.net>

	* gnome-wp-item.c: (gnome_wp_item_update_description): add a comment
	for translators (bug #460506)

svn path=/trunk/; revision=7892
2007-07-26 17:37:04 +00:00
Denis Washington
e7c179fa94 Fixed a bug introduced in my last commit which caused to make the button
2007-07-26  Denis Washington <denisw@svn.gnome.org>

	* data/appearance.glade:
	Fixed a bug introduced in my last commit which caused to make the
	button box appear above the cursors list in the theme details window.

	* appearance-style.c: (cursor_theme_sort_func), (prepare_list):
	Make "Default Pointer" always appear as first item in the list.

svn path=/trunk/; revision=7891
2007-07-26 17:10:12 +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
03b9c9b1e1 Remove the Cursors tab as it's functionality is covered by the apperance
2007-05-26  Denis Washington  <dwashington@gmx.net>

	* gnome-mouse-properties.glade:
	* gnome-mouse-poperties.c:
	Remove the Cursors tab as it's functionality is covered by the apperance
	capplet now.

svn path=/trunk/; revision=7889
2007-07-26 11:19:04 +00:00
Funda Wang
8f718f8d28 Updated g-c-c zh_CN translation
svn path=/trunk/; revision=7888
2007-07-26 09:50:27 +00:00
Theppitak Karoonboonyanan
0dd07c720f Updated Thai translation.
* th.po: Updated Thai translation.


svn path=/trunk/; revision=7887
2007-07-26 07:45:45 +00:00
Thomas Wood
2a20516726 Patch by: Dennis Cranston <dennis_cranston@yahoo.com>
2007-07-25  Thomas Wood  <thos@gnome.org>

	Patch by:  Dennis Cranston <dennis_cranston@yahoo.com>

	* gnome-wp-item.c: (gnome_wp_item_update_description):Simplify tooltip
	descriptions.  Change "Location" to "Folder".  Do not overuse bold text.
	Closes bug 460111.

svn path=/trunk/; revision=7886
2007-07-25 20:10:16 +00:00
Denis Washington
016dabda52 Implement saving of the cursor theme name in metathemes, and add a
2007-07-25  Denis Washington <denisw@svn.gnome.org>

	* appearance-style.c: (prepare_list):
	* appearance-themes.c: (theme_load_from_gconf):
	* theme-save.c: (write_theme_to_disk):
	Implement saving of the cursor theme name in metathemes, and add a
	"Default Pointer" option to the cursor theme list in Theme Details.

svn path=/trunk/; revision=7885
2007-07-25 17:37:00 +00:00