Commit graph

304 commits

Author SHA1 Message Date
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
Bradford Hovinen
fb69525257 Copy dialog_use_icons field
2000-09-24  Bradford Hovinen  <hovinen@helixcode.com>

	* capplets/new-ui-properties/preferences.c
 	(preferences_clone): Copy dialog_use_icons field

	* capplets/new-ui-properties/prefs-widget-dialogs.c: Use standard
	macro for dialog_icons

	* capplets/new-ui-properties/prefs-widget.h
 	(struct _widget_desc_t): Remove field prefs_offset

	* capplets/new-ui-properties/preferences.c
 	(preferences_get_dialog_icons):
	(preferences_set_dialog_icons): Implement

	* capplets/new-ui-properties/prefs-widget.c (read_preferences):
	(register_callbacks):
	(toggled_cb):
	(selected_cb): Remove support for direct struct offset manipulation

	* capplet-widget.c (capplet_widget_multi_new): Set capid
	(capplet_widget_init): Set capid to current global value
	(capplet_widget_class_get_capid): Implement; return the capid
	passed on the command line

	* capplet-widget.h (struct _CappletWidget): Remove buffer between
	frame and plug sizes
2000-09-24 15:49:19 +00:00
Bradford Hovinen (Gdict maintainer)
3443f5573f Added new ui properties capplet
Fixed typos in the screensaver properties Makefile.am
2000-09-24 05:12:08 +00:00
Bradford Hovinen
e97f9d324b Set CFLAGS to -O2 -g -Wall by default
2000-09-12  Bradford Hovinen  <hovinen@helixcode.com>

	* configure.in (CFLAGS): Set CFLAGS to -O2 -g -Wall by default
2000-09-12 13:57:58 +00:00
Bradford Hovinen
e4b4b7af40 Add buffer to make sure class is binary compatible with older library
2000-09-10  Bradford Hovinen  <hovinen@helixcode.com>

	* libcapplet/capplet-widget.h (struct _CappletWidget):
	(struct _CappletWidgetClass): Add buffer to make sure class is
 	binary compatible with older library

	* libcapplet/capplet-widget.c (capplet_widget_class_init): Attach
 	capplet_widget_realize (renamed capplet_widget_show) to "show"
 	method
	(capplet_widget_destroy): Accept a GtkObject
	(capplet_widget_show): Accept a GtkWidget
	(capplet_widget_destroy):
	(capplet_widget_state_changed):
	(capplet_widget_show):
	(ok_cb):
	(cancel_cb):
	(set_controls_sensitive): Add assertion checks on preconditions
	(capplet_widget_init): Removed unused variables
	Removed undo_cb, about_cb, id_list
2000-09-11 01:25:19 +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
99aa241dba Updated French translations Chnaged #include "config.h" to #ifdef
2000-09-10  Bradford Hovinen  <hovinen@helixcode.com>

        * po/fr.po: Updated French translations
        * all: Chnaged #include "config.h" to #ifdef HAVE_CONFIG_H ...
        * *.desktop, *.directory: Updated French translations
        * po/POTFILES.in: Added screensaver XML files

        Courtesy of Christophe Merlet <c.merlet@agglo-pau.fr>
2000-09-10 12:57:17 +00:00
Bradford Hovinen
f4f9184388 Add XML cflags/libs
2000-08-23  Bradford Hovinen  <hovinen@helixcode.com>

	* capplets/wm-properties/Makefile.am (INCLUDES):
	(wm_properties_capplet_LDADD): Add XML cflags/libs

	* capplets/wm-properties/wm-properties-capplet.c (do_get_xml):
	(do_set_xml): Implement
	(main): Call do_{get|set}_xml() on --get and --set

	* capplets/wm-properties/wm-list.c (wm_read_from_xml):
	(wm_list_read_from_xml):
	(wm_write_to_xml):
	(wm_list_write_to_xml): Implement
2000-08-23 14:29:23 +00:00
Bradford Hovinen
5245e70454 Add XML cflags/libs
2000-08-18  Bradford Hovinen  <hovinen@helixcode.com>

	* capplets/keyboard-properties/Makefile.am (INCLUDES):
	(keyboard_properties_LDADD): Add XML cflags/libs

	* capplets/keyboard-properties/keyboard-properties.c
	(keyboard_read_from_xml):
	(keyboard_write_to_xml):
	(do_get_xml):
	(do_set_xml): Implement
	(main): Invoke do_get_xml() and do_set_xml() on --get and --set
2000-08-18 21:29:08 +00:00
Bradford Hovinen
10d433675f Only do combo box stuff if no_gui flag is not set (edit_read): If no_gui
2000-08-18  Bradford Hovinen  <hovinen@helixcode.com>

	* capplets/gnome-edit-properties/gnome-edit-properties.c
	(edit_read): Only do combo box stuff if no_gui flag is not set
	(edit_read): If no_gui flag set, search through possible_editors
	manually and set original_info.name that way

	* capplets/gnome-edit-properties/Makefile.am (INCLUDES):
	(gnome_edit_properties_capplet_LDADD): Add XML cflags/libs

	* capplets/gnome-edit-properties/gnome-edit-properties.c
	(edit_read_from_xml):
	(edit_write_to_xml):
	(do_get_xml):
	(do_set_xml): Implement
	(main): Call do_get_xml/do_set_xml when --get and --set passed

	* capplets/bell-properties/bell-properties.c (read_from_xml):
	Check if root node is correct before reading
2000-08-18 20:12:38 +00:00
Bradford Hovinen
1d7053c55a Added XML cflags/libs
2000-08-18  Bradford Hovinen  <hovinen@helixcode.com>

	* capplets/bell-properties/Makefile.am (INCLUDES):
	(bell_properties_capplet_LDADD): Added XML cflags/libs

	* capplets/bell-properties/bell-properties.c (do_get_xml):
	(do_set_xml): Implement.
	(main): Call above functions on --get and --set
	(read_from_xml):
	(write_to_xml): Implement
2000-08-18 19:32:01 +00:00
Bradford Hovinen
dd169482d6 Check for putenv and setenv and set appropriate macros in config.h
2000-08-18  Bradford Hovinen  <hovinen@helixcode.com>

	* configure.in: Check for putenv and setenv and set appropriate
	macros in config.h

2000-08-18  Bradford Hovinen  <hovinen@helixcode.com>

	* preview.c (setup_path): Use setenv only when available, try to
	use putenv otherwise
2000-08-18 19:13:07 +00:00