Commit graph

1960 commits

Author SHA1 Message Date
Jens Granseuer
e1ca865e36 Patch by: Kristof Vansant <de_lupus@pandora.be>
2007-04-08  Jens Granseuer  <jensgr@gmx.net>

	Patch by: Kristof Vansant <de_lupus@pandora.be>

	* gnome-default-applications-properties.glade: don't require gnome
	glade lib

svn path=/trunk/; revision=7447
2007-04-08 12:22:41 +00:00
Jens Granseuer
fd82526691 Patch by: Kristof Vansant <de_lupus@pandora.be>
2007-04-08  Jens Granseuer  <jensgr@gmx.net>

	Patch by: Kristof Vansant <de_lupus@pandora.be>

	* gnome-background-properties.glade: don't require gnome glade lib

svn path=/trunk/; revision=7446
2007-04-08 12:20:42 +00:00
Jens Granseuer
c0346756dd Patch by: Kristof Vansant <de_lupus@pandora.be>
2007-04-08  Jens Granseuer  <jensgr@gmx.net>

	Patch by: Kristof Vansant <de_lupus@pandora.be>
                                                                               
	* at-enable-dialog.glade: don't require gnome glade lib

svn path=/trunk/; revision=7445
2007-04-08 12:18:43 +00:00
Jens Granseuer
848e023bb0 Patch by: Kristof Vansant <de_lupus@pandora.be>
2007-04-08  Jens Granseuer  <jensgr@gmx.net>

	Patch by: Kristof Vansant <de_lupus@pandora.be>

	* font-properties.glade: don't require gnome glade lib

svn path=/trunk/; revision=7444
2007-04-08 12:15:38 +00:00
Bastien Nocera
6e718f6ed0 Remove the metacity keybindings definitions, they're in metacity now
2007-04-05  Bastien Nocera  <hadess@hadess.net>

	* 50-metacity-desktop-key.xml.in:
	* 50-metacity-key.xml.in:
	* Makefile.am: Remove the metacity keybindings definitions, they're
	in metacity now

2007-04-05  Bastien Nocera  <hadess@hadess.net>

	* POTFILES.in: Updated for removed files


svn path=/trunk/; revision=7442
2007-04-05 09:26:34 +00:00
Jens Granseuer
7eeb3afb39 don't crash if the color string is mangled, and close a small memory leak
2007-04-03  Jens Granseuer  <jensgr@gmx.net>

	* gnome-theme-details.c: (update_color_buttons_from_string):
	don't crash if the color string is mangled, and close a small
	memory leak

svn path=/trunk/; revision=7439
2007-04-03 21:05:11 +00:00
Jens Granseuer
66283c87ed move function inside USE_HAL
2007-04-03  Jens Granseuer  <jensgr@gmx.net>

	* sound-properties-capplet.c: (remove_device): move function inside
	USE_HAL

