Commit graph

465 commits

Author SHA1 Message Date
Richard Hestilow
9718834cfb Add PKG_CHECK_MODULES for SCREENSAVER_CAPPLET.
2001-07-03  Richard Hestilow  <hestilow@ximian.com>

	* configure.in: Add PKG_CHECK_MODULES for SCREENSAVER_CAPPLET.
2001-07-03 17:50:42 +00:00
Bradford Hovinen
a72197926a Added archiver moniker for bonobo-conf
Added sample capplet using new moniker

2001-06-29  Bradford Hovinen  <hovinen@ximian.com>

        * main.c (main): Support --run-capplet argument on the command line

        * capplet-dir.c (capplet_launch): Implement. Currently not called,
        but will be used to launch capplets

        * main.c (main): Added OAF and bonobo intialization

        * capplets/Makefile.am (bin_PROGRAMS): Add target for
        sound-properties-capplet
        (INCLUDES): Install from new-sound-properties

        * configure.in (CAPPLET_{CFLAGS|LIBS}): Add bonobo_conf to each
2001-06-29 20:48:29 +00:00
Richard Hestilow
828dbf8727 Check for pkg-config >= 0.6.0 without the use of a macro -- people were
2001-06-27  Richard Hestilow  <hestilow@ximian.com>

	* configure.in: Check for pkg-config >= 0.6.0 without the use of
	a macro -- people were having issues with older versions with
	no macros.
2001-06-27 18:40:27 +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
Christian Rose
618c4af389 Modified Swedish entry. Added missing file. Updated Swedish translation.
2001-06-07  Christian Rose  <menthos@menthos.com>

	* capplets/desktop-links/Appearances.directory,
	capplets/desktop-links/Multimedia.directory,
	capplets/desktop-links/Peripherals.directory,
	capplets/desktop-links/UIOptions.directory,
	capplets/gnome-edit-properties/gnome-edit-properties.desktop,
	capplets/mime-type/mime-type.desktop,
	capplets/new-sound-properties/sound-properties.desktop,
	capplets/new-ui-properties/behavior.desktop,
	capplets/screensaver-properties/screensaver-desktops/screensaver-properties.desktop,
	capplets/sound-properties/sound-properties.desktop,
	capplets/theme-switcher/theme-selector.desktop,
	capplets/ui-properties/application.desktop,
	capplets/ui-properties/ui-properties.directory: Modified
	Swedish entry.
	* po/POTFILES.in: Added missing file.
	* po/sv.po: Updated Swedish translation.
2001-06-07 01:21:11 +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
91012a3fac Support --location
2001-04-24  Bradford Hovinen  <hovinen@ximian.com>

	* capplets/*/main.c:
	* capplets/*/preferences.c: Support --location
2001-04-25 01:01:39 +00:00
Anna Marie Dirks
fda9cc2357 This is the initial mockup of my reorganization of control center's menus;
2001-04-24  Anna Marie Dirks <anna@ximian.com>
	* capplets/interfaces/control-center.glade: This is the initial mockup of my reorganization of control center's menus; I'm committing it to garner input. This file includes separate menus for simple, intermediate and advanced modes; it does not include any graphics (yet).
2001-04-24 20:45:23 +00:00
Anna Marie Dirks
727740f13e added this directory to store gladed mockups of new capplets. added this
2001-03-29  Anna Marie Dirks <anna@ximian.com>
	* capplets/interfaces: added this directory to store gladed mockups of new capplets.
	* capplets/pixmaps: added this directory to store the supporting images for the capplet mockups.

	* capplets/interfaces/background-capplet-mockup.glade: initial version of the new and improved background capplet. i still need to figure out exactly which labels to use where (ie, "alignment" is not really correct).

	* capplets/pixmaps/athens-bg.png: graphic used to demonstrate how/where the preview should go in the new background capplet.
2001-03-29 21:48:08 +00:00
Ravi Pratap
8541eab4ff Correct to cast to CappletWidgetClass
2001-03-18  Ravi Pratap  <ravi@che.iitm.ac.in>

	* control-center/capplet-widget.h (CAPPLET_WIDGET_CLASS): Correct
	to cast to CappletWidgetClass

	* capplets/wm-properties.c (store_archive_data): add
	(ok_callback): Modify to store settings using wm_list_save

	* capplets/gnome-edit-properties.c (edit_apply): Modify to call
	store_archive_data before exiting.
	(current_info): Add new global variable to hold current state.
