Commit graph

6984 commits

Author SHA1 Message Date
Jens Granseuer
e55cb9bf73 also update the icon cache for icon themes with cursors
2007-10-30  Jens Granseuer  <jensgr@gmx.net>

	* theme-installer.c: (gnome_theme_install_real): also update the icon
	cache for icon themes with cursors

svn path=/trunk/; revision=8233
2007-10-30 19:24:03 +00:00
Jens Granseuer
3da9bfbd0f teach the installer to recognize cursor themes and icon themes with
2007-10-30  Jens Granseuer  <jensgr@gmx.net>

	* theme-installer.c: (file_theme_type), (gnome_theme_install_real):
	teach the installer to recognize cursor themes and icon themes with
	cursors and how to apply them

svn path=/trunk/; revision=8232
2007-10-30 18:43:56 +00:00
Jens Granseuer
b027e0b4b5 make sure we always call update_cursor_theme_index with the index.theme
2007-10-29  Jens Granseuer  <jensgr@gmx.net>

	* gnome-theme-info.c: (theme_compare), (theme_free),
	(update_common_theme_dir_index), (common_icon_theme_dir_changed),
	(gnome_theme_cursor_info_find_all),
	(gnome_theme_cursor_info_compare):
	* gnome-theme-info.h: make sure we always call update_cursor_theme_index
	with the index.theme URI. Implement some missing functionality for
	cursor theme monitoring.

svn path=/trunk/; revision=8231
2007-10-29 21:27:51 +00:00
Matej Urbančič
3f487a2582 Updated Slovenian translation
svn path=/trunk/; revision=8230
2007-10-29 11:33:44 +00:00
Matej Urbančič
23ea52cb59 Updated Slovenian translation
svn path=/trunk/; revision=8229
2007-10-29 11:21:40 +00:00
Jens Granseuer
286cdd1fcd simplify some more code, and fix a crash when the cursor theme in GConf is
2007-10-29  Jens Granseuer  <jensgr@gmx.net>

	* appearance-style.c: (gtk_theme_changed), (window_theme_changed),
	(icon_theme_changed), (update_cursor_size_scale),
	(cursor_theme_changed):
	* appearance-themes.c: (theme_selection_changed_cb):
	* theme-util.c: (theme_is_writable):
	* theme-util.h: simplify some more code, and fix a crash when the
	cursor theme in GConf is unset that I introduced in r8212

svn path=/trunk/; revision=8228
2007-10-28 23:01:09 +00:00
Jens Granseuer
194de56db9 simplify code thanks to the new unified theme type
2007-10-28  Jens Granseuer  <jensgr@gmx.net>

	* appearance-style.c: (prepare_list):
	* theme-util.c: (theme_is_writable), (theme_delete): simplify code
	thanks to the new unified theme type

svn path=/trunk/; revision=8227
2007-10-28 22:33:18 +00:00
Jens Granseuer
190963ea61 add live monitoring for cursor themes
2007-10-28  Jens Granseuer  <jensgr@gmx.net>

	* gnome-theme-info.c: (add_default_cursor_theme),
	(read_cursor_theme), (update_common_theme_dir_index),
	(update_meta_theme_index), (update_icon_theme_index),
	(update_cursor_theme_index), (common_icon_theme_dir_changed),
	(add_common_icon_theme_dir_monitor), (gnome_theme_info_find),
	(gnome_theme_init): add live monitoring for cursor themes

2007-10-28  Jens Granseuer  <jensgr@gmx.net>

	* appearance-style.c: (changed_on_disk_cb): add support for live cursor
	theme updates

svn path=/trunk/; revision=8226
2007-10-28 22:10:32 +00:00
Jens Granseuer
55ca935e2e add cast to avoid "incompatible types" compiler warning
2007-10-28  Jens Granseuer  <jensgr@gmx.net>

	* gconf-property-editor.c: (gconf_peditor_new_tree_view): add cast to
	avoid "incompatible types" compiler warning

