Commit graph

321 commits

Author SHA1 Message Date
Jens Granseuer
c9d0aee628 add cappletname variable which is used to define G_LOG_DOMAIN (fixes
2007-02-03  Jens Granseuer  <jensgr@gmx.net>

	* capplets/about-me/Makefile.am:
	* capplets/background/Makefile.am:
	* capplets/default-applications/Makefile.am:
	* capplets/display/Makefile.am:
	* capplets/font/Makefile.am:
	* capplets/keybindings/Makefile.am:
	* capplets/keyboard/Makefile.am:
	* capplets/mouse/Makefile.am:
	* capplets/network/Makefile.am:
	* capplets/sound/Makefile.am:
	* capplets/theme-switcher/Makefile.am:
	* capplets/ui-properties/Makefile.am:
	* capplets/windows/Makefile.am: add cappletname variable which is
	used to define G_LOG_DOMAIN (fixes #380991)

svn path=/trunk/; revision=7239
2007-02-03 17:18:29 +00:00
Christian Persch
43d40d7a0a Don't define directories in configure. Remove some obsolete defines, and
2007-02-02  Christian Persch  <chpe@svn.gnome.org>

	* Makefile.am:
	* capplets/about-me/Makefile.am:
	* capplets/about-me/gnome-about-me-password.c: (passdlg_init):
	* capplets/about-me/gnome-about-me.c: (about_me_setup_dialog):
	* capplets/accessibility/at-properties/Makefile.am:
	* capplets/accessibility/keyboard/Makefile.am:
	* capplets/accessibility/keyboard/accessibility-keyboard.c:
	(setup_accessX_dialog):
	* capplets/background/Makefile.am:
	* capplets/background/gnome-wp-capplet.c: (gnome_wp_create_dialog):
	* capplets/common/Makefile.am:
	* capplets/common/capplet-util.c: (capplet_set_icon):
	* capplets/default-applications/Makefile.am:
	* capplets/display/Makefile.am:
	* capplets/file-types/Makefile.am:
	* capplets/file-types/file-types-capplet.c: (create_dialog):
	* capplets/file-types/mime-category-edit-dialog.c:
	(mime_category_edit_dialog_init):
	* capplets/file-types/mime-edit-dialog.c: (mime_edit_dialog_init):
	* capplets/file-types/service-edit-dialog.c:
	(service_edit_dialog_init):
	* capplets/font/Makefile.am:
	* capplets/keybindings/Makefile.am:
	* capplets/keybindings/gnome-keybinding-properties.c:
	(create_dialog):
	* capplets/keyboard/Makefile.am:
	* capplets/keyboard/gnome-keyboard-properties-xkblt.c:
	(xkb_layout_choose):
	* capplets/keyboard/gnome-keyboard-properties-xkbmc.c:
	(choose_model):
	* capplets/keyboard/gnome-keyboard-properties.c: (create_dialog):
	* capplets/localization/Makefile.am:
	* capplets/localization/gnome-localization-properties.c:
	(create_dialog):
	* capplets/mime-type/Makefile.am:
	* capplets/mouse/Makefile.am:
	* capplets/mouse/gnome-mouse-properties.c: (create_dialog):
	* capplets/network/Makefile.am:
	* capplets/network/gnome-network-preferences.c:
	(cb_http_details_button_clicked), (main):
	* capplets/rollback/Makefile.am:
	* capplets/sound/Makefile.am:
	* capplets/sound/sound-properties-capplet.c: (create_dialog),
	(device_test_button_clicked):
	* capplets/theme-switcher/Makefile.am:
	* capplets/ui-properties/Makefile.am:
	* capplets/ui-properties/gnome-ui-properties.c: (create_dialog):
	* capplets/url-properties/Makefile.am:
	* capplets/windows/Makefile.am:
	* capplets/wm-properties/wm-desktops/Makefile.am:
	* configure.in:
	* gnome-settings-daemon/Makefile.am:
	* gnome-settings-daemon/actions/Makefile.am:
	* gnome-settings-daemon/gnome-settings-xmodmap.c:
	(gnome_settings_modmap_dialog_call):
	* gnome-settings-daemon/gnome-settings-xrdb.c:
	* gnome-settings-daemon/gsd-media-keys-window.c: (action_changed),
	(gsd_media_keys_window_init):
	* gnome-settings-daemon/xrdb/Makefile.am:
	* typing-break/Makefile.am:
	* vfs-methods/themus/Makefile.am: Don't define directories in
	configure. Remove some obsolete defines, and use the standard
	installation paths. Bug #395383.

svn path=/trunk/; revision=7226
2007-02-02 18:12:40 +00:00
Christian Persch
c19d6d800d Fix localedir defines. Bug #395383.
2007-01-31  Christian Persch  <chpe@svn.gnome.org>

	* capplets/accessibility/at-properties/Makefile.am:
	* capplets/accessibility/keyboard/Makefile.am:
	* capplets/background/Makefile.am:
	* capplets/common/Makefile.am:
	* capplets/default-applications/Makefile.am:
	* capplets/display/Makefile.am:
	* capplets/font/Makefile.am:
	* capplets/keybindings/Makefile.am:
	* capplets/keyboard/Makefile.am:
	* capplets/mouse/Makefile.am:
	* capplets/network/Makefile.am:
	* capplets/theme-switcher/Makefile.am:
	* capplets/ui-properties/Makefile.am:
	* capplets/windows/Makefile.am:
	* configure.in:
	* gnome-settings-daemon/Makefile.am:
	* libbackground/Makefile.am:
	* libwindow-settings/Makefile.am:
	* typing-break/Makefile.am:
	* vfs-methods/fontilus/Makefile.am:
	* vfs-methods/themus/Makefile.am: Fix localedir defines. Bug #395383.

svn path=/trunk/; revision=7219
2007-01-31 21:09:43 +00:00
Kjartan Maraas
5f7a5f7fa2 ANSIfication of function declaration.
2007-01-29  Kjartan Maraas  <kmaraas@gnome.org>

	* gnome-wp-capplet.c: (wallpaper_properties_init):
	ANSIfication of function declaration.

svn path=/trunk/; revision=7194
2007-01-29 09:17:07 +00:00
David Sedeño
55153b7c8c Fix several compile warnings. Fixes #326022
2007-01-08  David Sedeño <david@alderia.com>

	* gnome-wp-xml.c: Fix several compile warnings. Fixes #326022

svn path=/trunk/; revision=7108
2007-01-08 22:16:49 +00:00
Ray Strode
1062b38bba Fixes #351991
2007-01-08  Ray Strode <rstrode@redhat.com>

	Fixes #351991

	* gnome-wp-info.c (gnome_wp_info_new): don't try to pull from
	~/.thumbnails directly without checking mtime.

	* gnome-wp-item.c (collect_save_options, gnome_wp_item_get_thumbnail):
	only 	generate thumbnails when a lookup shows there isn't already
	one. Never load a background just to find out its size.

svn path=/trunk/; revision=7104
2007-01-08 18:26:31 +00:00
Rodney Dawes
9844ac1c3d Fix attribution of a patch
svn path=/trunk/; revision=7099
2007-01-08 16:57:59 +00:00
Rodney Dawes
e8bf6d0b90 Fix changelog text
svn path=/trunk/; revision=7098
2007-01-08 16:57:16 +00:00
Thomas Wood
9f505d83cc Patch by: Jens Granseuer <jensgr@gmx.net>
2007-01-07  Thomas Wood  <thos@gnome.org>

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

	* gnome-wp-capplet.c: (gnome_wp_update_preview): Fixes bug 388616
	(Control center crashes when changing the image name)

svn path=/trunk/; revision=7085
2007-01-07 16:38:16 +00:00
Thomas Wood
4c4c2644b8 Apply patch from bug 335220 (mem leaks in gnome-wp-item)
2007-01-07  Thomas Wood  <thos@gnome.org>

	* gnome-wp-item.c: (gnome_wp_item_get_thumbnail):
	* gnome-wp-xml.c: (gnome_wp_xml_load_list):

	Apply patch from bug 335220 (mem leaks in gnome-wp-item)

svn path=/trunk/; revision=7077
2007-01-07 13:25:23 +00:00
Lucas Rocha
f4b7a666b9 Fixes #336286
2007-01-06  Lucas Rocha <lucasr.at.mundo@gmail.com>

	Fixes #336286

	* gnome-wp-capplet.c: switched from popt to GOptionContext.
	(wallpaper_properties_init): just iterate over "command_line_files".
	(main): call gnome_program_init with the correct arguments.

svn path=/trunk/; revision=7054
2007-01-06 18:48:36 +00:00
Gabor Kelemen
984d6f99bc Mark message showing background image size and type for translation
2007-01-06  Gabor Kelemen  <kelemeng@gnome.hu>

	* gnome-wp-item.c: Mark message showing background image size and type for translation
	
	Fixes #341899 

svn path=/trunk/; revision=7052
2007-01-06 18:40:29 +00:00
Christian Persch
64df6d6315 Update svn:ignore and remove .cvsignore files
svn path=/trunk/; revision=7040
2007-01-03 13:38:23 +00:00
Kjartan Maraas
838f592678 Plug a leak. Bug #376949
2006-12-08  Kjartan Maraas  <kmaraas@gnome.org>

	* gnome-wp-xml.c: (gnome_wp_xml_load_list): Plug a leak.
	Bug #376949
2006-12-08 17:49:43 +00:00
Rodney Dawes
a853fff02c Use preferences-desktop-wallpaper as the icon name per the Icon Naming
2006-08-18  Rodney Dawes  <dobey@novell.com>

	* background.desktop.in.in: Use preferences-desktop-wallpaper as the
	icon name per the Icon Naming Specification
	* gnome-background-properties.glade: Set the icon name for the window
	to be preferences-desktop-wallpaper as per the naming spec
	* gnome-wp-capplet.[ch]: Remove GtkIconTheme instance from structure
	(gnome_wp_icon_theme_changed): Don't need this method any longer
	(wallpaper_properties_init): Remove unused variables
	Don't need to get the icon_info to load a pixbuf and set an icon, from
	the theme any longer, as we can just specify the icon with one call
	Don't need the extra _ensure_style call here
2006-08-18 15:14:49 +00:00
Rodney Dawes
7942069236 Set the content area border to 0 in the parsed rc string Remove the
2006-08-18  Rodney Dawes  <dobey@novell.com>

	* gnome-wp-capplet.c (wallpaper_properties_init): Set the content area
	border to 0 in the parsed rc string
	Remove the set_border_width calls for the dialog's vbox and action area

	Fixes #332830
2006-08-18 14:53:38 +00:00
Rodney Dawes
35c0a81900 Only pass G_FILE_TEST_IS_DIR to the g_file_test calls
2006-03-18  Rodney Dawes  <dobey@novell.com>

	* gnome-wp-xml.c (gnome_wp_xml_load_list): Only pass G_FILE_TEST_IS_DIR
	to the g_file_test calls

	Fixes #331486
2006-03-18 19:35:40 +00:00
Theppitak Karoonboonyanan
664429e256 Add the missing translatable flag in the Finish button.
2006-02-11  Theppitak Karoonboonyanan  <thep@linux.thai.net>

	* gnome-background-properties.glade: Add the missing translatable flag
	in the Finish button.
2006-02-11 07:18:39 +00:00
Rodney Dawes
b8b5b4d915 Add the missing GTK_RESPONSE_DELETE_EVENT back in so that we exit properly
2006-02-10  Rodney Dawes  <dobey@novell.com>

	* gnome-wp-capplet.c (wallpaper_properties_clicked): Add the missing
	GTK_RESPONSE_DELETE_EVENT back in so that we exit properly with it
2006-02-11 06:28:53 +00:00
Rodney Dawes
4622d5ed51 Replace the Apply/Cancel/OK buttons with a Finish button, using the stock
2006-02-09  Rodney Dawes  <dobey@novell.com>

	* gnome-background-properties.glade: Replace the Apply/Cancel/OK
	buttons with a Finish button, using the stock apply icon

	* gnome-wp-capplet.c (gnome_wp_props_wp_set): Don't need to check if
	we are the same image as we were before now
	(gnome_wp_props_revert): Remove this as it is no longer needed
	(gnome_wp_props_wp_selected): Call the set function here
	(gnome_wp_main_quit): Remove the freeing of capplet->old_item
	(wallpaper_properties_clicked): Only handle GTK_RESPONSE_OK as an
	action to close the dialog now, as we are instant apply again
	(gnome_wp_scale_type_changed, gnome_wp_shade_type_changed):
	(gnome_wp_color_changed): Set the appropriate gconf keys here
	(gnome_wp_load_stuffs): Remove references to capplet->old_item

	* gnome-wp-capplet.h (struct _GnomeWPCapplet): Remove old_item object

	Fixes #327335, #330587 and #329818
	Partially fixes #330168
2006-02-11 06:08:03 +00:00
Rodney Dawes
0a696e12e8 If we are passed in a NULL just return rather than using g_return_if_fail
2006-01-26  Rodney Dawes  <dobey@novell.com>

	* gnome-wp-capplet.c (gnome_wp_capplet_scroll_to_item): If we are
	passed in a NULL just return rather than using g_return_if_fail to
	do it, so that we can avoid the glib CRITICAL warning (#327327)
	(gnome_wp_load_stuffs): If the settings are mangled some how, and
	a valid item was not duplicated, duplicated the "No Wallpaper" item

	Fixes #327327
2006-01-27 03:15:06 +00:00
Rodney Dawes
f69be2bd96 Add an Apply button
2006-01-26  Rodney Dawes  <dobey@novell.com>

	* gnome-background-properties.glade: Add an Apply button

	* gnome-wp-capplet.[ch]: Replace old_filename with an old_item struct
	(gnome_wp_props_wp_set): Set the filename key to empty string when
	setting the background to "No Wallpaper"
	(gnome_wp_props_revert): New method to revert changes in the dialog
	when the Cancel button is clicked
	(gnome_wp_main_quit): Free the old_item structure
	(wallpaper_properties_clicked): Handle the Apply button
	Handle closing the dialog for OK separately from Cancel/delete_event
	Revert the settings when Cancel or wm "x" or ESC are clicked
	(gnome_wp_load_stuffs): Set the old_item to the currently selected
	background setting, whether it be an image or "No Wallpaper"

	* gnome-wp-info.c (gnome_wp_info_dup): If info is NULL, just return
	NULL rather than trying to access members of an empty struct

	* gnome-wp-item.[ch] (gnome_wp_item_dup): New method to create a
	duplicate and newly allocated GnomeWPItem structure

	Fixes #327335
2006-01-27 03:01:58 +00:00
Luca Cavalli
6d443a113d Add GTK category to the #328028)
2006-01-22  Luca Cavalli  <loopback@slackit.org>

        * capplets/about-me/gnome-about-me.desktop.in.in:
        * capplets/accessibility/at-properties/at-properties.desktop.in.in:
        * capplets/accessibility/keyboard/accessibility-keyboard.desktop.in.in:
        * capplets/background/background.desktop.in.in:
        * capplets/default-applications/default-applications.desktop.in.in:
        * capplets/display/display-properties.desktop.in.in:
        * capplets/file-types/file-types.desktop.in.in:
        * capplets/font/font-properties.desktop.in.in:
        * capplets/keybindings/keybinding.desktop.in.in:
        * capplets/keyboard/keyboard.desktop.in.in:
        * capplets/localization/localization.desktop.in.in:
        * capplets/mouse/gnome-settings-mouse.desktop.in.in:
        * capplets/network/gnome-network-preferences.desktop.in.in:
        * capplets/sound/gnome-settings-sound.desktop.in.in:
        * capplets/theme-switcher/gtk-theme-selector.desktop.in.in:
        * capplets/ui-properties/gnome-ui-properties.desktop.in.in:
        * capplets/windows/window-properties.desktop.in.in:
        * control-center/gnomecc.desktop.in.in: Add GTK category to the
        * .desktop        files and remove unused ones. (Closes: #328028)
2006-01-22 22:07:18 +00:00
Rodney Dawes
94f17fc429 Set the visibility of the second color chooser button to off by default
2006-01-14  Rodney Dawes  <dobey@novell.com>

	* gnome-background-properties.glade: Set the visibility of the second
	color chooser button to off by default

	Fixes #319463
2006-01-14 21:30:24 +00:00
Rodney Dawes
569023b7b9 Update Copyright notice to include 2006 year
2006-01-14  Rodney Dawes  <dobey@novell.com>

	* *.[ch]: Update Copyright notice to include 2006 year

	* gnome-background-properties.glade: Change the main dialog to use
	explicit apply with OK and Cancel buttons
	Remove the icons from the "Add Wallpaper" and "Remove" buttons

	* gnome-wp-capplet.c (gnome_wp_props_wp_set): Add a new retval boolean
	so that we can return whether or not we are trying to set the wallpaper
	to the same image filename as before
	Remove all the UI updating code from here
	Fix a potential leak of the GConfChangeSet object
	(gnome_wp_props_wp_selected): Update the UI whenever a different
	wallpaper is selected in the list
	Remove the timeout to update gconf, as we are using explicit apply now
	(gnome_wp_main_quit): Free the old_filename variable
	Update the indentation style to match the rest of the code
	(wallpaper_properties_clicked): Handle setting the gconf keys when the
	OK button is clicked, and fall through to the cancel/close code
	(gnome_wp_scale_type_changed, gnome_wp_shade_type_changed):
	Don't set the gconf strings from here, only update when OK is clicked
	(gnome_wp_color_changed): Don't update gconf strings here
	Don't generate miniature icon thumbnails for the drop-down menu
	(gnome_wp_remove_wallpaper): Don't need to remove the idle id any more
	(gnome_wp_load_stuffs): Set the old_filename variable to the current
	setting that is stored in gconf for the wallpaper filename
	(gnome_wp_delay_changed): Remove this unused method
	(gnome_wp_icon_theme_changed): Don't need to update the icons in the
	drop-down menu here, as they are being removed
	(set_accessible_name): Don't need this any longer, as the drop-down
	menu items are now standard label menu items, and don't have icons
	(wallpaper_properties_init): No longer need the key repeat delay
	Fix some style issues with the glade_xml_get_widget calls
	Replace the menu items in the option menus with standard label items

	* gnome-wp-capplet.h (_GnomeWPCapplet): Remove the no longer needed
	Widget variables for updating the drop-down menu icons
	Remove the no longer needed delay and idleid variables
	Add an old_filename variable to compare against when OK is clicked

	Also should fix #316697
2006-01-14 20:53:58 +00:00
Alan Swanson
9c27b0926f Check for the scale type being zoom in the config, to set the option menu
2006-01-14  Alan Swanson <swanson@ukfsn.org>

	* gnome-wp-capplet.c (gnome_wp_option_menu_set): Check for the scale
	type being zoom in the config, to set the option menu
	(gnome_wp_scale_type_changed): Update the options for zoom type
	(gnome_wp_icon_theme_changed): Update the zoom icon in the menu
	(wallpaper_properties_init): Add an item for Zoom to the scaling menu

	* gnome-wp-capplet.h (_GnomeWPCapplet): Add a widget for the zoom item
	(GnomeWPScaleType): Add an enumeration for the zoom type

	* gnome-wp-item.c (gnome_wp_item_get_thumbnail): Add the code to
	generate a proper thumbnail for the new zoom option

	Fixes #105231
2006-01-14 16:10:24 +00:00
Dennis Cranston
e43e1a350d Add an image filter to the file chooser.
2005-10-05  Dennis Cranston  <dennis_cranston@yahoo.com>

	* gnome-wp-capplet.c: (wallpaper_properties_init):  Add an image
	filter to the file chooser.
2005-11-21 04:42:44 +00:00
Rodney Dawes
95aec817a6 Remove utf8 validate check (gnome_wp_props_wp_set): If the filename we
2005-10-01  Rodney Dawes  <dobey@novell.com>

	* gnome-wp-capplet.c (gnome_wp_add_image): Remove utf8 validate check
	(gnome_wp_props_wp_set): If the filename we have for the image is not
	valid utf8, convert it to utf8 before setting the key in gconf
	(gnome_wp_load_stuffs, gnome_wp_file_changed): Make sure that the
	filename is valid utf8 and the file exists with utf8 encoding, or fall
	back to filename encoding as specified by the user with glib's
	environment variables

	* gnome-wpitem.c (gnome_wp_item_new): Make sure that the name field
	is always utf8 for displaying to the user with the tree view

	* gnome-wp-xml.c (gnome_wp_xml_load_xml): Make sure that the
	filename is valid utf8 and the file exists with utf8 encoding, or fall
	back to filename encoding as specified by the user with glib's
	environment variables
	(gnome_wp_xml_save_list): If the filename is not valid utf8, then
	convert to utf8 for storing in the XML file

	Fixes #168604
2005-10-01 21:29:39 +00:00
Rodney Dawes
f7e362d87b Set the style property "action-area-border" for the GtkDialogs here
2005-09-06  Rodney Dawes  <dobey@novell.com>

	* gnome-wp-capplet.c (wallpaper_properties_init): Set the style
	property "action-area-border" for the GtkDialogs here

	"Fixes" #313680
2005-09-06 21:49:45 +00:00
Rodney Dawes
3952515943 If the value for the "picture_options" key is set to "none", don't set the
2005-08-21  Rodney Dawes  <dobey@novell.com>

	* gnome-wp-capplet.c (gnome_wp_option_menu_set): If the value for
	the "picture_options" key is set to "none", don't set the optin menu
	for the scaling options to tiled

	Fixes #313883
2005-08-21 14:07:39 +00:00
Rodney Dawes
6d7b1e9ee4 Replace the changing of some GtkDialog defaults through style properties
2005-08-17  Rodney Dawes  <dobey@novell.com>

	* gnome-wp-capplet.c (wallpaper_properties_init): Replace the changing
	of some GtkDialog defaults through style properties with calls to
	gtk_widget_ensure_style and gtk_container_set_border_width

	Fixes #313680
2005-08-17 11:58:43 +00:00
Veerapuram Varadhan
8456c322c0 Enable/disable the style-menu, shading-menu and color-picker buttons w.r.t
2005-08-15  Veerapuram Varadhan <vvaradhan@novell.com>

	* gnome-wp-capplet.c (gnome_wp_props_wp_set):
	(gnome_wp_color[12]_changed, gnome_wp_options_changed):
	(gnome_wp_shading_changed, wallpaper_properties_init):
	Enable/disable the style-menu, shading-menu and color-picker
	buttons w.r.t gconf-keys.
	(gnome_wp_set_sensitivities): Utility function to take care of
	enabling/disabling widgets w.r.t gconf-keys.
	(gnome_wp_props_wp_set): Don't set the sensitivity of the remove and
	style buttons here. Just call the new method to do it instead
2005-08-16 21:14:14 +00:00
Sebastien Bacher
1f12e54e0a Update for the changed signal of the option menus
2005-07-25  Sebastien Bacher <seb128@debian.org>

	* gnome-wp-capplet.c (gnome_wp_{scale,shade}_type_changed):
	Update for the changed signal of the option menus
	(wallpaper_properties_init): Connect to the changed signal of
	the scale and color style option menus

	Fixes #157396
2005-07-26 03:15:35 +00:00
Sebastien Bacher
06ca0fa30b Replace GnomeColorPicker with the GtkColorButton widget Some properties
2005-07-25  Sebastien Bacher <seb128@debian.org>

	* gnome-background-properties.glade: Replace GnomeColorPicker with
	the GtkColorButton widget
	Some properties were added by newer version of glade

	* gnome-wp-capplet.c (gnome_wp_props_wp_set):
	(gnome_wp_[s]color_changed, gnome_wp_color[12]_changed):
	(gnome_wp_load_stuffs, wallpaper_properties_init):
	Update to use the API for GtkColorButton instead of GnomeColorPicker

	Fixes #171676
2005-07-25 20:51:16 +00:00
Rodney Dawes
d8715b0371 If xmlParseFile returns NULL, then just return, rather than trying to
2005-07-14  Rodney Dawes  <dobey@novell.com>

	* gnome-wp-xml.c (gnome_wp_xml_load_xml): If xmlParseFile returns
	NULL, then just return, rather than trying to parse the document

	Fixes #310041
2005-07-15 04:41:53 +00:00
Rodney Dawes
72f3f194b1 Pass the md5sum to the call to g_strconcat to create the path to the
2005-07-13  Rodney Dawes  <dobey@novell.com>

	* gnome-wp-info.c (gnome_wp_info_new): Pass the md5sum to the call
	to g_strconcat to create the path to the thumbnail file

	Fixes #310293
2005-07-14 03:06:24 +00:00
Rodney Dawes
e7819d9175 Update to use GtkIconTheme rather than GnomeIconTheme Based on patch from
2005-07-10  Rodney Dawes  <dobey@novell.com>

	* gnome-wp-capplet.[ch]:
	(gnome_wp_icon_theme_changed):
	(wallpaper_properties_init):
	Update to use GtkIconTheme rather than GnomeIconTheme
	Based on patch from Jan de Groot

	Fixes #171677
2005-07-10 20:45:00 +00:00
Rodney Dawes
422dd268e6 Fix some memory leaks by using a separate variable to store the escaped
2005-07-10  Rodney Dawes  <dobey@novell.com>

	* gnome-wp-info.c (gnome_wp_info_new): Fix some memory leaks by using
	a separate variable to store the escaped path, and md5sum

	* gnome-wp-item.c (gnome_wp_item_get_thumbnail): Fix a couple of
	memory leaks by using a separate variable to store the escaped path
	Don't unref the pixbuf from the thumbnail generation, and then try
	to load it again after saving
2005-07-10 15:58:14 +00:00
Rodney Dawes
335381798a Revert undocumented, unapproved change from Sebastian Bacher committed on
2005-06-14  Rodney Dawes  <dobey@novell.com>

	* gnome-wp-info.c (gnome_wp_info_new): Revert undocumented, unapproved
	change from Sebastian Bacher committed on 2005-05-22
2005-06-14 16:04:14 +00:00
Sebastien Bacher
581c37e2bb Cleanup of gconf and a few other things, patch from Kjartan Maraas
2005-05-22  Sebastien Bacher  <seb128@debian.org>

        * ChangeLog capplets/about-me/e-image-chooser.c
        capplets/accessibility/at-properties/at-startup-session.h
        capplets/accessibility/keyboard/accessibility-keyboard.c
        capplets/background/gnome-wp-info.c
        capplets/common/gconf-property-editor.c
        capplets/common/gnome-theme-apply.c
        capplets/default-applications/gnome-default-applications-properties.c
        capplets/keybindings/gnome-keybinding-properties.c
        capplets/keyboard/gnome-keyboard-properties.c
        capplets/mouse/gnome-mouse-properties.c
        capplets/network/gnome-network-preferences.c
        capplets/sound/sound-properties-capplet.c
        capplets/theme-switcher/gnome-theme-details.c
        capplets/theme-switcher/gnome-theme-manager.c
        capplets/ui-properties/gnome-ui-properties.c
        capplets/windows/gnome-window-properties.c
        gnome-settings-daemon/factory.c
        gnome-settings-daemon/gnome-settings-accessibility-keyboard.c
        gnome-settings-daemon/gnome-settings-background.c
        gnome-settings-daemon/gnome-settings-daemon.c
        gnome-settings-daemon/gnome-settings-daemon.h
        gnome-settings-daemon/gnome-settings-font.c
        gnome-settings-daemon/gnome-settings-keybindings.c
        gnome-settings-daemon/gnome-settings-keybindings.h
        gnome-settings-daemon/gnome-settings-keyboard-xkb.c
        gnome-settings-daemon/gnome-settings-keyboard.c
        gnome-settings-daemon/gnome-settings-locate-pointer.h
        gnome-settings-daemon/gnome-settings-mouse.c
        gnome-settings-daemon/gnome-settings-multimedia-keys.c
        gnome-settings-daemon/gnome-settings-screensaver.c
        gnome-settings-daemon/gnome-settings-sound.c
        gnome-settings-daemon/gnome-settings-xmodmap.c
        gnome-settings-daemon/gnome-settings-xrdb.c
        gnome-settings-daemon/gnome-settings-xsettings.c
        libbackground/applier.c libbackground/applier.h
        libbackground/preferences.c libsounds/sound-properties.c
        libsounds/sound-view.h libwindow-settings/gnome-wm-manager.c
        libwindow-settings/metacity-window-manager.c
        typing-break/drw-break-window.c typing-break/drw-utils.h
        typing-break/drwright.c vfs-methods/fontilus/font-view.c
        vfs-methods/themus/themus-theme-applier.c:
        Cleanup of gconf and a few other things,
        patch from Kjartan Maraas <kmaraas@gnome.org> (Closes: #301945).
2005-05-22 15:46:45 +00:00
Rodney Dawes
05b1c2f1a3 Update Copyright to include current year
2005-02-26  Rodney Dawes  <dobey@novell.com>

	* *.[ch]: Update Copyright to include current year
2005-02-26 19:15:58 +00:00
Rodney Dawes
c15683e8ff If the filename is not encoded in UTF-8, we just ignore it for now to
2005-02-26  Rodney Dawes  <dobey@novell.com>

	* gnome-wp-capplet.c (gnome_wp_add_image): If the filename is not
	encoded in UTF-8, we just ignore it for now to avoid crashing

	* gnome-wp-xml.c (gnome_wp_xml_load_xml): Check to make sure that the
	filename and name tags that we read in, aren't NULL
	If the filename we read in is NULL, free the item, and continue on

	Fixes #146130 #146645 (resolving these as dups of #168604 )
	Fixes #159441
2005-02-26 19:00:19 +00:00
Rodney Dawes
39dc62b223 Force using the gtk+ backend for the file chooser since we don't support
2005-02-06  Rodney Dawes  <dobey@novell.com>

	* gnome-wp-capplet.c (wallpaper_properties_init): Force using the gtk+
	backend for the file chooser since we don't support vfs yet

	Fixes #154978
2005-02-06 23:02:14 +00:00
Rodney Dawes
f3db3b9cd1 Change the API to use the boolean argument to specify if we want to update
2005-02-06  Rodney Dawes  <dobey@novell.com>

	* gnome-wp-capplet.c (gnome_wp_color_changed): Change the API to use
	the boolean argument to specify if we want to update gconf or not
	Always get the colors for both primary and secondary and update the
	thumbnail
	Only set the keys in gconf if we have the update boolean argument
	(gnome_wp_pcolor_changed): Removed this method, since we don't need
	to differentiate between primary/secondary for updating the thumbnail
	(gnome_wp_scolor_changed): When we change the color in the UI, we want
	to update gconf, we use this method for both color picker buttons now
	(gnome_wallpaper_properties_init): Use gnome_wp_scolor_changed for the
	callback on both color picker button widgets now

	Fixes #166486
2005-02-06 22:41:19 +00:00
Rodney Dawes
9042303784 Fix compile warning for syslangs declaration Wrap g_get_language_names in
2005-01-10  Rodney Dawes  <dobey@novell.com>

	* gnome-wp-xml.c (gnome_wp_xml_load_xml):
	Fix compile warning for syslangs declaration
	Wrap g_get_language_names in #if GLIB_CHECK_VERSION as it is 2.6 API
2005-01-10 15:46:00 +00:00
Rodney Dawes
12c59c7f09 Add new callback routine for when the preview widget in the file chooser
2005-01-09  Rodney Dawes  <dobey@novell.com>

	* gnome-wp-capplet.[ch] (gnome_wp_update_preview): Add new callback
	routine for when the preview widget in the file chooser needs an update
	(wallpaper_properties_init): Set the preview widget in the file chooser
	to a GtkImage object and connect to the update-preview signal for when
	the selected file changes
	- Based on patch from Sebastien Bacher <seb128@debian.org>

	Fixes #139714
2005-01-09 23:57:36 +00:00
Rodney Dawes
b27b907b32 Preload the directory rather than nothing when adding directories for
2005-01-08  Rodney Dawes  <dobey@novell.com>

	* gnome-wp-capplet.c (wallpaper_properties_init): Preload the directory
	rather than nothing when adding directories for gconf notification
2005-01-09 04:15:56 +00:00
Rodney Dawes
bdd4d0142e Add %F to Exec command line
2005-01-08  Rodney Dawes  <dobey@novell.com>

	* background.desktop.in.in: Add %F to Exec command line

	* gnome-wp-capplet.[ch] (gnome_wp_remove_wp): Check that the tree path
	is not NULL before removing items from the list store
	(gnome_wp_load_stuffs): Don't duplicate the code from
	gnome_wp_add_image/gnome_wp_capplet_scroll_to_item  here
	Load any images we were passed on the command line, and free the
	GSList that they were stored in after doing so
	(gnome_wp_file_changed): Clean up to just call gnome_wp_add_image and
	gnome_wp_capplet_scroll_to_item rather than duplicating the code
	(wallpaper_properties_init): Take a poptContext argument now
	Parse the poptContext into a GSList for loading the images from
	(main): Use a clearer variable name for the GnomeProgram object
	Get the poptContext from the GnomeProgram object and pass it through
	to wallpaper_properties_init

	Fixes #120720
2005-01-09 03:53:35 +00:00
Thomas Wood
35037d76ec Load translated XML description elements if available
2005-01-08  Thomas Wood  <thos@gnome.org>

	* gnome-wp-xml.c (gnome_wp_xml_load_xml): Load translated XML
	description elements if available

	Fixes #160700
2005-01-09 01:21:07 +00:00
Rodney Dawes
af6e329871 Fix the leaks in the scaling type option menu creation correctly
2005-01-08  Rodney Dawes  <dobey@novell.com>

	* gnome-wp-capplet.c (wallpaper_properties_init): Fix the leaks
	in the scaling type option menu creation correctly
2005-01-08 20:47:52 +00:00