Commit graph

59 commits

Author SHA1 Message Date
Kai Lahmann
e10800015f .desktop fixCVS:
.desktop fixCVS: ----------------------------------------------------------------------
2001-07-10 22:02:42 +00:00
Bradford Hovinen
aaaf56e71c Removed rules pertaining to sound-properties
2001-07-05  Bradford Hovinen  <hovinen@ximian.com>

	* capplets/Makefile.am: Removed rules pertaining to
	sound-properties

	* capplets/sound-properties-capplet.c (set_moniker_cb): Change
	BonoboPropertyEditor to BonoboPEditor

	* configure.in: Update AC_INIT to use correct directory name
	(AC_OUTPUT): Update to current directory structure

	* Makefile.am (SUBDIRS): Update to current directory structure

	* capplets/Makefile.am (always_built_SUBDIRS): Updated to current
	directory structure

	* bonobo-moniker-archiver.c (archiver_resolve): Update call to
	Bonobo_ConfigDatabase_addDatabase

	* bonobo-config-archiver.h: Fix include directories

	* Makefile.am (INCLUDES): Update to use pkg-config standards; add
	BONOBO_CFLAGS
	Include configuration moniker-related material
	(SUBDIRS): Remove
	(bin_PROGRAMS): Added ximian-archiver

	* capplets/keyboard/prefs-widget.c (set_scale): Add appropriate casts

	* capplets/rollback/Makefile.am (INCLUDES):
	(rollback_capplet_LDADD): Update to include ximian_archiver stuff
	correctly
2001-07-05 17:27:44 +00:00
Richard Hestilow
70f3cc51cc Added. (prefs_widget_init): Connect to "Add" and "Remove"
2001-07-03  Richard Hestilow  <hestilow@ximian.com>

	* prefs-widget.c:
	  (add_select_cb, screensaver_add_cb, screensaver_remove_cb): Added.
	  (prefs_widget_init): Connect to "Add" and "Remove"

	* screensaver-prefs-dialog.c (get_basic_screensaver_widget): Replace
	confusing stuff with ultra-simple dialog.

	* screensaver-properties.glade[.h]: Remove "Demo" popup item, as it
	is on the settings dialogs and is not easy to manage with
	menu selection anyway. (Too much mouse movement).
2001-07-03 20:40:58 +00:00
Richard Hestilow
77d73e6a26 Added.
2001-07-03  Richard Hestilow  <hestilow@ximian.com>

	* screensaver-properties.glade[.h]: Added.

	* prefs-widget.[ch]: Complete rewrite.

	* Makefile.am: Add glade stuff.

	* main.c: Call glade_gnome_init.

	* pref-file.c: Restart xscreensaver on save.

	* screensaver-prefs-dialog.c (screensaver_prefs_dialog_new):
	Change g_strconcat to g_strdup_printf for i18n purposes.
2001-07-03 17:47:36 +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
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
6fb797ca6b Implement. Create a copy of a preferences structure (clone_cb): Implement
2001-05-06  Bradford Hovinen  <hovinen@ximian.com>

	* preferences.c (preferences_clone): Implement. Create a copy of a
	preferences structure
	(clone_cb): Implement
	(read_prefs_from_db): Parse screensavers from a copy of the string
	so that we don't overwrite the original

	* main.c (main): Call preferences_clone instead of reloading old
	preferences
