Commit graph

88 commits

Author SHA1 Message Date
Jens Granseuer
dd75320d14 Patch by: Erich Schubert <erich@debian.org>
2007-04-16  Jens Granseuer  <jensgr@gmx.net>

	Patch by: Erich Schubert <erich@debian.org>

	* applier.c: (get_geometry): fix scaling for WPTYPE_ZOOM. Fixes
	bug #342356.

svn path=/trunk/; revision=7473
2007-04-16 18:45:54 +00:00
Rodney Dawes
410f1ee2b8 Set prefs->enabled not prefs->wallpaper_enabled Patch from Jean-Christophe
2007-01-08  Rodney Dawes  <dobey@novell.com>

	* preferences.c (bg_preferences_merge_entry):
	Set prefs->enabled not prefs->wallpaper_enabled
	Patch from Jean-Christophe Jaskula

	Fixes #339404


svn path=/trunk/; revision=7096
2007-01-08 16:26:48 +00:00
Kjartan Maraas
7173f6e3d8 Make read_orientation_from_string() and read_wptype_from_string() behave
2006-08-23  Kjartan Maraas  <kmaraas@gnome.org>

	* preferences.c: (bg_preferences_load),
	(bg_preferences_merge_entry), (read_wptype_from_string),
	(read_orientation_from_string): Make read_orientation_from_string()
	and read_wptype_from_string() behave like read_color_from_string()
	and adjust all callers. Avoids some excess strduping too I guess.
	Closes bug #352252.
2006-08-23 05:34:45 +00:00
Rodney Dawes
0630f59b94 Revert previous leak fix from Kjartan Maraas as it seems to cause crashes
2006-08-21  Rodney Dawes  <dobey@novell.com>

	* preferences.c (bg_preferences_load): Revert previous leak fix from
	Kjartan Maraas as it seems to cause crashes in nautilus

	see bug #352279
2006-08-21 18:11:53 +00:00
Kjartan Maraas
d737308522 Don't leak gconf strings.
2006-08-21  Kjartan Maraas  <kmaraas@gnome.org>

	* preferences.c: (bg_preferences_load): Don't leak gconf strings.
2006-08-21 12:58:40 +00:00
Sergey V. Udaltsov
0be9cdea11 removed redundant GNOMELOCALEDIR, fixed #345178 2006-06-27 21:05:53 +00:00
Alan Swanson
0f56daf38d Handle the new WPTYPE_ZOOM setting and return proper geometry for it
2006-01-14  Alan Swanson <swanson@ukfsn.org>

	* applier.c (get_geometry): Handle the new WPTYPE_ZOOM setting and
	return proper geometry for it

	* preferences.c (_bg_wptype_values[]): Add the alias for the zoom type
	(read_wptype_from_string): Handle setting the type for zoom
	(bg_preferences_get_wptype_as_string): Return the string for the new
	zoom setting type

	* preferences.h (_wallpaper_type_t): Add the new zoom type

	Partial code for #105231
2006-01-14 13:38:55 +00:00
Alexis Robert
e55ae2cfd6 Fixes #320647
2005-11-07  Alexis Robert <alexis@linuxcode.eu.org>

	Fixes #320647

	* libbackground/preferences.c (bg_preferences_load): only use strings
	returned from GConf when not NULL.
2005-11-07 17:56:46 +00:00
Rodney Dawes
3d5e4d4e75 Make sure that the UTF8 filename is valid and exists before trying to use
2005-10-01  Rodney Dawes  <dobey@novell.com>

	* preferences.c (bg_preferences_load, bg_preferences_merge_entry):
	Make sure that the UTF8 filename is valid and exists before trying
	to use it, otherwise fall back to using the filename encoding specified
	by the user with the environment variables used by glib to determine
	the locale encoding of filenames

	Fixes #168604
2005-10-01 21:18:21 +00:00
Kjartan Maraas
49601b934d GCC4 build issues.
2005-06-10  Kjartan Maraas  <kmaraas@gnome.org>

	* applier.c: (render_wallpaper), (is_nautilus_running): GCC4
	build issues.
