Commit graph

166 commits

Author SHA1 Message Date
Muktha Narayan
6c84203b0c New (wallpaper_properties_init): Add accessible names.
2004-05-14  Muktha Narayan <muktha.narayan@wipro.com>

	* gnome-wp-capplet.c (set_accessible_name): New
	(wallpaper_properties_init): Add accessible names.

	Fixes #142517
2004-05-18 16:29:29 +00:00
Rodney Dawes
5048e133c5 Remove the #if checks for GTK+ 2.3.0 and get rid of the compatibility code
2004-04-27  Rodney Dawes  <dobey@ximian.com>

	* gnome-wp-capplet.c (gnome_wp_file_open_dialog):
	(wallpaper_properties_init): Remove the #if checks for GTK+ 2.3.0 and
	get rid of the compatibility code for building against 2.2
2004-04-28 01:13:59 +00:00
Rodney Dawes
335d84f09b Use the more correct "Add Wallpaper" term for the file chooser window
2004-04-24  Rodney Dawes  <dobey@ximian.com>

	* gnome-wp-capplet.c (wallpaper_properties_init): Use the more correct
	"Add Wallpaper" term for the file chooser window title

	Fixes #135084
2004-04-24 17:08:09 +00:00
Jody Goldberg
d58e918c83 Release 2.6.1
2004-04-15  Jody Goldberg <jody@gnome.org>

	* Release 2.6.1
2004-04-16 02:32:42 +00:00
Rodney Dawes
e55a044b54 Use g_utf8_collate to sort the descriptions, rather than a strcmp, so that
2004-04-10  Rodney Dawes  <dobey@ximian.com>

	* gnome-wp-capplet.c (gnome_wp_list_sort): Use g_utf8_collate to sort
	the descriptions, rather than a strcmp, so that we follow the locale
	settings for LC_COLLATE

	Fixes #139517
2004-04-10 21:15:36 +00:00
Rodney Dawes
f8bf27b4bc Rever the previous patch to Fix #135084 as it breaks string freeze
2004-04-08  Rodney Dawes  <dobey@ximian.com>

	* gnome-wp-capplet.c (wallpaper_properties_init): Rever the previous
	patch to Fix #135084 as it breaks string freeze
2004-04-08 20:45:21 +00:00
Rodney Dawes
3d66a947a7 Change file chooser dialog title to say "Add Wallpaper" instead of "Add
2004-04-05  Rodney Dawes  <dobey@ximian.com>

	* gnome-wp-capplet.c (wallpaper_properties_init): Change file chooser
	dialog title to say "Add Wallpaper" instead of "Add Wallpapers"

	Fixes #135084
2004-04-05 21:37:03 +00:00
Rodney Dawes
00006d7745 Regenerate the thumbnail in the list when we change scaling type now
2004-04-05  Rodney Dawes  <dobey@ximian.com>

	* gnome-wp-capplet.c (gnome_wp_scale_type_changed): Regenerate the
	thumbnail in the list when we change scaling type now
	(wallpaper_properties_init): Add GtkFileFilter support (needs love)
	TreeView is buggy, so we need to not set the vertical-separator
	style property for it
	* gnome-wp-item.c: Include <config.h> and <gnome.h> here
	(collect_save_options): Add a function to set all of the pixbuf options
	for the thumbnail pixbuf properly, so we can save them back out
	(gnome_wp_item_get_thumbnail): Fix up the code to
	generate the thumbnails for the list a bit, so that we have sexy
	thumbnails that look exactly like how the image would, on-screen
	Initialize all of the width/height variables to 0
	Add a new pixbuf variable for loading the original image to get the
	dimensions of it, so we can do thumbnailing more properly
	Use a LIST_IMAGE_WIDTH define, for the width of the images in the list
	Just return the bgpixbuf if we are creating the "No Wallpaper" thumb
	Save the thumbnail back out with the dimensions for the original image
	If our image is smaller than the list thumbnail, then just use 1.0 as
	the ratio for scaling the image for tiling/etc...
	Use the new API to do scaling inside the center/tile functions
	Reload the thumbnail pixbuf after generating it with the thumbnail
	system, so that we get all of the pixbuf options set correctly
	* gnome-wp-item.h (GnomeWPItem): store the original image's width
	and height in the item, so we can avoid reopening the original image
	every time we generate the thumbnail, on systems where the thumbnail
	doesn't contain the appropriate information
	* gnome-wp-utils.c (gnome_wp_pixbuf_tile):
	(gnome_wp_pixbuf_center): Add API to do the scaling inside these calls

	Fixes #136691
