Commit graph

2588 commits

Author SHA1 Message Date
Jens Granseuer
2b50bd2ccb Patch by: Lincoln de Sousa <lincoln@minaslivre.org>
2008-04-17  Jens Granseuer  <jensgr@gmx.net>

	Patch by: Lincoln de Sousa <lincoln@minaslivre.org>

	* gnome-wp-xml.c (gnome_wp_file_changed), (gnome_wp_xml_add_monitor),
	(gnome_wp_xml_load_from_dir), (gnome_wp_xml_load_list): replace gnome-vfs by
	gio (part of bug #524401)

svn path=/trunk/; revision=8656
2008-04-17 16:33:15 +00:00
Jens Granseuer
20ec24c30c open the preferred applications dialog on the a11y page (bug #528196)
2008-04-16  Jens Granseuer  <jensgr@gmx.net>

	* main.c: (cb_at_preferences): open the preferred applications dialog
	on the a11y page (bug #528196)

svn path=/trunk/; revision=8655
2008-04-16 16:47:56 +00:00
Jens Granseuer
0c4f13adf4 add -p/--show-page to open the dialog on a specific page (see bug #528196)
2008-04-16  Jens Granseuer  <jensgr@gmx.net>

	* gnome-da-capplet.c: (show_dialog), (main):
	* gnome-default-applications-properties.glade: add -p/--show-page to
	open the dialog on a specific page (see bug #528196)

svn path=/trunk/; revision=8654
2008-04-16 16:38:50 +00:00
Sergey V. Udaltsov
956ced0c51 dropping unneeded backup function
svn path=/trunk/; revision=8653
2008-04-14 20:42:04 +00:00
Thomas Wood
7716fbe14b Add a custom cell renderer for metatheme names to allow rounded corners on
2008-04-14  Thomas Wood  <thos@gnome.org>

	* Makefile.am:
	* appearance-themes.c: (themes_init):
	* caption-cellrenderer.c:
	* caption-cellrenderer.h:

	Add a custom cell renderer for metatheme names to allow rounded corners
	on the selection indicator. Fixes bug 500276.

svn path=/trunk/; revision=8652
2008-04-14 00:35:49 +00:00
Jens Granseuer
debc4f4091 Disable theme thumbnailing on MacOS. Some CoreFoundation functionality can
2008-04-13  Jens Granseuer  <jensgr@gmx.net>

	Disable theme thumbnailing on MacOS. Some CoreFoundation functionality
	can apparently no longer be used from forked processes (see bug
	#525058). Unfortunately, it is used by freetype/pango/cairo/gtk, and
	as such by our forked thumbnailer. This change means no thumbnails on
	MacOS, but I suppose that's better than crashing. Reworking the
	thumbnailer to work without forking is going to be a major effort.

	* theme-thumbnail.c: (theme_thumbnail_factory_init): only enable the
	asynchronous thumbnailer if not on MacOS

svn path=/trunk/; revision=8649
2008-04-13 17:06:34 +00:00
Jens Granseuer
3e446a1955 launch the error dialog with the proper parent so it actually becomes
2008-04-13  Jens Granseuer  <jensgr@gmx.net>

	* gnome-about-me-password.c: (passdlg_error_dialog),
	(passdlg_spawn_passwd), (passdlg_authenticate): launch the error
	dialog with the proper parent so it actually becomes possible to
	dismiss it. Also use GtkMessageDialog instead of eel, and reset the
	busy cursor when launching passwd fails.

svn path=/trunk/; revision=8648
2008-04-13 16:08:48 +00:00
Jens Granseuer
d9af624fd0 use the GnomeBG enum types instead of strings to handle options internally
2008-04-13  Jens Granseuer  <jensgr@gmx.net>

	* appearance-desktop.c: (wp_option_menu_set),
	(wp_scale_type_changed), (wp_shade_type_changed),
	(wp_options_changed), (wp_shading_changed), (wp_props_wp_set),
	(wp_load_stuffs):
	* data/appearance.glade:
	* gnome-wp-item.c: (wp_item_option_to_string),
	(wp_item_shading_to_string), (wp_item_string_to_option),
	(wp_item_string_to_shading), (set_bg_properties),
	(gnome_wp_item_update), (gnome_wp_item_free):
	* gnome-wp-item.h:
	* gnome-wp-xml.c: (gnome_wp_xml_load_xml),
	(gnome_wp_xml_save_list): use the GnomeBG enum types instead of
	strings to handle options internally and only convert when needed

svn path=/trunk/; revision=8647
2008-04-13 14:19:45 +00:00
Jens Granseuer
511873c1f2 remove left-over files
svn path=/trunk/; revision=8646
2008-04-13 10:51:48 +00:00
Jens Granseuer
394c5698a9 include config.h, use strcmp instead of our home-grown g_str_nequal, and
2008-04-12  Jens Granseuer  <jensgr@gmx.net>

	* gtkrc-utils.c: (gtkrc_get_details), (gtkrc_get_color_scheme):
	* gtkrc-utils.h: include config.h, use strcmp instead of our home-grown
	g_str_nequal, and constify the parameter of gtkrc_get_color_scheme

svn path=/trunk/; revision=8645
2008-04-12 12:12:29 +00:00
Gerd Kohlberger
4389eaa5ff Remove unused custom widget. Clean up. (Bug #527418)
2008-04-11  Gerd Kohlberger  <gerdk@svn.gnome.org>

	* gnome-mouse-properties.c: (create_dialog): Remove unused custom widget.
	* gnome-mouse-accessibility.h: Clean up. (Bug #527418)


svn path=/trunk/; revision=8644
2008-04-11 07:12:14 +00:00
Jens Granseuer
1df23c3083 fix include (sync with gedit)
2008-04-08  Jens Granseuer  <jensgr@gmx.net>

	* gedit-message-area.h: fix include (sync with gedit)

svn path=/trunk/; revision=8642
2008-04-08 19:04:34 +00:00
Jens Granseuer
bdf68d23a0 remove accidentally committed (and broken) desktop effects changes
svn path=/trunk/; revision=8641
2008-04-08 18:56:46 +00:00
Jens Granseuer
5a99e085c1 Based on a patch by: Matthias Clasen <mclasen@redhat.com>
2008-04-08  Jens Granseuer  <jensgr@gmx.net>

	Based on a patch by: Matthias Clasen <mclasen@redhat.com>

	* main.c: (create_dialog): don't show the "accessible login" button if
	gdmsetup is not available (bug #526944)

svn path=/trunk/; revision=8639
2008-04-08 16:23:58 +00:00
Rodrigo Moya
a8008dc1e5 Updated NEWS from 2.22 branch
svn path=/trunk/; revision=8638
2008-04-08 12:04:49 +00:00
Denis Washington
aea7d9606c rename "Advanced Configuration" tab to "Ignored Hosts" as that describes
2008-04-06  Denis Washington  <denisw@svn.gnome.org>

	* gnome-network-preferences.glade: rename "Advanced Configuration" tab
	to "Ignored Hosts" as that describes it's content better (bug #314883)

svn path=/trunk/; revision=8631
2008-04-06 15:23:53 +00:00
Jens Granseuer
40ebc083ce get rid of unneeded sort model indirection
2008-04-01  Jens Granseuer  <jensgr@gmx.net>

	* gnome-keybinding-properties.c: (get_real_model), (clear_old_model),
	(append_keys_to_tree), (accel_edited_callback): get rid of unneeded
	sort model indirection

svn path=/trunk/; revision=8624
2008-04-01 19:24:43 +00:00
Jens Granseuer
ad78407721 sort mixer devices alphabetically (bug #525530)
2008-04-01  Jens Granseuer  <jensgr@gmx.net>

	* mixer-support.c: (create_mixer_device_tree_model): sort mixer devices
	alphabetically (bug #525530)

svn path=/trunk/; revision=8623
2008-04-01 18:41:51 +00:00
Jens Granseuer
de1e37ceae don't show modems and other unwanted devices (bug #523888)
2008-04-01  Jens Granseuer  <jensgr@gmx.net>

	* sound-properties-capplet.c: (device_added_callback): don't show
	modems and other unwanted devices (bug #523888)

svn path=/trunk/; revision=8622
2008-04-01 16:22:16 +00:00
Bastien Nocera
04d6b6038d Fix Esc and Backspace being bindable when Caps Lock is on (Closes:
2008-03-31  Bastien Nocera  <hadess@hadess.net>

	* eggcellrendererkeys.c (grab_key_callback): Fix Esc and Backspace
	being bindable when Caps Lock is on (Closes: #524813)


svn path=/trunk/; revision=8615
2008-03-31 12:29:49 +00:00
Bastien Nocera
e80c1a853b Fix category headers not appearing properly in the treeview when using a
2008-03-31  Bastien Nocera  <hadess@hadess.net>

        * gnome-keybinding-properties.c (append_keys_to_tree_from_file):
	Fix category headers not appearing properly in the
	treeview when using a non-UTF-8 locale (Closes: #513988)


svn path=/trunk/; revision=8613
2008-03-31 12:20:14 +00:00
Jens Granseuer
4793494b59 use G_DEFINE_TYPE instead of open-coding get_type
2008-03-30  Jens Granseuer  <jensgr@gmx.net>

	* file-transfer-dialog.c: (file_transfer_dialog_init): use
	G_DEFINE_TYPE instead of open-coding get_type

svn path=/trunk/; revision=8611
2008-03-30 11:16:37 +00:00
Jens Granseuer
111df53db7 sync with gnome-settings-daemon
2008-03-29  Jens Granseuer  <jensgr@gmx.net>

	* eggaccelerators.c: (egg_accelerator_parse_virtual): sync with
	gnome-settings-daemon

svn path=/trunk/; revision=8609
2008-03-29 13:29:57 +00:00
Jens Granseuer
86bfe7a016 fix mismatched modifier mapping between egg and GTK (so that e.g. <Super>
2008-03-29  Jens Granseuer  <jensgr@gmx.net>

	* eggaccelerators.c: (egg_accelerator_parse_virtual),
	(egg_virtual_accelerator_name), (egg_virtual_accelerator_label),
	(egg_keymap_resolve_virtual_modifiers),
	(egg_keymap_virtualize_modifiers), (reload_modmap),
	(egg_keymap_get_modmap):
	* eggaccelerators.h: fix mismatched modifier mapping between egg
	and GTK (so that e.g. <Super> works) and replace some custom
	functionality with stock GTK

svn path=/trunk/; revision=8608
2008-03-29 11:48:06 +00:00
Jens Granseuer
a12ed153f0 keep the overwrite confirmation around for an entire job, so we don't
2008-03-28  Jens Granseuer  <jensgr@gmx.net>

	* file-transfer-dialog.c: (file_transfer_job_destroy),
	(file_transfer_dialog_overwrite), (file_transfer_job_schedule): keep
	the overwrite confirmation around for an entire job, so we don't reset
	the window position all the time

svn path=/trunk/; revision=8606
2008-03-28 22:03:09 +00:00
Jens Granseuer
eb420a2cbb don't try to unref URIs if the theme package is invalid (bug #524567)
2008-03-28  Jens Granseuer  <jensgr@gmx.net>

	* theme-installer.c: (gnome_theme_install_from_uri): don't try to
	unref URIs if the theme package is invalid (bug #524567)

svn path=/trunk/; revision=8603
2008-03-28 17:40:14 +00:00
Jens Granseuer
cf0721ca19 add support for file overwrite confirmation
2008-03-27  Jens Granseuer  <jensgr@gmx.net>

	* file-transfer-dialog.c: (file_transfer_dialog_set_prop),
	(file_transfer_dialog_get_prop), (file_transfer_dialog_init),
	(file_transfer_job_update), (file_transfer_job_progress),
	(file_transfer_dialog_overwrite), (file_transfer_job_schedule),
	(file_transfer_dialog_copy_async):
	* file-transfer-dialog.h: add support for file overwrite confirmation

2008-03-27  Jens Granseuer  <jensgr@gmx.net>

	* theme-installer.c: (gnome_theme_install_real): remove bogus flag
	(gnome_theme_install_from_uri): update for internal API change

svn path=/trunk/; revision=8601
2008-03-27 20:59:44 +00:00
Jens Granseuer
c4ec1346ad fix various string and layout issues (bug #521826)
2008-03-27  Jens Granseuer  <jensgr@gmx.net>

	* gnome-keyboard-properties-a11y.c: (setup_a11y_tabs):
	* gnome-keyboard-properties.c: (create_dialog), (setup_dialog):
	* gnome-keyboard-properties.glade: fix various string and layout
	issues (bug #521826)

svn path=/trunk/; revision=8600
2008-03-27 20:06:47 +00:00
Jens Granseuer
23326ef678 don't mention esd (bug #519722)
2008-03-27  Jens Granseuer  <jensgr@gmx.net>

	* sound-properties.glade: don't mention esd (bug #519722)

svn path=/trunk/; revision=8599
2008-03-27 19:32:49 +00:00
Jens Granseuer
f70ad15ad5 Patch by: Patrick Wade <patrick.wade@sun.com>
2008-03-27  Jens Granseuer  <jensgr@gmx.net>

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

	* appearance-themes.c: (custom_font_cb),
	(theme_message_area_response_cb), (theme_message_area_update),
	(themes_init), (themes_shutdown):
	* appearance.h: allow the user to revert a font change proposed by a
	metatheme (bug #519065)

svn path=/trunk/; revision=8598
2008-03-27 19:29:13 +00:00
Jens Granseuer
debb696c49 Patch by: Patrick Wade <patrick.wade@sun.com>
2008-03-27  Jens Granseuer  <jensgr@gmx.net>

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

	* at-enable-dialog.glade:
	* main.c: (create_dialog), (cb_at_preferences),
	(cb_keyboard_preferences), (cb_mouse_preferences),
	(cb_login_preferences), (setup_dialog): add button to launch mouse
	accessibility properties (bug #515078)

2008-03-27  Jens Granseuer  <jensgr@gmx.net>

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

	* gnome-mouse-properties.c: (main):
	* gnome-mouse-properties.glade: add support for starting the capplet
	on the appearance tab (required by bug #515078)

svn path=/trunk/; revision=8597
2008-03-27 19:23:18 +00:00
Jaap A. Haitsma
0c9753bb72 New tango icon (bug #523916)
2008-03-24  Jaap A. Haitsma  <jaap@haitsma.org>

	* visual-bell.png: New tango icon
	(bug #523916)

svn path=/trunk/; revision=8590
2008-03-24 17:58:37 +00:00
Jens Granseuer
0915e0fd05 don't show the typing break tab if the typing monitor is not available
2008-03-24  Jens Granseuer  <jensgr@gmx.net>

	* gnome-keyboard-properties.c: (setup_dialog): don't show the typing
	break tab if the typing monitor is not available (bug #524034)

svn path=/trunk/; revision=8589
2008-03-24 17:48:00 +00:00
Jens Granseuer
5a04feb49a don't declare the backgrounds icon view reorderable. It's not. Besides,
2008-03-19  Jens Granseuer  <jensgr@gmx.net>

	* data/appearance.glade: don't declare the backgrounds icon view
	reorderable. It's not. Besides, setting this property breaks the
	custom drag and drop functionality (bug #523347). This fixes the
	critical warning when trying to drag an unselected item, but it looks
	like the new nautilus doesn't support background drag and drop, anyway

svn path=/trunk/; revision=8584
2008-03-19 19:16:57 +00:00
Jens Granseuer
b92e2f90e5 don't crash when called for a drag with no selected items (bug #523379)
2008-03-19  Jens Granseuer  <jensgr@gmx.net>

	* gnome-keyboard-properties-xkblt.c:
	(xkb_layouts_dnd_data_received): don't crash when called for a
	drag with no selected items (bug #523379)

svn path=/trunk/; revision=8583
2008-03-19 18:09:49 +00:00
Jens Granseuer
3d19d6f56d stop widget accelerators from activating while the user is entering a new
2008-03-15  Jens Granseuer  <jensgr@gmx.net>

	* gnome-keybinding-properties.c: (accel_edited_callback),
	(accel_cleared_callback), (start_editing_cb),
	(maybe_block_accels), (setup_dialog): stop widget accelerators
	from activating while the user is entering a new shortcut. This
	allows binding shortcuts that are used as accels in the capplet
	dialog, e.g. for the Help and Close buttons (bug #313228)

svn path=/trunk/; revision=8581
2008-03-14 23:23:57 +00:00
Jens Granseuer
c751e9191c remove debugging output
2008-03-14  Jens Granseuer  <jensgr@gmx.net>

	* gnome-keybinding-properties.c: (append_keys_to_tree_from_file):
	remove debugging output

svn path=/trunk/; revision=8580
2008-03-14 20:00:49 +00:00
Jens Granseuer
6d3edb2018 actually check the cursor size before changing it in GConf, not the theme
2008-03-11  Jens Granseuer  <jensgr@gmx.net>

	* gnome-theme-apply.c: (gnome_meta_theme_set): actually check the
	cursor size before changing it in GConf, not the theme name
	(thanks to Kjartan Maraas)

svn path=/trunk/; revision=8578
2008-03-11 19:00:37 +00:00
Jens Granseuer
70c6a9a66a don't resize the font samples vertically when the window is resized (bug
2008-03-11  Jens Granseuer  <jensgr@gmx.net>

	* data/appearance.glade: don't resize the font samples vertically when
	the window is resized (bug #521823)

svn path=/trunk/; revision=8577
2008-03-11 18:16:34 +00:00
Jens Granseuer
d34d7a02e6 Encountering a theme that could not be thumbnailed (e.g. because the
2008-03-11  Jens Granseuer  <jensgr@gmx.net>

	Encountering a theme that could not be thumbnailed (e.g. because the
	metacity theme for a metatheme isn't installed) would make the
	thumbnailer crash. Since it's not restarted by the appearance capplet
	this would result in all themes encountered after the broken one not
	to be thumbnailed either. This change fixes up error handling in the
	thumbnailer so that the broken theme is simply skipped and processing
	can continue with the next one. (bug #521009)

	* theme-thumbnail.c: (create_meta_theme_pixbuf),
	(create_metacity_theme_pixbuf), (message_from_capplet),
	(message_from_child), (read_pixbuf),
	(generate_theme_thumbnail_async), (theme_thumbnail_factory_init):
	properly handle failed thumbnailing attempts

svn path=/trunk/; revision=8576
2008-03-11 17:43:43 +00:00
Jens Granseuer
d3b988bc36 don't free the GConf value if we don't have one. Fixes a crash when
2008-03-11  Jens Granseuer  <jensgr@gmx.net>

	* gconf-property-editor.c: (peditor_numeric_range_widget_changed): don't
	free the GConf value if we don't have one. Fixes a crash when schemas
	are not properly installed (bug #520744)

svn path=/trunk/; revision=8574
2008-03-11 17:33:31 +00:00
Jens Granseuer
abc7d0e053 fix leaks and remove unnecessary casts
2008-03-01  Jens Granseuer  <jensgr@gmx.net>

	* gnome-keyboard-properties-a11y.c:
	(notifications_button_clicked_cb),
	(mousekeys_accel_time_to_widget),
	(mousekeys_accel_time_from_widget), (setup_a11y_tabs): fix leaks
	and remove unnecessary casts

svn path=/trunk/; revision=8538
2008-03-01 12:20:27 +00:00
Denis Washington
008dd57206 make the mouse orientation radio buttons usable with both mouse buttons.
2008-02-29  Denis Washington  <denisw@svn.gnome.org>

	* capplets/mouse/gnome-mouse-properties.c: make the mouse
 	orientation radio buttons usable with both mouse buttons.

svn path=/trunk/; revision=8535
2008-02-29 13:39:00 +00:00
Jens Granseuer
3076088efb fix misspelling of "palindrome" that would make us wait forever when that
2008-02-28  Jens Granseuer  <jensgr@gmx.net>

	* gnome-about-me-password.c: (io_watch_stdout): fix misspelling of
	"palindrome" that would make us wait forever when that case occurred
	(bug #519398)

svn path=/trunk/; revision=8534
2008-02-28 21:58:31 +00:00
Jens Granseuer
7277489eb5 port to gio
2008-02-27  Jens Granseuer  <jensgr@gmx.net>

	* file-transfer-dialog.c: (file_transfer_dialog_update_num_files),
	(file_transfer_dialog_response), (file_transfer_dialog_finalize),
	(file_transfer_dialog_set_prop), (file_transfer_dialog_class_init),
	(file_transfer_dialog_init), (file_transfer_dialog_get_type),
	(file_transfer_job_update_before),
	(file_transfer_job_update_after), (file_transfer_job_destroy),
	(file_transfer_dialog_done), (file_transfer_dialog_cancel),
	(file_transfer_job_schedule), (file_transfer_dialog_copy_async):
	* file-transfer-dialog.h: port to gio

2008-02-27  Jens Granseuer  <jensgr@gmx.net>

	* theme-installer.c: (gnome_theme_install_from_uri): adapt to new
	FileTransferDialog that uses gio instead of GnomeVFS

svn path=/trunk/; revision=8530
2008-02-27 21:14:25 +00:00
Jens Granseuer
e0fe411a3e fix widget tab order (bug #339936)
2008-02-25  Jens Granseuer  <jensgr@gmx.net>

	* gnome-about-me.c: (about_me_setup_dialog):
	* gnome-about-me.glade: fix widget tab order (bug #339936)

svn path=/trunk/; revision=8524
2008-02-25 22:57:28 +00:00
Thomas Wood
e0288e3e5d Return FALSE on error or EOF, which should also fix bug 516413, in
2008-02-25  Thomas Wood  <thos@gnome.org>

	* theme-thumbnail.c: (message_from_child): Return FALSE on error or EOF,
	which should also fix bug 516413, in addition to checking for G_IO_HUP.

svn path=/trunk/; revision=8523
2008-02-25 22:06:42 +00:00
Thomas Wood
26be7ba979 (create_meta_theme_pixbuf), (create_metacity_theme_pixbuf): Use the new
2008-02-25  Thomas Wood  <thos@gnome.org>

	* theme-thumbnail.c:

	(create_meta_theme_pixbuf), (create_metacity_theme_pixbuf):
	Use the new meta_preview_get_clip_region() function in Metacity to fix
	bug 460018 (Rounded window borders don't get rendered correctly).

	(message_from_child): Do not attempt to read from the pipe when
	the connection has been broken. Fixes bug 516413 (Theme thumbnailer
	causes UI to stop drawing when encountering an error).

svn path=/trunk/; revision=8521
2008-02-25 17:41:54 +00:00
Jens Granseuer
d9c41d2850 Patch by: Willie Walker <william.walker@sun.com>
2008-02-21  Jens Granseuer  <jensgr@gmx.net>

	Patch by: Willie Walker <william.walker@sun.com>

	* gnome-at-commandline.in.in: use `...` syntax instead of $(...) for
	better portability (bug #517938)

svn path=/trunk/; revision=8514
2008-02-21 20:46:35 +00:00
Jens Granseuer
bf47e03d16 escape strange hostnames that we want to use as GConf keys (see bug
2008-02-19  Jens Granseuer  <jensgr@gmx.net>

	* main.c: (create_dialog), (save_to_gconf): escape strange hostnames
	that we want to use as GConf keys (see bug #517259 for a similar issue
	in gnome-settings-daemon)

svn path=/trunk/; revision=8509
2008-02-19 20:01:13 +00:00