svn path=/trunk/; revision=8225
2007-10-28 20:07:29 +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
1c50e4c94c readd gettext macro that accidentally got stripped
2007-10-28  Jens Granseuer  <jensgr@gmx.net>

	* main.c: (display_rotation_from_text), (create_rotate_menu): readd gettext
	macro that accidentally got stripped

svn path=/trunk/; revision=8223
2007-10-27 22:08:32 +00:00
Jens Granseuer
73fc8e79a9 whitespace cleanup and a few minor tweaks
2007-10-28  Jens Granseuer  <jensgr@gmx.net>

	* main.c: (display_rotation_from_text), (get_current_resolution),
	(get_current_rate), (get_current_rotation), (wrap_in_label),
	(resolution_changed_callback), (generate_rate_menu),
	(generate_resolution_menu), (initialize_combo_layout),
	(create_rate_menu), (create_rotate_menu), (create_screen_widgets),
	(create_dialog), (save_timeout_callback), (run_revert_dialog),
	(save_to_gconf), (cb_dialog_response), (main): whitespace cleanup and a
	few minor tweaks

svn path=/trunk/; revision=8222
2007-10-27 21:57:15 +00:00
Jens Granseuer
c21633bc3c revert some of the previous "clean-up", add some new, and fix another leak
2007-10-27  Jens Granseuer  <jensgr@gmx.net>

	* main.c: (free_display_info), (update_display_info),
	(read_display_info), (apply_config), (revert_config): revert some of
	the previous "clean-up", add some new, and fix another leak

svn path=/trunk/; revision=8221
2007-10-27 19:36:17 +00:00
Kjartan Maraas
b62e985bcc Updated Norwegian bokmål translation.
2007-10-27  Kjartan Maraas  <kmaraas@gnome.org>

	* nb.po: Updated Norwegian bokmål translation.

svn path=/trunk/; revision=8220
2007-10-27 19:20:43 +00:00
Jens Granseuer
bae97194e3 fix string capitalization
2007-10-27  Jens Granseuer  <jensgr@gmx.net>

	* main.c: (run_revert_dialog), (main): fix string capitalization