2001-05-06 17:33:27 +00:00
Bradford Hovinen
7bfddd30e4 Fix segv
2001-05-05  Bradford Hovinen  <hovinen@ximian.com>

	* prefs-widget.c (one_screensaver_cb): Fix segv

	* screensavers/*.xml: Added test attribute to monochrome setting
2001-05-05 19:16:21 +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
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
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
Marius Andreiana
2072d3aa96 added ro (Romanian) translation 2001-01-26 15:10:22 +00:00
Bradford Hovinen
990862633d Implement; copy from background-properties-capplet (ok_cb): Call
2001-01-25  Bradford Hovinen  <hovinen@ximian.com>

	* main.c (store_archive_data): Implement; copy from
	background-properties-capplet
	(ok_cb): Call store_archive_data
2001-01-25 18:09:00 +00:00
Andraz Tori
d2e51396f5 Updated sl translations 2001-01-22 11:36:48 +00:00
Andraz Tori
06ed5ab87f Updated sl translations 2001-01-21 23:04:27 +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
6829db0eb3 Fixed compilation warnings: removed unused variables, initialized
2000-12-16  Bradford Hovinen  <hovinen@helixcode.com>

	* all: Fixed compilation warnings: removed unused variables,
	initialized variables properly, returned default values
	* selection-dialog.c (get_known_savers): Return list_head when done
	* resources.c: Include ctype.h
2000-12-17 00:32: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
fae7e29e13 Add missing _() around label strings
2000-10-28  Bradford Hovinen  <hovinen@helixcode.com>

	* screensaver-prefs-dialog.c (get_spinbutton):
	(get_check_button):
	(get_select_widget):
	(get_file_entry):
	(get_entry):
	(place_number): Add missing _() around label strings
2000-10-28 17:23:13 +00:00
Bradford Hovinen (Gdict maintainer)
18ea732ecf From John B Tunison <jtunison@andrew.cmu.edu>:
Added xml files resulting from conversions from old .desktop files
2000-10-22 20:21:02 +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
Bradford Hovinen
6ac6997216 Added rorschach.xml[.h]
2000-10-14  Bradford Hovinen  <hovinen@helixcode.com>

	* screensavers/Makefile.am (Screensavers_DATA):
	(screensavers_msgs): Added rorschach.xml[.h]

	* screensaver-prefs-dialog.c (write_boolean): Return the attribute
	arg-unset if the toggle button is inactive
2000-10-14 16:05:59 +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
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
650b11cd19 Implement (show_screensaver): Call fix_arguments to handle quoted strings
2000-10-08  Bradford Hovinen  <hovinen@helixcode.com>

	* preview.c (fix_arguments): Implement
	(show_screensaver): Call fix_arguments to handle quoted strings in
 	the command line
2000-10-08 18:56:27 +00:00
Bradford Hovinen
ed727e990f Enable selection for text and bitmap, Set neg_size same-as to pos_size
2000-10-07  Bradford Hovinen  <hovinen@helixcode.com>

	* screensavers/flag.xml: Enable selection for text and bitmap,
	Set neg_size same-as to pos_size
2000-10-07 17:28:11 +00:00
Bradford Hovinen
daea41824d Set set->enabled (write_boolean): (write_number): (write_select):
2000-10-07  Bradford Hovinen  <hovinen@helixcode.com>

	* screensaver-prefs-dialog.c (set_widgets_sensitive): Set
 	set->enabled
	(write_boolean):
	(write_number):
	(write_select):
	(write_string): Write only if the enabled flag is set
	(get_spinbutton):
	(get_check_button):
	(get_select_widget):
	(get_file_entry):
	(get_entry):
	(place_number):
	(place_hgroup):
	(populate_table): Set set->enabled
	(read_boolean):
	(read_number):
	(read_select):
	(read_string): Don't set the value if the set is an alias and not
 	enabled
	(read_number):
	(read_string): Set value to default if not supplied
	(read_command_line): Accept argument as negative number if it is a
 	-<digit>

	* screensaver-prefs-dialog.h (struct _PrefsDialogWidgetSet): Add
 	member enabled - TRUE iff the widget is enabled

	* screensaver-prefs-dialog.c (free_set_cb): Don't try to free the
 	widgets if the set is an alias
	(get_spinbutton):
	(get_check_button):
	(get_select_widget):
	(get_file_entry):
	(get_entry):
	(place_number):
	(place_hgroup):
	(populate_table): Set set->alias

	* screensaver-prefs-dialog.h (struct _PrefsDialogWidgetSet): Add
 	member alias - TRUE means don't try to free widgets

	* screensaver-prefs-dialog.c (get_entry): Have entry expand, not label

	* screensavers/flag.xml: Enable selection for text and bitmap,
	Set neg_size same-as to pos_size

	* screensaver-prefs-dialog.c (place_hgroup): Add feature to allow
	multiple widget definitions to share the same widget
2000-10-07 17:27:40 +00:00
Bradford Hovinen
b7230135aa Support files (place_entry): Allow getting a file entry or a string entry
2000-10-07  Bradford Hovinen  <hovinen@helixcode.com>

	* screensaver-prefs-dialog.c (write_command_line): Support files
	(place_entry): Allow getting a file entry or a string entry
	(populate_table): Support files
	(get_file_entry): Implement. Return a set for a GnomeFileEntry
	(read_string): Support files
	(place_screensaver_properties): Support files
2000-10-07 16:30:26 +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
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 (Gdict maintainer)
497f8ee387 Fixed some typos with include directories 2000-09-16 20:33:17 +00:00
Bradford Hovinen (Gdict maintainer)
d4848e9baa Output Makefiles for new capplets; fix typo in one Makefile.am 2000-09-11 12:15:39 +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
Simos Xenitellis
8107aacb4b Added Greek translations 2000-09-01 19:54:42 +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
Stanislav Brabec
87f2fbb3e6 Fix building in separate directory. 2000-08-17 19:20:50 +00:00
Bradford Hovinen
e8f3f6efef Added missing entries stored in gnome-config rather than .xscreensaver
2000-08-16  Bradford Hovinen  <hovinen@helixcode.com>

	* preferences.c (preferences_write_xml):
	(preferences_read_xml): Added missing entries stored in
	gnome-config rather than .xscreensaver
	(screensaver_read_xml): Disable screensaver by default
	(preferences_write_xml): Cast values to ints before passing to
	g_strdup_printf
2000-08-16 23:00:31 +00:00
Bradford Hovinen
d24a6c7b67 Add support for --get and --set to cap_options (gnome_capplet_init): Add
2000-08-16  Bradford Hovinen  <hovinen@helixcode.com>

	* capplet-widget.c: Add support for --get and --set to cap_options
	(gnome_capplet_init): Add return values 3 for --get and 4 for --set

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

	* rc-parse.c (write_screensaver_list): Don't try to write string
	if the screensaver has no command line

	* main.c (main): Register Popt table containing get and set
	options; call do_get_xml and do_set_xml when necessary
	(do_get_xml):
	(do_set_xml): Implement
2000-08-16 22:40:02 +00:00
Bradford Hovinen
a92e2e6423 Remove extraneous precondition check (read_command_line): Rewrote to
2000-08-16  Bradford Hovinen  <hovinen@helixcode.com>

	* screensaver-prefs-dialog.c (get_select_widget): Remove
	extraneous precondition check
	(read_command_line): Rewrote to support quoted strings in the
	command line

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

	* screensaver-prefs-dialog.c (write_command_line): Use flag free_v
	to determine whether to free data; add support for strings
	(write_string): Implement. Analagous to write_*
	(populate_table): Add support for strings
	(place_entry):
	(get_entry): Implement
	(place_screensaver_properties): Add support for strings
	(read_string): Implement
	(read_select):
	(write_select): Skip over nodes that don't have id attributes
2000-08-16 15:31:08 +00:00
Bradford Hovinen (Gdict maintainer)
755dfdbe04 Added missing extract-labels.c 2000-08-14 15:04:00 +00:00
Bradford Hovinen
6b4d87b2fe Remove extraneous whitespace and replace tabs with spaces
2000-08-10  Bradford Hovinen  <hovinen@helixcode.com>

	* resources.c (screensaver_get_desc_from_xrdb): Remove extraneous
	whitespace and replace tabs with spaces
2000-08-10 15:34:00 +00:00
Bradford Hovinen
ce4b140d24 Added ant.xml, bsod.xml, compass.xml, and flag.xml (courtesy of James
2000-08-10  Bradford Hovinen  <hovinen@helixcode.com>

	* screensavers/Makefile.am (Screensavers_DATA): Added ant.xml,
	bsod.xml, compass.xml, and flag.xml (courtesy of James Antill
	<james@and.org>)
2000-08-10 14:51:00 +00:00
Bradford Hovinen
f03d61be34 Fix memory leak (read_select): Disable all widgets associated with
2000-08-10  Bradford Hovinen  <hovinen@helixcode.com>

	* screensaver-prefs-dialog.c (write_command_line): Fix memory leak
	(read_select): Disable all widgets associated with unselected
	nodes before enabling those associated with selected one
	(read_select): Don't iterate through menu items
	(read_number): Don't crash if person used bad argument
2000-08-10 14:38:31 +00:00
Bradford Hovinen
ffc4063431 Have string -> boolean conversion always convert to FALSE
2000-08-10  Bradford Hovinen  <hovinen@helixcode.com>

	* expr.c (int_parse_atom): Have string -> boolean conversion
	always convert to FALSE
	(int_parse_factor): Set result to boolean TRUE when symbol of
	value 1 encountered.
2000-08-10 13:15:25 +00:00
Bradford Hovinen
b83773c0f4 Map window before showing screensaver (close_preview): Unmap window after
2000-08-10  Bradford Hovinen  <hovinen@helixcode.com>

	* preview.c (show_preview): Map window before showing screensaver
	(close_preview): Unmap window after killing screensaver
2000-08-10 12:21:00 +00:00