Commit graph

2786 commits

Author SHA1 Message Date
Jens Granseuer
abd16829c8 Based on patch by: Jakub Rusinek <liviopl.pl@gmail.com>
2007-11-28  Jens Granseuer  <jensgr@gmx.net>

	Based on patch by: Jakub Rusinek <liviopl.pl@gmail.com>

	* gnome-default-applications.xml.in: add support for Midori web browser
	(bug #500274)

svn path=/trunk/; revision=8303
2007-11-28 19:41:16 +00:00
Jens Granseuer
2c76333494 make "Open" the default action for the file choosers (bug #500091)
2007-11-28  Jens Granseuer  <jensgr@gmx.net>

	* appearance-desktop.c: (desktop_init):
	* theme-installer.c: (gnome_theme_installer_run): make "Open" the
	default action for the file choosers (bug #500091)

svn path=/trunk/; revision=8302
2007-11-28 18:36:51 +00:00
Sebastien Bacher
4b78e6e868 enable the preferred applications button, patch by Chris Jones (Closes:
2007-11-26  Sebastien Bacher  <seb128@ubuntu.com>

	* main.c: (at_enable_update): enable the preferred applications button,
	  patch by Chris Jones (Closes: #499332)

svn path=/trunk/; revision=8300
2007-11-26 09:02:11 +00:00
Sebastien Bacher
c9a3f5c1eb don't list the oudated evolution versions nor the text web browsers
2007-11-26  Sebastien Bacher  <seb128@ubuntu.com>

	* gnome-default-applications.xml.in: don't list the oudated evolution
	  versions nor the text web browsers (Closes: #499327)

svn path=/trunk/; revision=8299
2007-11-26 08:57:53 +00:00
Jens Granseuer
d67728a62a Patch by: Matthias Clasen <mclasen@redhat.com>
2007-11-24  Jens Granseuer  <jensgr@gmx.net>

	Patch by: Matthias Clasen <mclasen@redhat.com>

	* gnome-about-me.glade: remove non-functional Help button (bug #497803)

svn path=/trunk/; revision=8296
2007-11-24 14:22:13 +00:00
Frederic Crozat
7514dfe2e0 Fix detection of image mimetype (bug #498980)
2007-11-22  Frederic Crozat  <fcrozat@mandriva.com>

       * gnome-wp-item.c: Fix detection of image mimetype (bug #498980)

svn path=/trunk/; revision=8294
2007-11-23 16:26:24 +00:00
Jens Granseuer
25e6047256 add shortcut for /usr/share/backgrounds to background file chooser and
2007-11-18  Jens Granseuer  <jensgr@gmx.net>

	* appearance-desktop.c: (desktop_init): add shortcut for
	/usr/share/backgrounds to background file chooser and also consider it
	when setting the initial directory (bug #497807)

svn path=/trunk/; revision=8289
2007-11-18 13:02:19 +00:00
Rodrigo Moya
3be83efcfc re-added GnomeThemeElement to the "public" API, since it's used in
20007-11-12  Rodrigo Moya <rodrigo@gnome-db.org>

	* gnome-theme-info.c:
	* gnome-theme-info.h: re-added GnomeThemeElement to the "public" API,
	since it's used in gnome-theme-test.

svn path=/trunk/; revision=8279
2007-11-12 13:39:04 +00:00
Jens Granseuer
e1e7254db8 remove GnomeThemeElement from the "public" API
2007-11-11  Jens Granseuer  <jensgr@gmx.net>

	* gnome-theme-info.c:
	* gnome-theme-info.h: remove GnomeThemeElement from the "public" API

svn path=/trunk/; revision=8277
2007-11-11 19:43:39 +00:00
Jens Granseuer
9e29ffc280 remove more redundant info from the theme changed callback
2007-11-11  Jens Granseuer  <jensgr@gmx.net>

	* gnome-theme-info.c: (handle_change_signal), (update_theme_index),
	(update_common_theme_dir_index):
	* gnome-theme-info.h: remove more redundant info from the theme changed
	callback

2007-11-11  Jens Granseuer  <jensgr@gmx.net>

	* appearance-style.c: (changed_on_disk_cb):
	* appearance-themes.c: (theme_changed_on_disk_cb): adapt to modified
	theme change callback


2007-11-11  Jens Granseuer  <jensgr@gmx.net>

	* theme-method.c: (theme_changed_callback): adapt to callback change

svn path=/trunk/; revision=8276
2007-11-11 19:36:29 +00:00
Jens Granseuer
1527943582 the fine line between text fields and text boxes seems rather irrelevant
2007-11-11  Jens Granseuer  <jensgr@gmx.net>

	* gnome-keyboard-properties.glade: the fine line between text fields
	and text boxes seems rather irrelevant here

svn path=/trunk/; revision=8275
2007-11-11 19:33:31 +00:00
Jens Granseuer
b031fb0e12 use standard preferences-desktop-locale icon
2007-11-11  Jens Granseuer  <jensgr@gmx.net>

	* localization.desktop.in.in: use standard preferences-desktop-locale
	icon

svn path=/trunk/; revision=8272
2007-11-11 10:59:30 +00:00
Denis Washington
14c10e56bb commit changelog changes
svn path=/trunk/; revision=8271
2007-11-10 18:02:16 +00:00
Denis Washington
3e0003d138 Tweak the interface slightly and name all important widgets.
2007-11-10  Denis Washington  <dwashington@gmx.net>

	* localization.glade: Tweak the interface slightly and name all
	important widgets.


svn path=/trunk/; revision=8270
2007-11-10 18:01:05 +00:00
Jens Granseuer
80b2a5f837 fix several minor issues in the desktop file
2007-11-10  Jens Granseuer  <jensgr@gmx.net>

	* localization.desktop.in.in: fix several minor issues in the
	desktop file

svn path=/trunk/; revision=8269
2007-11-10 17:19:50 +00:00
Jens Granseuer
951971ee54 don't get confused when the user does not have a password set and passwd
2007-11-10  Jens Granseuer  <jensgr@gmx.net>

	* gnome-about-me-password.c: (authenticated_user),
	(io_watch_stdout): don't get confused when the user does not have a
	password set and passwd immediately asks for the new one. This resulted
	in an endless loop up to now (bug #336872)

svn path=/trunk/; revision=8265
2007-11-10 15:34:37 +00:00
Jens Granseuer
75b37c980c don't leak the glade data
2007-11-10  Jens Granseuer  <jensgr@gmx.net>

	* main.c: (create_dialog): don't leak the glade data

svn path=/trunk/; revision=8264
2007-11-10 12:04:14 +00:00
Rodrigo Moya
42e478c862 added new localization capplet to the build.
2007-11-09  Rodrigo Moya <rodrigo@gnome-db.org>

	* configure.in:
	* capplets/Makefile.am: added new localization capplet to the build.

svn path=/trunk/; revision=8262
2007-11-09 20:23:28 +00:00
Rodrigo Moya
24a8d3b65b Started localization capplet.
2007-11-02  Rodrigo Moya <rodrigo@gnome-db.org>

	Started localization capplet.

svn path=/trunk/; revision=8261
2007-11-09 20:22:21 +00:00
Jens Granseuer
ee4bb34379 add another string to the list of recognized error returns from passwd
2007-11-03  Jens Granseuer  <jensgr@gmx.net>

	* gnome-about-me-password.c: (io_watch_stdout): add another string to
	the list of recognized error returns from passwd ("must choose a longer
	password")

svn path=/trunk/; revision=8256
2007-11-03 15:10:53 +00:00
Jens Granseuer
6b8e2ae765 don't include keyboard model description in glade file
2007-11-03  Jens Granseuer  <jensgr@gmx.net>

	* gnome-keyboard-properties.glade: don't include keyboard model
	description in glade file

svn path=/trunk/; revision=8255
2007-11-03 13:31:57 +00:00
Jens Granseuer
9711a951fa fix left-over GTK_ENTRY use from last commit
2007-11-03  Jens Granseuer  <jensgr@gmx.net>

	* gnome-keyboard-properties-xkb.c: (set_model_text): fix left-over
	GTK_ENTRY use from last commit

svn path=/trunk/; revision=8253
2007-11-03 13:07:19 +00:00
Denis Washington
980f8a00cf Replace text entry and "Choose..." button for keyboard model with a single
2007-11-03  Denis Washington  <denisw@svn.gnome.org>

	* gnome-keyboard-properties-xkb.c:
	* gnome-keyboard-properties.glade: Replace text entry and
	"Choose..." button for keyboard model with a single chooser
	button.

svn path=/trunk/; revision=8252
2007-11-03 12:57:35 +00:00
Jens Granseuer
cf1bfcb3d6 rename first tab to "General"
2007-11-03  Jens Granseuer  <jensgr@gmx.net>

	* gnome-keyboard-properties.glade: rename first tab to "General"

svn path=/trunk/; revision=8250
2007-11-03 11:10:04 +00:00
Jens Granseuer
73ed731cc2 be more careful when reading background information from GConf and make
2007-11-03  Jens Granseuer  <jensgr@gmx.net>

	* appearance-desktop.c: (wp_color_changed), (wp_props_wp_set):
	* gnome-wp-item.c: (gnome_wp_item_new), (gnome_wp_item_free),
	(gnome_wp_item_dup):
	* gnome-wp-item.h:
	* gnome-wp-xml.c: (gnome_wp_xml_load_xml), (gnome_wp_xml_save_list):
	be more careful when reading background information from GConf and make
	sure we don't choke on NULL values later on (bug #492903)

svn path=/trunk/; revision=8249
2007-11-03 10:57:05 +00:00
Sergey V. Udaltsov
071af09ea6 moving layout options to separate popup
svn path=/trunk/; revision=8248
2007-11-03 02:22:05 +00:00
Jens Granseuer
782dddf5fe Patch by: Joel Pfaff <joel.pfaff@gmail.com>
2007-11-01  Jens Granseuer  <jensgr@gmx.net>

	Patch by: Joel Pfaff <joel.pfaff@gmail.com>

	* appearance-themes.c: (themes_init): fix build without libXcursor

svn path=/trunk/; revision=8246
2007-11-01 19:22:51 +00:00
Kjartan Maraas
309ab3c597 Fix warnings from sparse. Don't use deprecated signal api from gtk+.
2007-10-31  Kjartan Maraas  <kmaraas@gnome.org>

	* gnome-keyboard-properties-xkblt.c:
	(xkb_layouts_prepare_selected_tree):
	Fix warnings from sparse. Don't use deprecated signal
	api from gtk+.

svn path=/trunk/; revision=8241
2007-10-31 14:38:27 +00:00
Kjartan Maraas
965e2c09f5 Distcheck fixes.
2007-10-31  Kjartan Maraas  <kmaraas@gnome.org>

	* Makefile.am: Distcheck fixes.

svn path=/trunk/; revision=8240
2007-10-31 14:37:33 +00:00
Kjartan Maraas
fa5c993d24 Distcheck fixes.
2007-10-31  Kjartan Maraas  <kmaraas@gnome.org>

	* Makefile.am: Distcheck fixes.

svn path=/trunk/; revision=8239
2007-10-31 14:36:46 +00:00
Jens Granseuer
c14f3824b0 revert last patch, it's just too ugly as long as the "one dialog per
2007-10-30  Jens Granseuer  <jensgr@gmx.net>

	* theme-installer.c: (gnome_theme_installer_run): revert last patch,
	it's just too ugly as long as the "one dialog per installed file" issue
	isn't fixed

svn path=/trunk/; revision=8236
2007-10-30 21:08:09 +00:00
Jens Granseuer
2a7579a53b Patch by: Benjamin Gramlich <benjamin.gramlich@gmail.com>
2007-10-30  Jens Granseuer  <jensgr@gmx.net>

	Patch by: Benjamin Gramlich <benjamin.gramlich@gmail.com>

	* theme-installer.c: (gnome_theme_installer_run): allow the user to
	select multiple themes to install at once (first part of the fix for
	bug #124554)

svn path=/trunk/; revision=8235
2007-10-30 20:32:55 +00:00
Jens Granseuer
9a5c2f7fcf When installing multiple themes at once, don't ask the user whether to
2007-10-30  Jens Granseuer  <jensgr@gmx.net>

	When installing multiple themes at once, don't ask the user whether to
	apply after each theme. Instead, simply show a success message after
	installation has finished, and ask only if a single theme has been
	installed.

	* theme-installer.c: (gnome_theme_install_real),
	(transfer_done_cb): check whether there are multiple themes to install
	up front, and skip the apply dialog if so

svn path=/trunk/; revision=8234
2007-10-30 20:26:00 +00:00
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
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
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
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