Commit graph

2406 commits

Author SHA1 Message Date
Jens Granseuer
859be7cdde Patch by: Michael Monreal <infernux@web.de>
2007-09-19  Jens Granseuer  <jensgr@gmx.net>

	Patch by: Michael Monreal <infernux@web.de>

	* gnome-da-capplet.c: replace mail and multimedia icon names with
	Tangoified versions (bug #470386)

svn path=/trunk/; revision=8127
2007-09-19 17:54:41 +00:00
Jens Granseuer
5cd8e2051c Patch by: Patrick Wade <patrick.wade@sun.com>
2007-09-18  Jens Granseuer  <jensgr@gmx.net>

	Patch by: Patrick Wade <patrick.wade@sun.com>

	* gnome-default-applications-properties.glade: make accelerators for
	the accessibility tools page unique (bug #474308)

svn path=/trunk/; revision=8125
2007-09-18 19:13:47 +00:00
Jens Granseuer
db897ac78e Based on a patch by: Patrick Wade <patrick.wade@sun.com>
2007-09-18  Jens Granseuer  <jensgr@gmx.net>

	Based on a patch by: Patrick Wade <patrick.wade@sun.com>

	* main.c: (close_logout_update), (setup_dialog): make logout button
	sensitive whenever accessibility settings have been enabled or
	disabled (closes bug #476921)

svn path=/trunk/; revision=8122
2007-09-18 18:58:37 +00:00
Jens Granseuer
eddd1b3d9b Patch by: Darren Kenny <darren.kenny@sun.com>
2007-09-16  Jens Granseuer  <jensgr@gmx.net>

	Patch by: Darren Kenny <darren.kenny@sun.com>

	* theme-thumbnail.c: (generate_meta_theme_thumbnail_async),
	(generate_gtk_theme_thumbnail_async),
	(generate_metacity_theme_thumbnail_async),
	(generate_icon_theme_thumbnail_async): don't return values from void
	functions. Fixes building with Sun's Forte compiler (bug #473967)

svn path=/trunk/; revision=8115
2007-09-16 15:46:49 +00:00
Jens Granseuer
839c7da1e9 add a comment for translators (bug #473379)
2007-09-16  Jens Granseuer  <jensgr@gmx.net>

	* appearance-main.c: (main): add a comment for translators (bug #473379)

svn path=/trunk/; revision=8114
2007-09-16 15:39:33 +00:00
Jens Granseuer
981227eb06 don't set a fixed width for the toolbar button color label (bug #474317)
2007-09-16  Jens Granseuer  <jensgr@gmx.net>

	* data/appearance.glade: don't set a fixed width for the toolbar button
	color label (bug #474317)

svn path=/trunk/; revision=8113
2007-09-16 15:35:17 +00:00
Claude Paroz
5da914160e Correct translatable property value of Save As. Fixes #473810.
2007-09-09  Claude Paroz  <claude@2xlibre.net>

	* data/appearance.glade: Correct translatable property value of Save As.
	Fixes #473810.

svn path=/trunk/; revision=8075
2007-09-09 19:24:33 +00:00
Jens Granseuer
d36b3dbdd7 sync with upstream
2007-09-01  Jens Granseuer  <jensgr@gmx.net>

	* gedit-message-area.c: (gedit_message_area_init): sync with upstream

svn path=/trunk/; revision=8064
2007-09-01 14:04:38 +00:00
Jens Granseuer
c7c319f8af break out of the loop asap; use _prepend instead of _append
2007-09-01  Jens Granseuer  <jensgr@gmx.net>

	* appearance-font.c: (font_render_load), (cb_show_details): break out
	of the loop asap; use _prepend instead of _append

svn path=/trunk/; revision=8063
2007-09-01 10:19:47 +00:00
Jens Granseuer
d16f73873e don't define gconf_key as const and save a few casts
2007-08-31  Jens Granseuer  <jensgr@gmx.net>

	* appearance-font.c: (font_render_load), (setup_font_pair),
	(enum_group_load), (enum_group_create): don't define gconf_key as
	const and save a few casts

svn path=/trunk/; revision=8062
2007-08-31 17:20:22 +00:00
Jens Granseuer
326eeb16b7 don't leak the enum groups
2007-08-31  Jens Granseuer  <jensgr@gmx.net>

	* appearance-font.c: (enum_group_destroy), (cb_show_details),
	(font_init), (font_shutdown):
	* appearance.h: don't leak the enum groups

svn path=/trunk/; revision=8061
2007-08-31 17:00:38 +00:00
Gabor Kelemen
7d2d67441b This time really fix bug 470532 (gtk-delete stock id is marked for
2007-08-28  Gabor Kelemen  <kelemeng@gnome.hu>
	
	* data/appearance.glade: This time really fix bug 470532 (gtk-delete stock id is marked for
	translation)


svn path=/trunk/; revision=8054
2007-08-28 16:51:21 +00:00
Jens Granseuer
506db1fde6 don't leak the thumbnails
2007-08-27  Jens Granseuer  <jensgr@gmx.net>

	* appearance-style.c: (update_thumbnail_in_treeview): don't leak the
	thumbnails

svn path=/trunk/; revision=8048
2007-08-27 21:19:26 +00:00
Jens Granseuer
68b8f230eb always generate thumbnails asynchronously. Mixing synchronous and
2007-08-27  Jens Granseuer  <jensgr@gmx.net>

	* appearance-style.c: (update_in_treeview),
	(gtk_theme_thumbnail_cb), (metacity_theme_thumbnail_cb),
	(icon_theme_thumbnail_cb), (changed_on_disk_cb): always generate
	thumbnails asynchronously. Mixing synchronous and asynchronous
	generation just doesn't work (bug #469849)

svn path=/trunk/; revision=8047
2007-08-27 21:07:42 +00:00
Thomas Wood
744a7f170c Patch by: Gabor Kelemen <kelemeng@gnome.hu>
2007-08-27  Thomas Wood  <thos@gnome.org>

	Patch by: Gabor Kelemen <kelemeng@gnome.hu>

	* data/appearance.glade: Fix bug 470532 (gtk-delete stock id is marked for
	translation)

svn path=/trunk/; revision=8046
2007-08-27 11:12:40 +00:00
Sergey V. Udaltsov
cd12dddc9b make Add label translatable, b.g.o#470516
svn path=/trunk/; revision=8045
2007-08-26 21:42:13 +00:00
Jens Granseuer
1e5c9968e2 fix leaks (bug #469531)
2007-08-23  Jens Granseuer  <jensgr@gmx.net>

	* appearance-themes.c: (theme_get_thumbnail_from_cache):
	* gnome-wp-item.c: (gnome_wp_item_update_description): fix leaks (bug
	#469531)

2007-08-23  Jens Granseuer  <jensgr@gmx.net>

	* gnome-theme-info.c: (gnome_theme_is_writable): cast to proper type
	* theme-thumbnail.c: (create_metacity_theme_pixbuf): free the metacity
	theme after use (bug #469531)

svn path=/trunk/; revision=8040
2007-08-23 19:02:28 +00:00
Jens Granseuer
ae74c50d9a simply set the upper bound of the DPI spin button to the maximum we
2007-08-23  Jens Granseuer  <jensgr@gmx.net>

	* appearance-font.c: (cb_show_details): simply set the upper bound of
	the DPI spin button to the maximum we consider reasonable. This is one
	way to make sure we don't get SIGFPE if for some reason
	gdk_screen_get_{width,height}_mm returns 0 (bug #469580)

svn path=/trunk/; revision=8039
2007-08-23 17:08:43 +00:00
Jens Granseuer
b0ad42f084 if no background image set, select "no wallpaper"
2007-08-22  Jens Granseuer  <jensgr@gmx.net>

	* appearance-desktop.c: (wp_select_after_realize): if no background
	image set, select "no wallpaper"

svn path=/trunk/; revision=8034
2007-08-22 17:16:02 +00:00
Jens Granseuer
777a257df8 Properly check all stored themes if necessary. This fixes cases where e.g.
2007-08-21  Jens Granseuer  <jensgr@gmx.net>

	* gnome-theme-info.c: (gnome_theme_info_find_by_type_helper):
	Properly check all stored themes if necessary. This fixes cases where
	e.g. a metacity theme in ~/.themes would hide a GTK theme with the
	same name in the system theme dir

svn path=/trunk/; revision=8032
2007-08-21 21:22:50 +00:00
Jens Granseuer
47d57ac310 fix the last commit to use proper API to release the VCardAttributes so we
2007-08-21  Jens Granseuer  <jensgr@gmx.net>

	* gnome-about-me.c: (about_me_setup_email): fix the last commit to use
	proper API to release the VCardAttributes so we don't crash with newer
	e-d-s (bug #468848)

svn path=/trunk/; revision=8031
2007-08-21 17:25:50 +00:00
Philip Withnall
18a834a559 use new -new-tab and -new-window arguments instead of -remote for Firefox
2007-08-21  Philip Withnall <bugzilla@tecnocode.co.uk>

	* gnome-default-applications.xml.in: use new -new-tab and -new-window
	arguments instead of -remote for Firefox tab and window commands.
	Closes bug #393204.

svn path=/trunk/; revision=8030
2007-08-21 11:47:02 +00:00
Luca Cavalli
2af09cc4d7 add new function similar to gnome_vfs_format_uri_for_display but that
2007-08-21  Luca Cavalli <loopback@slackit.org>

	* file-transfer-dialog.c: (format_uri_for_display),
	(file_transfer_dialog_set_prop): add new function similar to
	gnome_vfs_format_uri_for_display but that hides the password if
	needed. Taken from gedit by Paolo Maggi. Closes bug #339551.

svn path=/trunk/; revision=8028
2007-08-21 10:57:29 +00:00
Luca Cavalli
4998b3f2d5 add new function similar to gnome_vfs_format_uri_for_display but that
2007-08-21  Luca Cavalli <loopback@slackit.org>

	* file-transfer-dialog.c: (format_uri_for_display),
	(file_transfer_dialog_set_prop): add new function similar to
	gnome_vfs_format_uri_for_display but that hides the password if
	needed. Taken from gedit by Paolo Maggi. Closes bug #339551.

svn path=/trunk/; revision=8027
2007-08-21 10:53:59 +00:00
Jens Granseuer
7aa4e96a78 honour mail address attributes when setting up Home and Work addresses
2007-08-21  Jens Granseuer  <jensgr@gmx.net>

	* gnome-about-me.c: honour mail address attributes when setting
	up Home and Work addresses

svn path=/trunk/; revision=8026
2007-08-21 10:36:05 +00:00
Matthias Clasen
1c7188caa7 Fixes #467552
2007-08-20  Matthias Clasen <mclasen@redhat.com>

	Fixes #467552

	* gnome-theme-info.c (gnome_theme_init): avoid double-freed for cursor
	theme infos.

svn path=/trunk/; revision=8023
2007-08-20 11:02:37 +00:00
Jens Granseuer
2f48b99c2a fix double-free, and make the builtins non-static to save relocations
2007-08-17  Jens Granseuer  <jensgr@gmx.net>

	* gnome-theme-info.c: (read_cursor_fonts): fix double-free, and make
	the builtins non-static to save relocations

svn path=/trunk/; revision=8013
2007-08-17 17:33:05 +00:00
Jens Granseuer
cbbba2a4b1 Patch by: Sven Arvidsson <sa@whiz.se>
2007-08-17  Jens Granseuer  <jensgr@gmx.net>

	Patch by: Sven Arvidsson <sa@whiz.se>

	* gnome-default-applications.xml.in: add browser and mail entries for
	Iceape, the debranded Seamonkey version used by Debian (bug #467472)

svn path=/trunk/; revision=8012
2007-08-17 16:12:31 +00:00
Jens Granseuer
3b08e16e7f don't leak the cursor font
2007-08-17  Jens Granseuer  <jensgr@gmx.net>

	* gnome-theme-info.c: (read_cursor_fonts): don't leak the cursor font

svn path=/trunk/; revision=8010
2007-08-17 15:48:27 +00:00
Sergey V. Udaltsov
80da00a4c2 disabling delete button, b.g.o#466749
svn path=/trunk/; revision=8003
2007-08-14 20:42:13 +00:00
Jens Granseuer
bc7b719342 correct the item width and enable line wrapping for long theme names (bug
2007-08-14  Jens Granseuer  <jensgr@gmx.net>

	* appearance-themes.c: (themes_init):
	* data/appearance.glade: correct the item width and enable line
	wrapping for long theme names (bug #466405)

svn path=/trunk/; revision=8002
2007-08-14 18:59:03 +00:00
Jens Granseuer
2a25f23559 various small tweaks and optimizations
2007-08-12  Jens Granseuer  <jensgr@gmx.net>

	* theme-thumbnail.c: (create_folder_icon),
	(create_gtk_theme_pixbuf), (handle_bytes), (message_from_capplet),
	(message_from_child), (read_pixbuf), (generate_theme_thumbnail):
	various small tweaks and optimizations

svn path=/trunk/; revision=7991
2007-08-12 15:30:07 +00:00
Jens Granseuer
91a555aa0c make sure we have a selection before trying to get the data (bug #465431)
2007-08-11  Jens Granseuer  <jensgr@gmx.net>

	* appearance-style.c: (conv_from_widget_cb): make sure we have a
	selection before trying to get the data (bug #465431)

svn path=/trunk/; revision=7987
2007-08-11 13:17:31 +00:00
Jens Granseuer
6b148c2959 fix leak
2007-08-11  Jens Granseuer  <jensgr@gmx.net>

	* theme-installer.c: (gnome_theme_install_from_uri): fix leak

svn path=/trunk/; revision=7986
2007-08-11 12:47:44 +00:00
Jens Granseuer
7de103f0b6 restrict drag'n'drop installation to the theme tab instead of the entire
2007-08-09  Jens Granseuer  <jensgr@gmx.net>

	* appearance-themes.c: (theme_drag_data_received_cb),
	(themes_init): restrict drag'n'drop installation to the theme tab
	instead of the entire window so lockdown works properly

	* theme-installer.c: (gnome_theme_install_from_uri),
	(gnome_theme_installer_run):
	* theme-installer.h: fix double-free and use-after-free

svn path=/trunk/; revision=7985
2007-08-09 21:00:28 +00:00
Jens Granseuer
c8dc660cf3 reenable theme lockdown
2007-08-09  Jens Granseuer  <jensgr@gmx.net>

	* appearance-themes.c: (themes_init): reenable theme lockdown

svn path=/trunk/; revision=7984
2007-08-09 19:57:48 +00:00
Jens Granseuer
08d807cfb4 tiny optimization
2007-08-09  Jens Granseuer  <jensgr@gmx.net>

	* gnome-wp-xml.c: (gnome_wp_xml_load_list),
	(gnome_wp_xml_save_list):
	* theme-installer.c: (gnome_theme_install_from_uri): tiny optimization

svn path=/trunk/; revision=7982
2007-08-08 22:07:28 +00:00
Jens Granseuer
4279e8b062 Create the icon theme representative before the GTK stock button. Since we
2007-08-08  Jens Granseuer  <jensgr@gmx.net>

	* theme-thumbnail.c: (create_meta_theme_pixbuf):
	Create the icon theme representative before the GTK stock button. Since
	we explicitly set the icon theme for the first, this ensures both are
	drawn with the same icon theme. Before it was possible when changing
	icon themes (especially on slower machines) that the GtkSettings were
	not yet updated and the stock button still used the old theme.

svn path=/trunk/; revision=7981
2007-08-08 21:46:28 +00:00
Jens Granseuer
159ede4aea revert r7973 because it broke color scheme notifications, and add a
2007-08-08  Jens Granseuer  <jensgr@gmx.net>

	* appearance-style.c: (gtk_theme_changed): revert r7973 because it
	broke color scheme notifications, and add a comment
	* appearance-themes.c: (theme_setting_changed_cb), (themes_init):
	connect to some signals from GtkSettings instead of GConf

svn path=/trunk/; revision=7980
2007-08-08 21:32:01 +00:00
Jens Granseuer
5e58d70e8f shave off a number of unnecessary casts
2007-08-07  Jens Granseuer  <jensgr@gmx.net>

	* appearance-desktop.c: (wp_add_images), (wp_dragged_image),
	(desktop_init):
	* appearance-main.c: (main):
	* appearance-style.c: (update_color_buttons_from_settings),
	(check_color_schemes_enabled), (update_cursor_size_scale),
	(prepare_list), (style_init):
	* appearance-ui.c: (ui_init): shave off a number of unnecessary casts

svn path=/trunk/; revision=7975
2007-08-07 21:46:06 +00:00
Jens Granseuer
137138efa4 also remove code that we needed when the thumbnailer was still in-process
2007-08-07  Jens Granseuer  <jensgr@gmx.net>

	* appearance-style.c: (gtk_theme_changed): also remove code that we
	needed when the thumbnailer was still in-process

svn path=/trunk/; revision=7973
2007-08-07 21:01:52 +00:00
Jens Granseuer
3d0bb8f59d make sure we don't run off the end of the array
2007-08-07  Jens Granseuer  <jensgr@gmx.net>

	* gnome-theme-info.c: (read_cursor_theme): make sure we don't run off
	the end of the array

svn path=/trunk/; revision=7972
2007-08-07 20:16:18 +00:00
Jens Granseuer
69749b7dcb copy the name for the default cursor, too, lest we crash on free, and only
2007-08-07  Jens Granseuer  <jensgr@gmx.net>

	* gnome-theme-info.c: (read_cursor_theme),
	(gnome_theme_cursor_info_free): copy the name for the default cursor,
	too, lest we crash on free, and only unref the thumbnail if we have
	one

svn path=/trunk/; revision=7971
2007-08-07 19:44:18 +00:00
Jens Granseuer
44eec9e2a3 remove stuff I forgot to delete
2007-08-07  Jens Granseuer  <jensgr@gmx.net>

	* appearance-style.c: (color_button_clicked_cb): remove stuff I forgot
	to delete

svn path=/trunk/; revision=7970
2007-08-07 19:20:46 +00:00
Jens Granseuer
8cba2c1e8e make sure the color scheme has changed before writing to GConf and
2007-08-07  Jens Granseuer  <jensgr@gmx.net>

	* appearance-style.c: (color_button_clicked_cb): make sure the color
	scheme has changed before writing to GConf and enabling the reset button

svn path=/trunk/; revision=7969
2007-08-07 16:48:02 +00:00
Jens Granseuer
197bc958af simplify (check_color_schemes_enabled): fix check for available symbolic
2007-08-07  Jens Granseuer  <jensgr@gmx.net>

	* appearance-style.c: (update_color_buttons_from_string): simplify
	(check_color_schemes_enabled): fix check for available symbolic colors
	and make buttons for unsupported colors insensitive (bug #464081)
	(color_button_clicked_cb), (style_init): simplify

	* data/appearance.glade: name the color buttons exactly like their
	respective color so we don't need to keep two arrays around

svn path=/trunk/; revision=7968
2007-08-07 16:35:09 +00:00
Jens Granseuer
e0db21068c reinstate select-after-realize; it's still necessary
2007-08-05  Jens Granseuer  <jensgr@gmx.net>

	* appearance-themes.c: (themes_init): reinstate select-after-realize;
	it's still necessary

svn path=/trunk/; revision=7964
2007-08-05 21:32:12 +00:00
Jens Granseuer
b437efed11 Patch by: Dennis Cranston <dennis_cranston@yahoo.com>
2007-08-05  Jens Granseuer  <jensgr@gmx.net>

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

	* data/appearance.glade: Indent category contents, and other HIG
	spacing fixes for "Font Rendering Details" dialog (bug #463332)

svn path=/trunk/; revision=7963
2007-08-05 19:24:21 +00:00
Bastien Nocera
314fc15bdd reviewed by: Jens Granseuer <jensgr@gmx.net>
2007-08-05  Bastien Nocera  <hadess@hadess.net>

	reviewed by: Jens Granseuer <jensgr@gmx.net>

	* gnome-keybinding-properties.c: (keyval_is_forbidden),
	(accel_edited_callback): Make the arrows and tabs unbindable
	without a modifier (Closes: #463433)


svn path=/trunk/; revision=7962
2007-08-04 23:11:42 +00:00
Jens Granseuer
6c27578959 Based on a patch by: Dennis Cranston <dennis_cranston@yahoo.com>
2007-08-04  Jens Granseuer  <jensgr@gmx.net>

	Based on a patch by: Dennis Cranston <dennis_cranston@yahoo.com>

        * appearance-style.c: (update_cursor_size_scale) Toggle
        sensitivity of the cursor scale labels (bug #463442)

svn path=/trunk/; revision=7961
2007-08-04 20:11:56 +00:00