Commit graph

44 commits

Author SHA1 Message Date
Kai Lahmann
e10800015f .desktop fixCVS:
.desktop fixCVS: ----------------------------------------------------------------------
2001-07-10 22:02:42 +00:00
Havoc Pennington
22c09dbb52 switch to using pkg-config to find things
2001-06-21  Havoc Pennington  <hp@redhat.com>

	* configure.in: switch to using pkg-config to find things

	* capplets/*/Makefile.am: clean up crufty flags, adapt to
	configure.in changes
2001-06-21 16:09:21 +00:00
Bradford Hovinen
c894d8e52b Abort if prefs structure is NULL when editing outside the current
2001-06-21  Bradford Hovinen  <hovinen@ximian.com>

	* capplets/new-*/main.c (main): Abort if prefs structure is NULL
	when editing outside the current location. Fixes crash when bad
	XML data are supplied.
2001-06-21 14:48:09 +00:00
Bradford Hovinen
f707e7350e Fix to use correct termination condition and g_string API
2001-06-21  Bradford Hovinen  <hovinen@ximian.com>

	* capplets/new-*/main.c (do_set_xml): Fix to use correct
	termination condition and g_string API

	* capplets/new-screensaver-properties/preferences.c (clone_cb):
	Remove debugging code
2001-06-21 14:28:48 +00:00
Bradford Hovinen
3f08be4e57 Don't save unless apply_settings is set
2001-06-20  Bradford Hovinen  <hovinen@ximian.com>

	* capplets/new-*/main.c (do_set_xml): Don't save unless
	apply_settings is set
2001-06-20 17:58:21 +00:00
Richard Hestilow
efc06f6cc7 Handle properly the case where centered/tiled image is larger than the
2001-06-20  Richard Hestilow  <hestilow@ximian.com>

	* capplets/new-background-properties/applicer.c
	(get_geometry): Handle properly the case where centered/tiled
	image is larger than the screen/preview.
2001-06-20 16:36:01 +00:00
Bradford Hovinen
a5f7ac1dab Fixed nitems check (set_root_pixmap): Passing -1 makes the function just
2001-06-20  Bradford Hovinen  <hovinen@ximian.com>

	* capplets/new-background-properties/applier.c
	(is_nautilus_running): Fixed nitems check
	(set_root_pixmap): Passing -1 makes the function just set the
	pixmap to what it was
2001-06-20 15:50:59 +00:00
Bradford Hovinen
c7af228de9 Use read () rather than fread () to make sure to catch end-of-file.
2001-06-18  Bradford Hovinen  <hovinen@ximian.com>

	* capplets/new-*/main.c (do_set_xml): Use read () rather than
	fread () to make sure to catch end-of-file. Gracefully handle
	no-data case.
2001-06-18 16:44:33 +00:00
Bradford Hovinen
eba544a091 Add check for libximian_archiver; try include cflags and libs only if the
2001-05-05  Bradford Hovinen  <hovinen@ximian.com>

	* configure.in: Add check for libximian_archiver; try include
	cflags and libs only if the archiver is present *
	capplets/*/main.c: Add #ifdef's around anything that uses the
	Ximian archiver so that the capplets can compile without it
2001-05-05 14:19:03 +00:00
Bradford Hovinen
a7fa858b61 Handle --get-defaults (do_restore_from_defaults): Implement
2001-05-03  Bradford Hovinen  <hovinen@ximian.com>

	* capplets/*/main.c (main): Handle --get-defaults
	(do_restore_from_defaults): Implement

	* capplets/*/preferences.c (preferences_init): Load default values
2001-05-04 00:05:14 +00:00
Bradford Hovinen
fc7487ef4f Make desktop-entry an attribute rather than a child node
2001-04-27  Bradford Hovinen  <hovinen@ximian.com>

	* capplets/wm-properties/wm-list.c (wm_read_from_xml): Make
	desktop-entry an attribute rather than a child node

	* capplets/*/main.c: Do not try to load preferences from XML if
	there was not XML data
2001-04-29 16:22:27 +00:00
Bradford Hovinen
1455dedadd Remove FIXME warning (applier_apply_prefs): Disable wallpaper in new_prefs
2001-04-24  Bradford Hovinen  <hovinen@ximian.com>

	* applier.c (applier_apply_prefs): Remove FIXME warning
	(applier_apply_prefs): Disable wallpaper in new_prefs structure if
	the wallpaper pixbuf is NULL and we are not loading a new pixbuf