2005-06-10 18:49:06 +00:00
Richard Hoelscher
227d0296d6 Remove egg_pixbuf_new_from_file_at_size, using the gtk+-2.6 function for
2005-05-08  Richard Hoelscher  <rah@rahga.com>

	* applier.c (refresh_render): Remove egg_pixbuf_new_from_file_at_size,
	using the gtk+-2.6 function for this instead.

	Fixes #169757
2005-05-08 20:49:45 +00:00
Rodney Dawes
71665a599c Don't define GNOME_ICONDIR as libbackground does not use it in any of the
2005-02-10  Rodney Dawes  <dobey@novell.com>

	* Makefile.am: Don't define GNOME_ICONDIR as libbackground does not
	use it in any of the code
2005-02-10 05:10:51 +00:00
Jody Goldberg
135d52c612 Release 2.8.1
2004-10-14  Jody Goldberg <jody@gnome.org>

	* Release 2.8.1
2004-10-14 19:05:48 +00:00
Rodney Dawes
331f5ad61c Remove all references to #ifdef HAVE_GTK_MULTIHEAD Patch from Kjartan
2004-06-27  Rodney Dawes  <dobey@novell.com>

	* applier.c: Remove all references to #ifdef HAVE_GTK_MULTIHEAD
	Patch from Kjartan Maraas <kmaraas@gnome.org>

	Fixes #142749
2004-06-28 03:39:56 +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
Chris Lahey
ab3bfd09ba Made this delay by a tenth of a second. This seems to make it not reload
2004-03-11  Chris Lahey  <clahey@rigger.boston.ximian.com>

	* gnome-settings-background.c (applier_idle): Made this delay by a
	tenth of a second.  This seems to make it not reload the
	background more than once.

2004-03-12  Chris Lahey  <clahey@rigger.boston.ximian.com>

	* applier.c (refresh_render): Move the image reload into a separate function.
	(size_changed_cb): Handle screen resolution changes.

2004-03-11  Chris Lahey  <clahey@rigger.boston.ximian.com>

	* applier.c (bg_applier_apply_prefs): If the image is going to be
	scaled or stretched, load it at the size it's going to be
	displayed.
	(need_wallpaper_load_p): If the wallpaper type changed, unless it
	changed between TILED and CENTERED, we need to reload the image.
2004-04-07 04:46:27 +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
Muktha
92bc252e78 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:53 +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
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
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
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
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
Jonathan Blandford
f5c8c732d3 forgot to save this before committing 2003-06-02 18:23:04 +00:00
Jonathan Blandford
38716479b9 scaling fix. Patch from Marcus Matèrn <marcus.matern@safecareab.com>,
Mon Jun  2 13:35:49 2003  Jonathan Blandford  <jrb@redhat.com>

	* preview-file-selection.c
	(preview_file_selection_intelligent_scale): scaling fix.  Patch
	from Marcus Matèrn <marcus.matern@safecareab.com>, #113816
2003-06-02 17:35:40 +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
Pasupathi Duraisamy
5d62e0441b Fixes bogus GC creation. patch from Anders Carlsson <andersca@gnu.org>
2003-04-07  Pasupathi Duraisamy <pasupathi.duraisamy@wipro.com>

        * applier.c (set_root_pixmap): Fixes bogus GC creation.
        patch from Anders Carlsson <andersca@gnu.org>
2003-04-07 05:55:13 +00:00
Kjartan Maraas
f3517c9712 Fix a typo in a comment.
2003-02-16  Kjartan Maraas  <kmaraas@gnome.org>

	* applier.c: Fix a typo in a comment.
2003-02-16 16:07:45 +00:00
Jonathan Blandford
d660af7b7a 2.2.0.1 forgot to commit this last night.
2.2.0.1
forgot to commit this last night.
2003-02-05 15:45:30 +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
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
Jody Goldberg
de4daccb66 Release 2.1.1
2002-10-21  Jody Goldberg <jody@gnome.org>

	* Release 2.1.1