svn path=/trunk/; revision=7438
2007-04-03 19:17:47 +00:00
Jens Granseuer
3804bf4a44 Patch by: Matthias Clasen <mclasen@redhat.com>
2007-04-03  Jens Granseuer  <jensgr@gmx.net>

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

	* sound-properties-capplet.c: (setup_default_mixer): ellipsize the
	device combobox (bug #425650)

svn path=/trunk/; revision=7437
2007-04-03 19:13:17 +00:00
Sergey V. Udaltsov
23e6f1e2a7 s/default/Default/
svn path=/trunk/; revision=7431
2007-03-31 18:17:32 +00:00
Sergey V. Udaltsov
9d00463e32 new version of the layout chooser
svn path=/trunk/; revision=7426
2007-03-26 23:11:44 +00:00
Sergey V. Udaltsov
b6e1fdf6e9 another bit of cleanup
svn path=/trunk/; revision=7421
2007-03-24 00:23:57 +00:00
Sergey V. Udaltsov
d173601ca5 a bit more cleanup
svn path=/trunk/; revision=7420
2007-03-23 23:54:05 +00:00
Jens Granseuer
a3cac171e0 add 720x576 (PAL) to the list of valid resolutions. Closes bug #325548.
2007-03-23  Jens Granseuer  <jensgr@gmx.net>

	* main.c: (show_resolution): add 720x576 (PAL) to the list of valid
	resolutions. Closes bug #325548.

svn path=/trunk/; revision=7419
2007-03-23 19:56:37 +00:00
Priit Laes
8487561670 Deprecated GtkOptionMenu to GtkComboBox conversion. Ditto. Closes bug
2007-03-23  Priit Laes  <amd@store20.com>

	* gnome-window-properties.c: (double_click_titlebar_changed_callback),
	(reload_settings), (update_wm), (main): Deprecated GtkOptionMenu to
	GtkComboBox conversion.
	* gnome-window-properties.glade: Ditto.
	Closes bug #421210.


svn path=/trunk/; revision=7418
2007-03-23 18:36:35 +00:00
Sergey V. Udaltsov
4dd31fc983 restoring the working version
svn path=/trunk/; revision=7417
2007-03-23 00:28:44 +00:00
Sergey V. Udaltsov
f7e40120a8 cleaning up some unneeded headers
svn path=/trunk/; revision=7416
2007-03-23 00:26:44 +00:00
Sergey V. Udaltsov
9bb60f7a53 split the layout chooser into the separate .c file
svn path=/trunk/; revision=7413
2007-03-21 23:55:40 +00:00
Bastien Nocera
dddfaa2a2a Prepend the directory name before loading the files, otherwise, we're
2007-03-21  Bastien Nocera  <hadess@hadess.net>

	* gnome-keybinding-properties.c: (reload_key_entries):
	Prepend the directory name before loading the files, otherwise, we're
	loading them from the current directory, spotted by Fernando Herrera
	<fherrera@onirica.com> (Closes: #420796)


svn path=/trunk/; revision=7411
2007-03-21 19:01:27 +00:00
Jens Granseuer
94238895cb uppercase the rotation options. Closes bug #410959.
2007-03-21  Jens Granseuer  <jensgr@gmx.net>

	* main.c: uppercase the rotation options. Closes bug #410959.

svn path=/trunk/; revision=7410
2007-03-21 17:26:08 +00:00
Federico Mena Quintero
30c1207620 Fix the gnome-settings-daemon part of
2007-03-21  Federico Mena Quintero  <federico@novell.com>

	Fix the gnome-settings-daemon part of
	https://bugzilla.novell.com/show_bug.cgi?id=217790 and
	http://bugzilla.gnome.org/show_bug.cgi?id=378338:  try to figure
	out the DPI value from the X server or the user's GConf settings.

	Should also fix https://bugzilla.novell.com/show_bug.cgi?id=240246.

	* gnome-settings-daemon/gnome-settings-xsettings.c (gnome_xft_settings_get): Call
	get_dpi_from_gconf_or_server() to figure out a reasonable DPI
	value; don't unconditionally get it from GConf.
	(get_dpi_from_gconf_or_server): New function.  If the user has
	ever set the /desktop/gnome/font_rendering/dpi value in GConf, we
	use its value.  Otherwise, we ask the X server.  We constrain the
	X server's response to a range of reasonable DPI values, since
	some servers lie about the screen's phisical dimensions --- the
	user would get unusably huge or tiny fonts otherwise.

	* capplets/font/main.c (dpi_load): First, see if the DPI value is actually set
	in GConf.  If it is, it means that the user has changed it at
	least once.  In that case, just use the value.  Otherwise, find
	the value from the X server in a similar way to what we do in
	gnome-settings-daemon.

svn path=/trunk/; revision=7409
2007-03-21 17:05:06 +00:00
Frederic Crozat
8325f4df39 Disable revert button when using theme engine defaults colors. Close bug
2007-03-21  Frederic Crozat  <fcrozat@mandriva.com>

       * gnome-theme-details.c: (update_color_scheme_tab):
       Disable revert button when using theme engine defaults colors.
       Close bug #417423.


svn path=/trunk/; revision=7406
2007-03-21 09:08:30 +00:00
Priit Laes
b7386fc2e2 Add schemas to media keybinding.
2007-03-20  Priit Laes  <plaes@svn.gnome.org>

	* capplets/keybindings/00-multimedia-key.xml.in:
	* schemas/apps_gnome_settings_daemon_keybindings.schemas.in: Add schemas
	to media keybinding.

	Introduces preferred media application support. Bug #362578.

svn path=/trunk/; revision=7405
2007-03-20 19:16:56 +00:00
Priit Laes
fe4665e55f Glue code to tie everything together. Added widgets and defines for
2007-03-20  Priit Laes  <plaes@svn.gnome.org>

	* gnome-da-capplet.c: Glue code to tie everything together.
	* gnome-da-capplet.h: Added widgets and defines for default mediaplayer.
	* gnome-da-xml.c: (gnome_da_xml_load_xml), (gnome_da_xml_free): Added
	mediaplayer data parser.
	* gnome-da-item.c: Changed occurrences of MailItem to SimpleItem, so we
	can also use it for mediaplayers.
	* gnome-da-item.h: Ditto.
	* gnome-default-applications-properties.glade: Make Multimedia tab visible
	and change the UI to include our favorite mediaplayer selector.
	* gnome-default-applications.xml.in: Add some media players to the list.

	Introduces preferred media application support. Bug #362578.

svn path=/trunk/; revision=7403
2007-03-20 18:53:59 +00:00
Jens Granseuer
29478049dd Based on a patch by: Bastien Nocera <hadess@hadess.net>
2007-03-19  Jens Granseuer  <jensgr@gmx.net>

	Based on a patch by: Bastien Nocera <hadess@hadess.net>

	* Makefile.am: don't try to build about-me if it's been disabled in
	configure and make is run in the subdir (closes bug #408552)

svn path=/trunk/; revision=7399
2007-03-19 18:28:38 +00:00
Bastien Nocera
b7e17af415 Fix the path from which we'd load the keybindings
2007-03-19  Bastien Nocera  <hadess@hadess.net>

	* Makefile.am:
	* gnome-keybinding-properties.c: (reload_key_entries):
	Fix the path from which we'd load the keybindings


svn path=/trunk/; revision=7398
2007-03-19 15:23:33 +00:00
Bastien Nocera
fc29de6d6b Make all the keybindings be external to the keybindings capplet itself.
2007-03-19  Bastien Nocera  <hadess@hadess.net>

	* capplets/keybindings/00-multimedia-key.xml.in:
	* capplets/keybindings/01-desktop-key.xml.in:
	* capplets/keybindings/50-metacity-desktop-key.xml.in:
	* capplets/keybindings/50-metacity-key.xml.in:
	* capplets/keybindings/Makefile.am:
	* capplets/keybindings/gnome-keybinding-properties.c:
	(create_dialog), (should_show_key), (count_rows_foreach),
	(ensure_scrollbar), (append_keys_to_tree), (parse_start_tag),
	(append_keys_to_tree_from_file), (reload_key_entries),
	(setup_dialog):
	* po/POTFILES.in: Make all the keybindings be external to the keybindings
	capplet itself. This allows applications to add their own keybindings
	without recompilation (Closes: #410758)


svn path=/trunk/; revision=7397
2007-03-19 15:14:06 +00:00
Jens Granseuer
de16439ab3 Patch by: Vitaliy Ischenko <betalb@gmail.com>
2007-03-18  Jens Granseuer  <jensgr@gmx.net>

	Patch by: Vitaliy Ischenko <betalb@gmail.com>

	* capplets/about-me/gnome-about-me.glade:
	* capplets/accessibility/keyboard/gnome-accessibility-keyboard-properties.glade:
	* capplets/default-applications/gnome-default-applications-properties.glade:
	* capplets/keyboard/gnome-keyboard-properties.glade:
	* capplets/network/gnome-network-properties.glade:
	don't hardcode the invisible char property in glade files (closes bug
	#393879)

svn path=/trunk/; revision=7395
2007-03-18 17:39:22 +00:00
Jens Granseuer
ef78a7168a Patch by: Andreas Koehler <andi5.py@gmx.net>
2007-03-18  Jens Granseuer  <jensgr@gmx.net>

	Patch by: Andreas Koehler <andi5.py@gmx.net>

	* gnome-mouse-properties.glade: use automatic instead of always
	scrollbar policy for the mouse pointer tab (fixes #345884)

svn path=/trunk/; revision=7394
2007-03-18 17:26:23 +00:00
Jens Granseuer
661686c5e8 Patch by: Andreas Koehler <andi5.py@gmx.net>
2007-03-18  Jens Granseuer  <jensgr@gmx.net>

        Patch by: Andreas Koehler <andi5.py@gmx.net>

	* gnome-keyboard-properties.glade: use automatic instead of always
        scrollbar policy for the layout selection dialog (fixes #345884)

svn path=/trunk/; revision=7393
2007-03-18 17:25:58 +00:00
Jens Granseuer
06d1bdc9d2 use a radio button instead of a checkbox to indicate the default layout.
2007-03-18  Jens Granseuer  <jensgr@gmx.net>

	* gnome-keyboard-properties-xkblt.c:
	(xkb_layouts_prepare_selected_tree): use a radio button instead of a
	checkbox to indicate the default layout. Fixes #389469.

svn path=/trunk/; revision=7392
2007-03-18 17:13:47 +00:00
Christian Persch
c7b803a131 Fix button label alignment. Bug #416238.
2007-03-18  Christian Persch  <chpe@gnome.org>

	* sound-properties.glade: Fix button label alignment. Bug #416238.

svn path=/trunk/; revision=7390
2007-03-18 16:15:13 +00:00
Christian Persch
c490230832 Revert unrelated change accidentally committed with the previous commit.
2007-03-18  Christian Persch  <chpe@gnome.org>

	* sound-properties-capplet.c: (create_dialog): Revert unrelated change
	accidentally committed with the previous commit.

svn path=/trunk/; revision=7389
2007-03-18 14:27:53 +00:00
Christian Persch
9975a0cc64 Initialise threads early, and fix option context translation. Bug #416239.
2007-03-18  Christian Persch  <chpe@gnome.org>

	* sound-properties-capplet.c: (create_dialog), (main): Initialise
	threads early, and fix option context translation. Bug #416239.

svn path=/trunk/; revision=7388
2007-03-18 14:25:53 +00:00
Jens Granseuer
8b90d02157 fix build with gcc 2, and move setting the sort column somewhere sensible
2007-03-05  Jens Granseuer  <jensgr@gmx.net>

	* gnome-mouse-properties.c: (populate_tree_model), (setup_dialog): fix
	build with gcc 2, and move setting the sort column somewhere sensible

svn path=/trunk/; revision=7364
2007-03-05 19:26:18 +00:00
Jens Granseuer
5a8978b069 Patch by: Andreas Koehler <andi5.py@gmx.net>
2007-03-04  Jens Granseuer  <jensgr@gmx.net>

	Patch by: Andreas Koehler <andi5.py@gmx.net>

	* gnome-about-me.glade: use proper shadow type for the address fields
	(fixes bug #414061)

svn path=/trunk/; revision=7362
2007-03-04 21:07:52 +00:00
Jens Granseuer
7227b2dafd plug leaks. Fixes bug #396069.
2007-03-04  Jens Granseuer  <jensgr@gmx.net>

	* gnome-wp-capplet.c: (gnome_wp_add_images),
	(gnome_wp_file_open_dialog), (bg_properties_dragged_image),
	(gnome_wp_main_quit), (gnome_wp_scale_type_changed),
	(gnome_wp_shade_type_changed), (gnome_wp_load_stuffs),
	(gnome_wp_options_changed), (gnome_wp_shading_changed),
	(wallpaper_properties_init), (main):
	* gnome-wp-item.c: (gnome_wp_item_new),
	(gnome_wp_item_get_thumbnail):
	* gnome-wp-xml.c: (gnome_wp_load_legacy), (gnome_wp_xml_load_xml),
	(gnome_wp_list_flatten), (gnome_wp_xml_save_list): plug leaks.
	Fixes bug #396069.

svn path=/trunk/; revision=7361
2007-03-04 20:42:33 +00:00
Benjamin Berg
36c9732484 Free the engine and color scheme lists. Removed some bogus old code that
2007-03-04  Benjamin Berg  <benjamin@sipsolutions.net>

	* gnome-theme-details.c: (update_color_scheme_tab):
	Free the engine and color scheme lists.
	Removed some bogus old code that caused the current theme to be
	checked instead of the new one.

svn path=/trunk/; revision=7360
2007-03-04 19:59:56 +00:00
Thomas Wood
bc8e3ee007 Don't try and open null filenames Reset the gtk_color_scheme after a
2007-03-04  Thomas Wood  <thos@gnome.org>

	* gnome-theme-info.c: (gnome_theme_read_meta_theme): Don't try and open null
	filenames
	* theme-thumbnail.c: (message_from_capplet): Reset the gtk_color_scheme after
	a thumbnail has been generated.

svn path=/trunk/; revision=7359
2007-03-04 18:28:57 +00:00
Thomas Wood
68b68e08b8 Patch by: Thomas Zajic <zlatko@gmx.at>
2007-03-04  Thomas Wood  <thos@gnome.org>

	Patch by: Thomas Zajic <zlatko@gmx.at>

	* gnome-mouse-properties.c: (populate_tree_model): Add two popular cursor
	sizes to the filter, and sort "Pointers" list alphabetically.

svn path=/trunk/; revision=7358
2007-03-04 17:39:36 +00:00
Thomas Wood
3a4bd9578d Move gtkrc-utils from capplets/theme-switcher to capplets/common.
2007-03-04  Thomas Wood  <thos@gnome.org>

	* Makefile.am:
	* gtkrc-utils.c: (gtkrc_get_details):
	* gtkrc-utils.h:
	Move gtkrc-utils from capplets/theme-switcher to capplets/common.

	* gnome-theme-info.c: (gnome_theme_read_meta_theme): Search the gtkrc for
	the colour scheme if none was found in the metatheme file. Fixes a problem
	when comparing two metathemes which only differ by the colour scheme setting.


svn path=/trunk/; revision=7356
2007-03-04 17:17:47 +00:00
Jens Granseuer
79b4f3b6bd fix double-free reported by Sandino Flores-Moreno. Closes bug #413352.
2007-03-01  Jens Granseuer  <jensgr@gmx.net>

	* main.c: (create_dialog): fix double-free reported by Sandino
	Flores-Moreno. Closes bug #413352.

svn path=/trunk/; revision=7351
2007-03-01 18:01:02 +00:00
Thomas Wood
a93dd44a88 Replace a deprecated function (color_select), (gnome_theme_details_init):
2007-02-28  Thomas Wood  <thos@gnome.org>

	* gnome-theme-details.c: (load_theme_names): Replace a deprecated function
	(color_select), (gnome_theme_details_init): Rename color_select() to gtk_color_scheme_changed()

svn path=/trunk/; revision=7345
2007-02-28 09:36:57 +00:00
Thomas Wood
4a33f799ef Set the gtk-color-scheme even if it is blank. Set the gtk-color-scheme
2007-02-28  Thomas Wood  <thos@gnome.org>

	* gnome-theme-apply.c: (gnome_meta_theme_set): Set the gtk-color-scheme even
	if it is blank.
	* theme-thumbnail.c: (create_image), (handle_bytes),
	(generate_theme_thumbnail), (generate_theme_thumbnail_async),
	(theme_thumbnail_factory_init): Set the gtk-color-scheme when creating the
	thumbnail.

svn path=/trunk/; revision=7344
2007-02-28 09:18:24 +00:00
Jens Granseuer
df30efc30f another attempt at fixing bug #411697. The previous commit fell a bit
2007-02-27  Jens Granseuer  <jensgr@gmx.net>

	* gnome-about-me-password.c: (stop_passwd),
	(free_passwd_resources), (passdlg_process_response): another attempt
	at fixing bug #411697. The previous commit fell a bit short

svn path=/trunk/; revision=7343
2007-02-27 19:56:12 +00:00
Jens Granseuer
9ff02af06c prevent the child watcher from accessing already released memory after the
2007-02-26  Jens Granseuer  <jensgr@gmx.net>

	* gnome-about-me-password.c: (stop_passwd), (child_watch_remove),
	(free_passwd_resources): prevent the child watcher from accessing
	already released memory after the dialog has been closed (should fix
	bug #411697)

	* gnome-about-me-password.c: (gnome_about_me_password): unref dialog
	when we're done

	* gnome-about-me.c: (about_me_setup_dialog): remove redundant warning

svn path=/trunk/; revision=7338
2007-02-26 17:05:09 +00:00
Jens Granseuer
f85d110b1f Patch by: Diego Escalante Urrelo <diego@aureal.com.pe>
2007-02-25  Jens Granseuer  <jensgr@gmx.net>

	Patch by: Diego Escalante Urrelo <diego@aureal.com.pe>

	* e-image-chooser.c: (set_image_from_data): don't use a composite
	pixbuf, avoiding some unnecessary clipping (fixes bug #380315)

svn path=/trunk/; revision=7335
2007-02-25 12:20:31 +00:00
Jens Granseuer
67d5239993 change default dir for the image chooser to $datadir/pixmaps/faces (same
2007-02-25  Jens Granseuer  <jensgr@gmx.net>

	* Makefile.am:
	* gnome-about-me.c: (about_me_image_clicked_cb): change default dir for
	the image chooser to $datadir/pixmaps/faces (same as gdm) and add a
	bookmark for ~/Pictures if available (fixes bug #408305)

svn path=/trunk/; revision=7333
2007-02-25 10:07:28 +00:00
Jens Granseuer
e5b4a38592 fix harmless copy'n'paste error
2007-02-23  Jens Granseuer  <jensgr@gmx.net>

	* gnome-theme-installer.c: (transfer_done_tarbz2_idle_cb): fix
	harmless copy'n'paste error

svn path=/trunk/; revision=7326
2007-02-23 18:05:03 +00:00
Jens Granseuer
3950a63d86 add another NULL check. Should really fix #398631.
2007-02-23  Jens Granseuer  <jensgr@gmx.net>

	* gnome-keyboard-properties-xkblt.c: (def_group_in_gconf_changed):
	add another NULL check. Should really fix #398631.

svn path=/trunk/; revision=7325
2007-02-23 17:33:22 +00:00
Jens Granseuer
53c80ad47b color components in GdkColor are guint16 not guint8, so format
2007-02-22  Jens Granseuer  <jensgr@gmx.net>

	* gnome-theme-details.c: (color_select): color components in
	GdkColor are guint16 not guint8, so format accordingly. Fixes bug
	398331.

svn path=/trunk/; revision=7321
2007-02-22 20:35:17 +00:00