2001-04-25 01:32:13 +00:00
Bradford Hovinen
9bf1996a30 Support --location
2001-04-24  Bradford Hovinen  <hovinen@ximian.com>

	* capplets/*/main.c:
	* capplets/*/preferences.c: Support --location

	* capplets/Makefile.am: Compile in screensaver properties
2001-04-25 01:00:46 +00:00
Chema Celorio
2c63f8ead7 s/gEdit/gedit
2001-03-13  Chema Celorio  <chema@celorio.com>

	* capplets/gnome-edit-properties/gnome-edit-properties.c:
	s/gEdit/gedit
2001-03-13 05:17:20 +00:00
Bradford Hovinen
45c0705006 Fix call to location_store_xml
2001-03-12  Bradford Hovinen  <hovinen@ximian.com>

	* main.c (store_archive_data): Fix call to location_store_xml
2001-03-13 03:16:08 +00:00
Bradford Hovinen
427ef6c2d6 Disable wallpaper in new_prefs structure, not structure passed to function
2001-01-27  Bradford Hovinen  <hovinen@ximian.com>

	* capplets/new-background-properties/applier.c
	(applier_apply_prefs): Disable wallpaper in new_prefs structure,
	not structure passed to function

2001-01-26  Bradford Hovinen  <hovinen@ximian.com>

	* capplets/new-background-properties/main.c
	(do_restore_from_defaults): Implement. Creates a preferences
	object with factory defaults and saves and applies those changes.
2001-01-27 17:14:59 +00:00
Marius Andreiana
2072d3aa96 added ro (Romanian) translation 2001-01-26 15:10:22 +00:00
Bradford Hovinen
fab55a60fc Implement (ok_cb): Call store_archive_data
2001-01-25  Bradford Hovinen  <hovinen@ximian.com>

	* capplets/new-background-properties/main.c (store_archive_data):
	Implement
	(ok_cb): Call store_archive_data
2001-01-25 18:10:16 +00:00
Bradford Hovinen
d2d4f6c4f1 Fix typo in adjust-opacity part
2001-01-24  Bradford Hovinen  <hovinen@ximian.com>

	* capplets/new-background-properties/preferences.c
	(preferences_read_xml): Fix typo in adjust-opacity part

	* capplets/new-background-properties/main.c (do_set_xml): Apply
	preferences as well as saving them
2001-01-25 15:25:18 +00:00
Kjartan Maraas
2fcc5969d3 Fix typo.
2000-12-29  Kjartan Maraas  <kmaraas@gnome.org>

	* capplets/new-background-properties/background-properties.glade:
	Fix typo.
2000-12-29 12:08:19 +00:00
Kjartan Maraas
585fd5becc Fix typo.
2000-12-29  Kjartan Maraas  <kmaraas@gnome.org>

	* capplets/new-background-properties/background-properties.glade:
	Fix typo.
2000-12-29 10:15:56 +00:00
Jacob Berkman
d42affc965 Merging of my tree.
This contains:

* a few capplets were redone UI wise:

  ui-properties
  keyboard
  background-properties

* splitting of libcapplet out of this modules (into libcapplet)

* new html-based view in the control-center

* initial import of functional root-manager

This stuff isn't all done yet, but I wanted to get it in.

TODO files will hopefully follow.
2000-12-26 19:41:33 +00:00
Bradford Hovinen
0f67cd0cd0 Prescale the pixbuf before a tiled composite
2000-12-22  Bradford Hovinen  <hovinen@helixcode.com>

	* capplets/new-background-properties/applier.c
	(renderer_render_wallpaper): Prescale the pixbuf before a tiled
	composite
2000-12-22 16:09:04 +00:00
Bradford Hovinen (Gdict maintainer)
4f87fefb51 Uncommented commented-out XGrabServer/XUngrabServer 2000-12-21 20:43:59 +00:00
Bradford Hovinen
5493103f0b Check if nitems is 1, not 4 (set_root_pixmap): Do a sanity check on the
2000-12-21  Bradford Hovinen  <hovinen@helixcode.com>

	* capplets/new-background-properties/applier.c (set_root_pixmap):
	Check if nitems is 1, not 4
	(set_root_pixmap): Do a sanity check on the old pixmap before
	freeing it