2002-10-21 16:48:10 +00:00
Jody Goldberg
69bc347c0f Forgot to commit when I did the 2.1.0.1 snapshot
2002-10-01  Jody Goldberg <jody@gnome.org>

	* Release 2.1.0.1
2002-10-03 10:17:40 +00:00
Jody Goldberg
b3ca0b3f9f Release 2.1.0
2002-08-21  Jody Goldberg <jody@gnome.org>

	* Release 2.1.0
2002-08-21 06:01:42 +00:00
jacob berkman
fc7396ec43 fixes for building with gdk 2.0
2002-07-29  jacob berkman  <jacob@ximian.com>

	* applier.c (set_root_pixmap):
	(make_root_pixmap): fixes for building with gdk 2.0
2002-07-29 15:13:08 +00:00
Mark McLoughlin
13e1dd836d add check for gtk+ with multihead support and define HAVE_GTK_MULTIHEAD if
2002-07-27  Mark McLoughlin  <mark@skynet.ie>

        * configure.in: add check for gtk+ with multihead
        support and define HAVE_GTK_MULTIHEAD if found.

2002-07-27  Mark McLoughlin  <mark@skynet.ie>

        Add support for rendering the wallpaper on
        a particular physical screen.

        * applier.[ch]:
        (bg_applier_init): init screen and root_window.
        (bg_applier_class_init), (bg_applier_set_prop),
        (bg_applier_get_prop): add "screen" property.
        (bg_applier_new_for_screen): implement.
        (render_wallpaper), (render_to_screen),
        (create_pixmap), (wallpaper_full_cover_p): use the
        screen and root window information.
        (make_root_pixmap): add a GdkScreen arg, actually
        use the display we opened, use the correct root
        window and not the default one
        (set_root_pixmap): add a GdkScreen arg, use the
        default display, use the correct root window.
2002-07-28 19:09:02 +00:00
Jody Goldberg
e15d737a93 http://bugzilla.gnome.org/show_bug.cgi?id=85224 clamp to avoid underflow
2002-06-18  Jody Goldberg <jody@gnome.org>

	http://bugzilla.gnome.org/show_bug.cgi?id=85224
	* applier.c (render_wallpaper) : clamp to avoid underflow
2002-06-26 03:29:17 +00:00
Jody Goldberg
96a33b67f8 Release 2.0.0
2002-06-17  Jody Goldberg <jody@gnome.org>

	* Release 2.0.0
2002-06-17 22:10:21 +00:00
Damon Chaplin
d185c631b2 don't call set_root_pixmap() at all if nautilus is running. It didn't do
2002-05-31  Damon Chaplin  <damon@ximian.com>

	* applier.c (bg_applier_apply_prefs): don't call set_root_pixmap() at
	all if nautilus is running. It didn't do anything in this case anyway.
	Removed the nice(20). A library function shouldn't do this. If
	gnome-settings-daemon wants to be niced then it should do it in main()
	or something like that.
	(set_root_pixmap): do a final check to see if nautilus is running
	before setting the pixmap.

	Fixes part of #74311.
2002-05-31 19:58:02 +00:00
jacob berkman
50b3bfe107 use a gc for the pixmap not the root window
2002-05-21  jacob berkman  <jacob@ximian.com>

	* applier.c (render_to_screen): use a gc for the pixmap not the
	root window
	(bg_applier_get_preview_widget): don't create the pixmap until we
	are realized
	(make_root_pixmap): use gdk_get_display(), not getenv ("DISPLAY"),
	and set the colormap for our GdkPixmap so we can draw on it
	(preview_realized_cb): create the pixmap here, and set it on our
	GtkImage

	fixes #73496
2002-05-21 22:13:38 +00:00
jacob berkman
5dcefd353d don't spew a warning when files can't be loaded (helps fix #76993)
2002-05-16  jacob berkman  <jacob@ximian.com>

	* applier.c (bg_applier_apply_prefs): don't spew a warning when
	files can't be loaded (helps fix #76993)
2002-05-16 22:21:25 +00:00