2001-03-19 04:32:37 +00:00
Bradford Hovinen
ed0d760991 Added code to store archive data with the ximian archiver
2001-03-15  Bradford Hovinen  <hovinen@ximian.com>

	* capplets/new-*/main.c: Added code to store archive data with the
	ximian archiver
2001-03-15 05:24:57 +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
Fatih Demir
7b4f73daaf More CVS delirium 2001-01-29 13:02:57 +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
jacob berkman
cabe27ab37 add a \n to the usage message
2001-01-25  jacob berkman  <jacob@ximian.com>

	* root-manager/root-manager.c (main): add a \n to the usage
	message

	* root-manager/root-manager-wrap.c: change some g_print's to
	fprintf to stderr
2001-01-25 17:40:43 +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
Bradford Hovinen
9c10f33f38 Added capplets/rollback/Makefile
2001-01-24  Bradford Hovinen  <hovinen@ximian.com>

	* configure.in (AC_OUTPUT): Added capplets/rollback/Makefile
2001-01-24 20:44:48 +00:00
jacob berkman
22bec884b7 new (temporary) html view and bug fixication
2001-01-24  jacob berkman  <jacob@ximian.com>

	* new-control-center/*.[ch]: new (temporary) html view and bug
	fixication

	* root-manager/*.[ch]: gnomeify dialogs and other cleanups

	* configure.in: flags for root-manager-helper

2001-01-17  jacob berkman  <jacob@ximian.com>

	* root-manager/Makefile.am
	* root-manager/root-manager.h: fix finding the root-manager
2001-01-24 20:26:38 +00:00
Bradford Hovinen
8887ceecf1 Added ROLLBACK_CAPPLET_{CFLAGS|LIBS} for the rollback capplet
2001-01-24  Bradford Hovinen  <hovinen@ximian.com>

	* configure.in: Added ROLLBACK_CAPPLET_{CFLAGS|LIBS} for the
	rollback capplet
	(ROLLBACK_CAPPLET_LIBS): Typo fix
2001-01-24 19:01:22 +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
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
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
Stanislav Brabec
ab3252cba5 Remove trailing dot in english strings containing menu name or tooltip
2000-11-23  Stanislav Brabec  <utx@penguin.cz>

        * */*/*.desktop, */*/*.directory: Remove trailing dot in english
	strings containing menu name or tooltip (discussed in gnome-i18n
	list). Updated cs.
2000-11-24 12:45:21 +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
Stanislav Brabec
c1453a3cc9 Created noinst_DATA, to not fail in po.
2000-10-16  Stanislav Brabec  <utx@penguin.cz>

        * capplets/new-screensaver-properties/screensavers/Makefile.am:
	Created noinst_DATA, to not fail in po.

	* po/fr.po: Bug fix.
2000-10-17 16:47:18 +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
Bradford Hovinen
a115907a80 Apply change by Eric Dorland <dorland@lords.com> to use XGetPointerMapping
2000-10-08  Bradford Hovinen  <hovinen@helixcode.com>

	* capplets/new-mouse-properties/preferences.c
 	(preferences_apply_now): Apply change by Eric Dorland
 	<dorland@lords.com> to use XGetPointerMapping
2000-10-08 19:00:52 +00:00
Bradford Hovinen
89e394e737 Update list of Makefiles
2000-10-08  Bradford Hovinen  <hovinen@helixcode.com>

	* configure.in (CFLAGS): Update list of Makefiles

	* capplets/Makefile.am (always_built_SUBDIRS): Build new
	sound-properties-capplet rather than old one

	* New sound-properties capplet
2000-10-08 16:38:31 +00:00
Bradford Hovinen
5ffa1fd136 Update list of Makefiles
2000-10-06  Bradford Hovinen  <hovinen@helixcode.com>

	* configure.in (AC_OUTPUT): Update list of Makefiles

2000-09-24  Bradford Hovinen  <hovinen@helixcode.com>

	* capplets/new-screensaver-properties/resources.c
	(screensaver_get_desc_from_xrdb): Fix memory allocation bug
2000-10-07 02:33:56 +00:00