2000-12-21 20:43:13 +00:00
Bradford Hovinen (Gdict maintainer)
fcff0fdb47 Changed brightness to opacity on callback for adjust checkbox 2000-12-19 20:16:22 +00:00
Bradford Hovinen
749b0a33a3 Change the meaning of brightness to mean opacity (tile_composite):
2000-12-18  Bradford Hovinen  <hovinen@helixcode.com>

	* capplets/new-background-properties/applier.c
	(renderer_render_wallpaper): Change the meaning of brightness to
	mean opacity
	(tile_composite): Implement
	(render_gradient_p): Return TRUE if the opacity should be adjusted

	* capplets/new-background-properties/prefs-widget.c: Change
	instances of brightness to refer to opacity

	* capplets/new-background-properties/preferences.c: Ditto
2000-12-18 15:09:36 +00:00
Bradford Hovinen
480213cab5 Add support for adjusting wallpaper brightness
2000-12-17  Bradford Hovinen  <hovinen@helixcode.com>

	* capplets/new-background-properties/applier.c
	(renderer_render_wallpaper): Add support for adjusting wallpaper
	brightness

	* capplets/new-background-properties/main.c (ok_cb):
	(cancel_cb): Disconnect ok, cancel handler signals before
	destroying preferences widget
	(setup_capplet_widget): Set signal handler ids for ok, cancel
	signals

	* capplets/new-background-properties/prefs-widget.c
	(prefs_widget_init): Connect signals for adjusting brightness
	(adjust_brightness_toggled_cb):
	(brightness_adjust_changed_cb):
	(set_brightness_controls_sensitive): Implement

	* capplets/new-background-properties/preferences.h (struct
	_Preferences): Add adjust_brightness, brightness_value

	* capplets/new-background-properties/preferences.c (preferences_load):
	(preferences_save):
	(preferences_read_xml):
	(preferences_write_xml): Support adjust_brightness, brightness_value

	* capplets/new-background-properties/prefs-widget.c
	(wallpaper_entry_changed_cb): Don't fail if prefs is NULL, just
	return

	* capplets/new-background-properties/main.c (ok_cb):
	(cancel_cb): Properly destroy the preferences widget

	* capplets/new-background-properties/prefs-widget.c
	(prefs_widget_destroy): Implement
2000-12-18 00:34:29 +00:00
Bradford Hovinen
394501074b Use string rather than bool for auto_apply
2000-12-17  Bradford Hovinen  <hovinen@helixcode.com>

	* capplets/new-background-properties/preferences.c
	(preferences_load):
	(preferences_save): Use string rather than bool for auto_apply
2000-12-17 21:50:45 +00:00
Bradford Hovinen
8d8010f252 Increased delay before autoapply
2000-12-17  Bradford Hovinen  <hovinen@helixcode.com>

	* capplets/new-background-properties/preferences.c
	(preferences_changed): Increased delay before autoapply

	* capplets/new-background-properties/prefs-widget.c
	(auto_apply_toggled_cb): Implement
	(read_preferences):
	(prefs_widget_init): Support auto_apply

	* capplets/new-background-properties/preferences.h (struct
	_Preferences): Add auto_apply
	* capplets/new-background-properties/preferences.c
	(preferences_write_xml):
	(preferences_read_xml):
	(preferences_load):
	(preferences_save): Support auto_apply

	* capplets/new-background-properties/applier.c (struct _Renderer):
	Added srcx, srcy to clip wallpaper when it is too big
	(get_geometry): Set srcx and srcy
	(renderer_render_to_screen): Tweak rendering geometry to stay
	within the wallpaper area on the drawable

	* capplets/new-background-properties/prefs-widget.c
	(wallpaper_entry_changed_cb): Make sure the file specified is
	actually a file

	* capplets/new-background-properties/main.c (do_set_xml): Default
	NULL for buffer
2000-12-17 21:44:20 +00:00
Bradford Hovinen
9d9e373a33 Default NULL for buffer
2000-12-17  Bradford Hovinen  <hovinen@helixcode.com>

	* capplets/new-background-properties/main.c (do_set_xml): Default
	NULL for buffer

	* capplets/new-background-properties/applier.c
	(is_nautilus_running): Return if there is no Nautilus window
	property