2004-04-05 21:32:02 +00:00
Jody Goldberg
1cc6acc2d5 Release 2.6.0.3
2004-04-01  Jody Goldberg <jody@gnome.org>

	* Release 2.6.0.3
2004-04-01 06:21:52 +00:00
Jody Goldberg
4874c554f6 Release 2.6.0.1
2004-03-30  Jody Goldberg <jody@gnome.org>

	* Release 2.6.0.1
2004-03-31 03:35:12 +00:00
Jody Goldberg
1df948d905 Release 2.6.0
2004-03-23  Jody Goldberg <jody@gnome.org>

	* Release 2.6.0
2004-03-24 02:58:55 +00:00
Jody Goldberg
f4fb38359c Release 2.5.4
2004-03-11  Jody Goldberg <jody@gnome.org>

	* Release 2.5.4
2004-03-11 06:02:19 +00:00
Rodney Dawes
3d49040c08 Removed these old files from the old background capplet
2004-03-04  Rodney Dawes  <dobey@ximian.com>

	* background-properties-capplet.c:
	* background-properties.glade:
	* background-properties.glade1:
	* background-properties.xml: Removed these old files from the old
	background capplet
2004-03-05 04:35:21 +00:00
Rodney Dawes
98fa7158e5 Select the added image, and change the scaling type to "wallpaper" if it
2004-03-04  Rodney Dawes  <dobey@ximian.com>

	* gnome-wp-capplet.c (gnome_wp_add_image): Select the added image, and
	change the scaling type to "wallpaper" if it is "none" (#136228)

	Fixes #136228
2004-03-05 04:27:57 +00:00
Rodney Dawes
e7928dbfa4 Split out real image adding code into a separate call
2004-02-29  Rodney Dawes  <dobey@ximian.com>

	* gnome-wp-capplet.c (gnome_wp_add_image): Split out real image adding
	code into a separate call
	(gnome_wp_add_images):
	(gnome_wp_file_open_dialog):
	(gnome_wp_properties_init): Add support for GtkFileChooser (#135317)
	(bg_properties_dragged_image): Fix re-addition of deleted images
	* gnome-wp-capplet.h: Store the filesel widget in GnomeWPCapplet
	* gnome-wp-item.c: Fix warning about gnome_vfs_mime_get_description

	Fixes #135317
2004-03-01 04:09:06 +00:00
Rodney Dawes
55a2057d87 Escape the path for thumbnails and fileinfo (#135089)
2004-02-24  Rodney Dawes  <dobey@ximian.com>

	* gnome-wp-info.c (gnome_wp_info_new):
	* gnome-wp-item.c (gnome_wp_item_get_thumbnail): Escape the path for
	thumbnails and fileinfo (#135089)

	Fixes #135089
2004-02-24 20:51:35 +00:00
Rodney Dawes
19c8dc6001 Check that the file exists, and continue through the loop if it doesn't
2004-02-24  Rodney Dawes  <dobey@ximian.com>

	* gnome-wp-xml.c (gnome_wp_oad_legacy): Check that the file exists,
	and continue through the loop if it doesn't (#135251)

	Fixes #135251
2004-02-24 19:49:58 +00:00
Rodney Dawes
48c884fe25 Add some explanatory comments to bits of the code Fix the ratio
2004-02-24  Rodney Dawes  <dobey@ximian.com>

	* gnome-wp-item.c (gnome_wp_item_get_thumbnail): Add some explanatory
	comments to bits of the code
	Fix the ratio calculation to handle images of all sizes (#134541)
	Don't force tiling of square images
	Don't do _save_thumbnail () for the custom thumbnails
	If pixbuf is NULL, copy away bgpixbuf and return that instead
	* gnome-wp-utils.c (gnome_wp_tile_pixbuf):
	(gnome_wp_center_pixbuf): Return copied pixbufs

	Fixes #134541
2004-02-24 19:32:05 +00:00
Rodney Dawes
1943e27685 Use untranslated strings for the color picker dialog titles (glade bug set
2004-02-17  Rodney Dawes  <dobey@ximian.com>

	* gnome-background-properties.glade: Use untranslated strings for
	the color picker dialog titles (glade bug set them to the translated
	versions of the strings)

	Fixes #134171
2004-02-17 19:30:14 +00:00
Muktha
cdb5349d9a Do not popup the logout dialog when the close button (X) of window manager
2003-11-27  Muktha <muktha.narayan@wipro.com>

	* main.c: Do not popup the logout dialog when the close button (X) of
	window manager is clicked. Fixes bug #124032.

2004-02-16  Jody Goldberg <jody@gnome.org>

	* accessibility-keyboard.c (cb_load_CDE_file) : Add a kludge to set
	  the vertical size based on the monitor size until the filesel can do
	  a better job of doing it itself.

2003-12-07  Jan Arne Petersen  <jpetersen@uni-bonn.de>

	* accessibility-keyboard.c: (load_CDE_file),
	(fchooser_handle_response), (cb_load_CDE_file): replace
	GtkFileSelection with GtkFileChooser.

2003-12-07  Jan Arne Petersen  <jpetersen@uni-bonn.de>

	* background-properties-capplet.c: remove unused
	"preview_file_selection.h" include.

2004-02-16  Jody Goldberg <jody@gnome.org>

	* gconf-property-editor.c (peditor_image_clicked_cb) : Use the monitor
	  size kludge for the vertical size of the new file selector.

2003-12-07  Jan Arne Petersen  <jpetersen@uni-bonn.de>

	* gconf-property-editor.c: (peditor_image_set_filename),
	(peditor_image_chooser_response_cb),
	(peditor_image_chooser_update_preview_cb),
	(peditor_image_clicked_cb): replace
	PreviewFileSelection (GtkFileSelection) with GtkFileChooser, use new
	gdk_pixbuf_new_from_file_at_size method to load a scaled image.

2004-02-16  Jody Goldberg <jody@gnome.org>

	* gnome-settings-accessibility-keyboard.c : include
	  libgnome/gnome-help.h to avoid potential crash on 64 bit arches.
	(ax_response_callback) : actually display the error message on
	  failure.

2004-02-16  Jody Goldberg <jody@gnome.org>

	http://bugzilla.gnome.org/show_bug.cgi?id=134389
	* Makefile.am : Patch from jmmv@menta.net (Julio M. Merino Vidal)
	  to honour the standard schema install flags.
	  I've extended the patch to support builddir != srcdir too
2004-02-16 17:32:32 +00:00
Jody Goldberg
2688109c0b Release 2.5.3
2004-02-13  Jody Goldberg <jody@gnome.org>

	* Release 2.5.3
2004-02-13 15:56:12 +00:00
Mark McLoughlin
d9885e685f update help links to point to user-guide.xml
2004-02-12  Mark McLoughlin  <mark@skynet.ie>

        * capplets/display/main.c: (cb_dialog_response):
        * capplets/localization/gnome-localization-properties.c:
        (dialog_response): update help links to point to user-guide.xml
2004-02-12 14:23:03 +00:00
Rodney Dawes
035c34ab99 Convert the main dialog UI to glade
2004-02-04  Rodney Dawes  <dobey@ximian.com>

	* Makefile.am:
	* gnome-background-properties.glade:
	* gnome-wp-capplet.[ch]: Convert the main dialog UI to glade
2004-02-05 00:31:48 +00:00
Rodney Dawes
28010e25e8 Use "Desktop Background" as name and change the Comment line to a verb
2004-02-04  Rodney Dawes  <dobey@ximian.com>

	* background.desktop.in: Use "Desktop Background" as name and change
	  the Comment line to a verb phrase as per the HIG
	* gnome-wp-capplet.c (gnome_wp_load_stuffs): Fix a little bug so that
	  opening the capplet with "No Wallpaper" set, actually works
	  (wallpaper_properties_init): "Desktop Background Preferences"
2004-02-04 22:04:14 +00:00
Rodney Dawes
5e266cc532 Switch the binary name to gnome-background-properties, Based on patch from
2004-02-01  Rodney Dawes  <dobey@ximian.com>

	* Makefile.am: Switch the binary name to gnome-background-properties,
	  Based on patch from Seth Nickell
	* background.desktop.in: Use gnome-background-properties here also,
	  based on patch from Seth Nickell
	* gnome-wp-capplet.c: Fix a bug where you can't re-add a wallpaper
	  after you remove it
	  Use the new gnome_wp_item_update_description () call
	  Use a GConfChangeSet to change the gconf keys, based on a patch
	  from Seth Nickell
	  Select the first item in the list ("No Wallpaper") when the wallpaper
	  is removed, based on a patch from Seth Nickell
	  Do the rc string parsing before creating the window, and change some
	  defaults so we can fix the spacing between widgets and the border
	  Fix spacing between widgets and window border
	* gnome-wp-item.[ch]: Add update_description function to clean up
	  code, based on patch from Seth Nickell
	  Fix a crash when trying to thumbnail very wide images that are very
	  short, while trying to maintain aspect ratio
	* gnome-wp-xml.c: Use backgrounds.xml instead of wp-list.xml, and
	  migrate the old wp-list.xml over if backgrounds.xml doesn't exist
	  yet, based on patch from Seth Nickell
2004-02-01 20:57:47 +00:00
Rodney Dawes
2d2222aba1 Enable the Help button (#131286)
2004-01-18  Rodney Dawes  <dobey@ximian.com>

	* gnome-wp-capplet.c: Enable the Help button (#131286)
2004-01-18 21:11:45 +00:00
Christophe Merlet
4f23b6a087 Add DESTDIR variable. 2004-01-16 12:00:37 +00:00
Jody Goldberg
261b2b9838 Release 2.5.2
2004-01-14  Jody Goldberg <jody@gnome.org>

	* Release 2.5.2
2004-01-14 06:41:31 +00:00
Rodney Dawes
144005a19b Fix previous change to use gnome_wp_item_free () instead of g_free (), and
2004-01-12  Rodney Dawes  <dobey@ximian.com>

	* gnome-wp-xml.c (gnome_wp_load_legacy): Fix previous change to
	use gnome_wp_item_free () instead of g_free (), and fix tab width
2004-01-13 20:17:51 +00:00
Diego Gonzalez
c8c2cd5023 don't crash if we could not get the file information.
2004-01-12  Diego Gonzalez <diego@pemas.net>

	* gnome-wp-xml.c (gnome_wp_load_legacy): don't crash if we could
	  not get the file information.
2004-01-12 19:32:43 +00:00
Jody Goldberg
55a692788a As long as we're hard coding the path hard code it in only one place.
2004-01-12  Jody Goldberg <jody@gnome.org>

	* Makefile.am : As long as we're hard coding the path hard code it in
	  only one place.  Passing in datadir then adding the magic subdir in
	  C then building in Makefile seems unnecessary.
	  Use GNOMECC_CAPPLETS_*
2004-01-12 06:35:57 +00:00
Rodney Dawes
acdde5d39d Add install hook to create data directory
2004-01-12  Rodney Dawes  <dobey@ximian.com>

	* Makefile.am: Add install hook to create data directory
2004-01-12 05:17:34 +00:00
Rodney Dawes
2e428e7746 Update for new capplet Update Name/Comment/Exec entries
2004-01-12  Rodney Dawes  <dobey@ximian.com>

	* Makefile.am: Update for new capplet
	* background.desktop.in: Update Name/Comment/Exec entries
	* gnome-wp-capplet.[ch]:
	* gnome-wp-info.[ch]:
	* gnome-wp-item.[ch]:
	* gnome-wp-utils.[ch]:
	* gnome-wp-xml.[ch]: Add new capplet code to CVS
2004-01-12 05:10:40 +00:00
Jody Goldberg
156cabf24f Release 2.5.1.1
2003-12-30  Jody Goldberg <jody@gnome.org>

	* Release 2.5.1.1
2003-12-31 17:11:31 +00:00
Jody Goldberg
e5f68bb5bd Release 2.5.1
2003-12-30  Jody Goldberg <jody@gnome.org>

	* Release 2.5.1
2003-12-30 18:30:46 +00:00
Jonathan Blandford
5e43341746 Remove translatable radiobutton strings, #119288
Fri Nov 21 09:42:19 2003  Jonathan Blandford  <jrb@gnome.org>

        * background-properties.glade: Remove translatable radiobutton
        strings, #119288
2003-11-21 14:48:47 +00:00
Jody Goldberg
f5ba169611 Release 2.5.0
2003-10-28  Jody Goldberg <jody@gnome.org>

	* Release 2.5.0
2003-10-28 22:32:08 +00:00
Dennis Cranston
a7d7bf0bbc Patch to fix spacing between action area and vbox of preferences dialog.
2003-08-01  Dennis Cranston  <dennis_cranston at yahoo com>

	* background-properties-capplet.c, background-properties.glade:
	Patch to fix spacing between action area and vbox of preferences
	dialog.
2003-08-04 06:14:18 +00:00
Dennis Cranston
005dc9fff2 Fixes for ui-review bug report #98916 and duplicate mnemonic fixes.
2003-07-17  Dennis Cranston <dennis_cranston at yahoo com>

	* background-properties.glade,
	  background-properties-capplet.c:  Fixes for ui-review
	  bug report #98916 and duplicate mnemonic fixes.
2003-07-17 23:38:55 +00:00
Jody Goldberg
c5b7285caa Release 2.3.4
2003-07-07  Jody Goldberg <jody@gnome.org>

	* Release 2.3.4
2003-07-07 04:57:46 +00:00
Jody Goldberg
07421f4a30 Release 2.3.3
2003-06-24  Jody Goldberg <jody@gnome.org>

	* Release 2.3.3
2003-06-24 21:04:07 +00:00
Jody Goldberg
04f119abae Release 2.3.1
2003-05-07  Jody Goldberg <jody@gnome.org>

	* Release 2.3.1
2003-05-07 18:25:21 +00:00
Jonathan Blandford
2b46f7e0bc 2.2.0.1 2003-02-04 23:53:43 +00:00
Jonathan Blandford
f6444a51ce Released 2.2.0 2003-01-21 06:53:43 +00:00
Jonathan Blandford
b8d1d9548c 2.1.7 2003-01-16 07:59:09 +00:00
Jody Goldberg
5a35e2caad Release 2.1.6
2003-01-10  Jody Goldberg <jody@gnome.org>

	* Release 2.1.6
2003-01-10 16:11:31 +00:00
Jody Goldberg
0c0c49f22c Release 2.1.5
2002-12-18  Jody Goldberg <jody@gnome.org>

	* Release 2.1.5
2002-12-18 21:43:55 +00:00
Jody Goldberg
4ab7f6e379 Release 2.1.3
2002-11-23  Jody Goldberg <jody@gnome.org>

	* Release 2.1.3
2002-11-24 05:16:35 +00:00
Pasupathi Duraisamy
c18d856b22 Reset Picture option to "Wall paper" only in the case of "none" while DnD.
2002-11-13  Pasupathi Duraisamy <pasupathi.duraisamy@wipro.com>

        * background-properties-capplet.c (drag_data_received_cb):
        Reset Picture option to "Wall paper" only in the case of
        "none" while DnD. Fixes #94329
2002-11-13 09:08:44 +00:00
Jody Goldberg
de3fad8d1a Release 2.1.2
2002-11-02  Jody Goldberg <jody@gnome.org>

	* Release 2.1.2
2002-11-02 19:03:15 +00:00