svn path=/trunk/; revision=8219
2007-10-27 18:00:06 +00:00
Jens Granseuer
1654754be4 remove part of the long description for cc_actions_list since it was
2007-10-27  Jens Granseuer  <jensgr@gmx.net>

	* control-center.schemas.in: remove part of the long description for
	cc_actions_list since it was confusig translators (#426229)

svn path=/trunk/; revision=8218
2007-10-27 16:35:56 +00:00
Jens Granseuer
559ba3a743 clean up code a bit and fix a few leaks
2007-10-27  Jens Granseuer  <jensgr@gmx.net>

	* main.c: (free_display_info), (restart_screensaver),
	(apply_config), (revert_config), (cb_dialog_response), (main): clean up
	code a bit and fix a few leaks

svn path=/trunk/; revision=8217
2007-10-27 16:28:08 +00:00
Jens Granseuer
fcd616f8df remove this one, too
2007-10-27  Jens Granseuer  <jensgr@gmx.net>

	* capplets/file-types: remove this one, too

svn path=/trunk/; revision=8216
2007-10-27 15:49:54 +00:00
Jens Granseuer
9be8d33a0f remove obsolete and unmaintained capplets
2007-10-27  Jens Granseuer  <jensgr@gmx.net>

	* capplets/localization:
	* capplets/rollback:
	* capplets/url-properties:
	* capplets/mime-type:
	* capplets/wm-properties: remove obsolete and unmaintained capplets

svn path=/trunk/; revision=8215
2007-10-27 15:46:43 +00:00
Jens Granseuer
dbd00f0edd reduce the number if XCURSOR ifdefs and get rid of the special treatment
2007-10-27  Jens Granseuer  <jensgr@gmx.net>

	* appearance-style.c: (cursor_size_scale_value_changed_cb),
	(update_cursor_size_scale), (cursor_theme_changed), (prepare_list):
	* appearance-themes.c: (theme_load_from_gconf):
	* theme-util.h: reduce the number if XCURSOR ifdefs and get rid of the
	special treatment for the default cursor theme

2007-10-27  Jens Granseuer  <jensgr@gmx.net>

	* gnome-theme-info.c: (look_for_cursor_theme), (read_cursor_fonts),
	(gnome_theme_init): ensure we always have the "default" cursor theme in
	the list

svn path=/trunk/; revision=8214
2007-10-27 13:59:36 +00:00
Jens Granseuer
298d6fbf4f If the cursor theme changes, and the currently set size is not available
2007-10-27  Jens Granseuer  <jensgr@gmx.net>

	If the cursor theme changes, and the currently set size is not
	available for the new theme, we were not updating the cursor size in
	GConf, leading to bogus results when checking for metatheme equality.

	* appearance-style.c: (cursor_size_changed_cb),
	(update_cursor_size_scale), (cursor_size_scale_value_changed_cb):
	update cursor size GConf value when the theme changes; also don't write
	bogus values to GConf when we are only doing fuzzy matches

svn path=/trunk/; revision=8212
2007-10-27 13:12:28 +00:00
Jens Granseuer
2ba498e0c2 move function here from common/
2007-10-27  Jens Granseuer  <jensgr@gmx.net>

	* theme-util.c: (theme_is_writable):
	* theme-util.h: move function here from common/

	* appearance-style.c: (gtk_theme_changed), (window_theme_changed),
	(icon_theme_changed), (cursor_theme_changed):
	* appearance-themes.c: (theme_selection_changed_cb): adapt callers

2007-10-27  Jens Granseuer  <jensgr@gmx.net>

	* gnome-theme-info.c (gnome_theme_is_writable):
	* gnome-theme-info.h: move this function to the appearance capplet

svn path=/trunk/; revision=8211
2007-10-27 11:29:11 +00:00
Jens Granseuer
21b740a43f if the parent directory is empty after deleting a theme, delete the parent
2007-10-27  Jens Granseuer  <jensgr@gmx.net>

	* theme-util.c: (theme_delete): if the parent directory is empty after
	deleting a theme, delete the parent directory, too

svn path=/trunk/; revision=8210
2007-10-27 10:46:59 +00:00
Jens Granseuer
7a42e549fb make the cursor themes delete button work
2007-10-26  Jens Granseuer  <jensgr@gmx.net>

	* appearance-style.c: (cursor_theme_delete_cb), (style_init):
	* theme-util.c: (theme_delete): make the cursor themes delete button
	work

svn path=/trunk/; revision=8208
2007-10-26 19:08:12 +00:00
Jens Granseuer
c9c114f388 Patch by: Iain Holmes <iain@gnome.org>
2007-10-26  Jens Granseuer  <jensgr@gmx.net>

	Patch by: Iain Holmes <iain@gnome.org>

	* gsd-media-keys-window.c: (fade_timeout), (hide_timeout),
	(remove_hide_timeout), (add_hide_timeout), (on_expose_event),
	(gsd_media_keys_window_init): gradually fade out the OSD when composited
	(bug #490593)

svn path=/trunk/; revision=8207
2007-10-26 18:13:57 +00:00
Matej Urbančič
2c5faa6828 Updated Slovenian translation
svn path=/trunk/; revision=8206
2007-10-26 16:03:05 +00:00
Jens Granseuer
0255939192 replace obsolete "orca -m" command by new "orca -e magnifier" (bug
2007-10-25  Jens Granseuer  <jensgr@gmx.net>

	* gnome-default-applications.xml.in: replace obsolete "orca -m" command
	by new "orca -e magnifier" (bug #489973)

svn path=/trunk/; revision=8203
2007-10-25 20:36:49 +00:00
Jens Granseuer
701e14dad5 move some more of the cursor size widget initialization to glade. This
2007-10-25  Jens Granseuer  <jensgr@gmx.net>

	* appearance-style.c: (style_init):
	* data/appearance.glade: move some more of the cursor size widget
	initialization to glade. This allows the slider to be updated properly
	on startup (bug #490103)

svn path=/trunk/; revision=8201
2007-10-25 20:27:54 +00:00
Jens Granseuer
29e6e09e13 revert this part from the last commit since this was already handled by
2007-10-25  Jens Granseuer  <jensgr@gmx.net>

	* gnome-theme-info.c: (gnome_theme_init): revert this part from the
	last commit since this was already handled by rev 8166

svn path=/trunk/; revision=8200
2007-10-25 19:09:48 +00:00
Denis Washington
891f7ac4c1 More fixes regarding integration of cursor themes into metathemes.
2007-10-25  Denis Washington  <denisw@svn.gnome.org>

	More fixes regarding integration of cursor themes into metathemes.

	* appearance/appearance-themes.c: Take cursor size into account in
	theme_is_equal(), and also watch the cursor theme/size gconf keys for
	changes.

	* common/gnome-theme-apply.c: Fix the cursor size being only being
	updated if the cursor theme changed too.
	* common/gnome-theme-info.c: Also watch 
/usr/share/cursors/xorg-x11
	for cursor themes (path used by Gentoo Linux).

svn path=/trunk/; revision=8198
2007-10-25 16:01:44 +00:00
Priit Laes
76b37748f7 Translation updated by Ivar Smolin.
2007-10-25  Priit Laes  <plaes@svn.gnome.org>

	* et.po: Translation updated by Ivar Smolin.

svn path=/trunk/; revision=8197
2007-10-25 15:28:38 +00:00
Ihar Hrachyshka
cf84556506 Updated Belarusian Latin translation.
svn path=/trunk/; revision=8196
2007-10-25 10:40:44 +00:00
Jens Granseuer
d420730347 This change hopefully fixes bug #484797 which I suspect is caused by the
2007-10-24  Jens Granseuer  <jensgr@gmx.net>

	This change hopefully fixes bug #484797 which I suspect is caused by
	the capplet getting stale data from from the themes module which in
	turn is caused by deleted themes being freed but not removed from the
	hash cache.

	* gnome-theme-info.c: (update_common_theme_dir_index): actually remove
	theme data from the hash when the theme gets deleted; also don't
	unconditionally cast to icon theme

svn path=/trunk/; revision=8194
2007-10-24 21:18:10 +00:00
Djihed Afifi
cb02196087 Updated Arabic Translation by Djihed Afifi.
svn path=/trunk/; revision=8193
2007-10-24 20:20:29 +00:00
Jens Granseuer
3820e469c9 return a new theme instead of munging whatever got passed in. Makes for a
2007-10-24  Jens Granseuer  <jensgr@gmx.net>

	* appearance-themes.c: (theme_load_from_gconf),
	(theme_details_changed_cb), (themes_init): return a new theme instead
	of munging whatever got passed in. Makes for a saner API

svn path=/trunk/; revision=8192
2007-10-24 18:34:03 +00:00
Jens Granseuer
5223c0f037 The fix for bug #420154 not only made the entry for the theme installer
2007-10-24  Jens Granseuer  <jensgr@gmx.net>

	The fix for bug #420154 not only made the entry for the theme installer
	disappear from the menu, but also disabled mime-type handling for Gnome
	Theme Packages (bug #486811). Revert that change and use NoDisplay=true
	instead. This will remove the entry from the menu (not from the menu
	editor, though), and not break mime handling.

	* data/gnome-theme-installer.desktop.in.in: use NoDisplay=true instead
	of OnlyShowIn=;

svn path=/trunk/; revision=8190
2007-10-24 17:05:51 +00:00
Djihed Afifi
eab056569d Updated Arabic Translation by Djihed Afifi.
svn path=/trunk/; revision=8189
2007-10-23 20:53:14 +00:00
Jorge Gonzalez Gonzalez
b2e91e82df Updated Spanish translation
svn path=/trunk/; revision=8188
2007-10-23 13:12:51 +00:00
Jens Granseuer
7def256ed5 Based on a patch by: Sebastien Bacher <seb128@debian.org>
2007-10-22  Jens Granseuer  <jensgr@gmx.net>

	Based on a patch by: Sebastien Bacher <seb128@debian.org>

	* capplets/keybindings/00-multimedia-key.xml.in:
	* gnome-settings-daemon/action/acme.h:
	* gnome-settings-daemon/gnome-settings-multimedia-keys.c (do_action):
	* schemas/apps_gnome_settings_daemon_keybindings.schemas.in:
	add support for calculator key

svn path=/trunk/; revision=8187
2007-10-22 18:59:37 +00:00
Djihed Afifi
e3ec418567 Updated Arabic Translation by Djihed Afifi.
svn path=/trunk/; revision=8184
2007-10-21 16:43:20 +00:00
Jens Granseuer
a0fdace4ae fix bugzilla component
2007-10-21  Jens Granseuer  <jensgr@gmx.net>

	* configure.in: fix bugzilla component

svn path=/trunk/; revision=8183
2007-10-21 12:25:47 +00:00
Jens Granseuer
a5946b5d2d bump libxklavier requirement to 3.3 remove compatibility hack for
2007-10-21  Jens Granseuer  <jensgr@gmx.net>

	* configure.in: bump libxklavier requirement to 3.3
	* capplets/keyboard/gnome-keyboard-properties-xkbmc.c: remove
	compatibility hack for libxklavier <= 3.2

svn path=/trunk/; revision=8182
2007-10-21 12:24:29 +00:00
Ihar Hrachyshka
ee35f7dfd7 Updated Belarusian Latin translation
svn path=/trunk/; revision=8181
2007-10-18 21:09:33 +00:00
Jens Granseuer
686b7b40a9 really make sure gtk, metacity, icon, and cursor themes are never NULL
2007-10-18  Jens Granseuer  <jensgr@gmx.net>

	* appearance-themes.c: (theme_load_from_gconf),
	(theme_set_custom_from_theme): really make sure gtk, metacity, icon, and
	cursor themes are never NULL (should fix #487257 if the last commit didn't
	already)

svn path=/trunk/; revision=8180
2007-10-18 17:23:48 +00:00
Bastien Nocera
bad634011a Add more default keybindings for otherwise unbound keys (Closes: #487935)
2007-10-18  Bastien Nocera  <hadess@hadess.net>

	* schemas/apps_gnome_settings_daemon_keybindings.schemas.in:
	Add more default keybindings for otherwise unbound keys
	(Closes: #487935)


svn path=/trunk/; revision=8179
2007-10-18 17:03:15 +00:00
Sergey V. Udaltsov
74263d6f39 no more annoying warning, b.g.o#358048
svn path=/trunk/; revision=8177
2007-10-16 22:13:45 +00:00
Jorge Gonzalez Gonzalez
99ec1a5610 Updated Spanish translation
svn path=/trunk/; revision=8175
2007-10-16 12:30:15 +00:00
Rodrigo Moya
b1a6677263 Updated NEWS from 2.20 branch
svn path=/trunk/; revision=8174
2007-10-15 16:25:21 +00:00
Jens Granseuer
2b27aac116 fix invalid use after free I caused with the last commit
2007-10-14  Jens Granseuer  <jensgr@gmx.net>

	* gnome-theme-info.c: (gnome_theme_init): fix invalid use after free I
	caused with the last commit

svn path=/trunk/; revision=8170
2007-10-14 14:54:58 +00:00
Jens Granseuer
c9b09854a9 When updating theme info from GConf or copying it for customization, we
2007-10-14  Jens Granseuer  <jensgr@gmx.net>

	When updating theme info from GConf or copying it for customization, we
	were ignoring xcursor settings. As a result, saved custom themes always
	had the default theme set. (bug #485709)

	* appearance-themes.c: (get_default_int_from_key),
	(theme_load_from_gconf), (theme_set_custom_from_theme): when setting up
	theme info, take cursor settings into account

svn path=/trunk/; revision=8168
2007-10-14 10:21:57 +00:00