2000-12-17 19:05:11 +00:00
jjranta
a31974f90f Added or updated fi-entry to about all .desktop-files. Updated fi.po 2000-11-11 13:01:41 +00:00
Bradford Hovinen
655abbdda8 Fix only_if_exists parameters for XInternAtom
2000-10-21  Bradford Hovinen  <hovinen@helixcode.com>

	* capplets/new-background-properties/applier.c
	(is_nautilus_running): Fix only_if_exists parameters for XInternAtom
2000-10-21 21:26:04 +00:00
Bradford Hovinen
edc0b7480c If the passed pixmap is None, delete the root pixmap properties and don't
2000-10-21  Bradford Hovinen  <hovinen@helixcode.com>

	* capplets/new-background-properties/applier.c (set_root_pixmap):
	If the passed pixmap is None, delete the root pixmap properties
	and don't try to set the background on the root window
	(is_nautilus_running): Implement. Return TRUE iff Nautilus is
	running, FALSE otherwise
	(applier_apply_prefs): If Nautilus is running and we are rendering
	to the root pixmap, just remove the root pixmap window property
	(renderer_render_to_screen): Set root pixmap to None (i.e.,
	destroy root pixmap) if we're rendering a solid background to the
	root window
2000-10-21 21:22:45 +00:00
dd Hovinen
9fd5dab207 Added rorschach.xml.h
2000-10-14  dd Hovinen  <hovinen@helixcode.com>

	* po/POTFILES.in: Added rorschach.xml.h

	Courtesy John B Tunison <jtunison@andrew.cmu.edu>:
	* capplets/*/Makefile.am (INCLUDES): Put
	-I$(top_srcdir)/libcapplet before everything else

	* new-control-center/capplet-dir.c
	(start_capplet_through_root_manager): Use FOPEN_MAX rather than
	OPEN_MAX, since some people don't seem to be have OPEN_MAX defined by
	default
2000-10-14 16:54:25 +00:00
Stanislav Brabec
99abd8706e Remove trailing dot in english strings containing menu name or tooltip
(discussed in gnome-i18n list).
Updated cs and cs.po.
2000-10-11 14:17:08 +00:00
Christophe Merlet
cbbb0b6ce3 Updated french translation and exec entry in somes *.desktop files. 2000-10-09 10:49:21 +00:00
Bradford Hovinen
e5c0852368 Bumped version no to 1.3.1
2000-10-08  Bradford Hovinen  <hovinen@helixcode.com>

	* configure.in: Bumped version no to 1.3.1

	* capplets/new-mouse-properties/Makefile.am (EXTRA_DIST): Remove
	erroneous ChangeLog entry
2000-10-08 22:53:44 +00:00
Bradford Hovinen
99c8753a52 Add translation file
2000-10-08  Bradford Hovinen  <hovinen@helixcode.com>

        * capplets/new-background-properties/Makefile.am (EXTRA_DIST): Add
        translation file

        * capplets/new-bell-properties/Makefile.am (EXTRA_DIST): ditto

        * capplets/new-mouse-properties/Makefile.am (EXTRA_DIST): ditto

        * capplets/new-ui-properties/Makefile.am (EXTRA_DIST): ditto
2000-10-08 19:34:46 +00:00
Jorge Godoy
a53dcdcd14 Updating pt_BR translations.
* Uldated using allpo.pl, please, any problem <ricardo@conectiva.com.br>
2000-10-06 20:29:07 +00:00
Kjartan Maraas
f5d986cff6 Quiet CVS 2000-09-29 12:39:27 +00:00
Bradford Hovinen
96acc3fd51 Added new mouse properties capplet
2000-09-12  Bradford Hovinen  <hovinen@helixcode.com>

        * new-keyboard-properties/preferences.c (preferences_clone): Added
	in missing code to copy preferences over
2000-09-12 15:25:23 +00:00
Bradford Hovinen
589923f166 Set gradient/wallpaper/background controls' sensitivity depending on
2000-09-10  Bradford Hovinen  <hovinen@helixcode.com>

	* capplets/new-background-properties/prefs-widget.c
	(read_preferences): Set gradient/wallpaper/background controls'
	sensitivity depending on whether they are enabled

	* capplets/new-background-properties/applier.c
	(renderer_render_to_screen): Fixed solid, no wallpaper case to
	work correctly with preview window; don't set root pixmap if
	neither wallpaper nor gradient enabled
2000-09-10 19:42:19 +00:00
Bradford Hovinen (Gdict maintainer)
818c4291c1 Created new background properties capplet, under new-background-properties 2000-09-09 23:21:28 +00:00