Commit graph

187 commits

Author SHA1 Message Date
Bradford Hovinen
858feb0824 Make full moniker (apply_settings): Release the return value (main):
2001-07-10  Bradford Hovinen  <hovinen@ximian.com>

	* sound-properties-capplet.c (set_moniker_cb): Make full moniker
	(apply_settings): Release the return value
	(main): Support --get-legacy option
	(get_legacy_settings): Implement
	(create_control_cb): Connect apply_cb
	(COPY_FROM_LEGACY): Use bonobo_config_set_...
	(main): Open config database regardless of what operation is
	requested; pass to create_control callback
	(apply_settings): Use bonobo_config_get_...
	(get_legacy_settings):
	(apply_settings): Don't accept CORBA_Environment *ev any more
	(create_control_cb): Store the config database in the property control
	(apply_settings): Use the correct setting name
	(apply_cb): Apply settings and sync
	(apply_settings): Kill esd when requested

	* capplet-dir.c (capplet_ok_cb): Notify property control of apply
	action
	(capplet_control_launch): Store PropertyControl in app
2001-07-10 18:27:43 +00:00
Bradford Hovinen
3fb617283b Update installation directory
2001-07-09  Bradford Hovinen  <hovinen@ximian.com>

	* Makefile.am (gladedir): Update installation directory
2001-07-09 21:22:47 +00:00
Bradford Hovinen
f6e592264e Add g_return_if_fail macros
2001-07-09  Bradford Hovinen  <hovinen@ximian.com>

	* capplet-dir-view.c (capplet_dir_view_show): Add g_return_if_fail
	macros
2001-07-09 21:19:24 +00:00
Bradford Hovinen
2c2fafbaad Use bonobo_object_unref rather than gtk_object_destroy
2001-07-09  Bradford Hovinen  <hovinen@ximian.com>

	* bonobo-config-archiver.c (bonobo_config_archiver_new): Use
	bonobo_object_unref rather than gtk_object_destroy

	* bonobo-moniker-archiver.c (archiver_resolve): Allow PropertyBag
	interface as well
	(parse_name): Set *location to NULL when there is no location

	* sound-properties.xml: Use 0 and 1 rather than true and false

	* capplet-dir.c (capplet_control_launch): Don't convert underscores
	to dashes in moniker
2001-07-09 19:56:27 +00:00
Bradford Hovinen
c09362e12a Use .gnome/capplet-archive rather than .gnome/control-center
2001-07-09  Bradford Hovinen  <hovinen@ximian.com>

	* archive.c (archive_load): Use .gnome/capplet-archive rather than
	.gnome/control-center

	* sound-properties-capplet.c (create_control_cb): Implement
	(main): Use create_control_cb

	* Bonobo_Control_Capplet_sound_properties.oaf: Use PropertyControl
	interface

	* sound-properties-capplet.c (create_dialog_cb): Update signature
	for use as a BonoboPropertyControlGetControlFn

	* capplet-dir.c (capplet_control_launch): Create a control by
	first retrieving the PropertyControl and then extracting the
	control from it
	(capplet_control_launch): Connect button signals
	(capplet_cancel_cb): Implement. Just destroy the app widget
	(capplet_ok_cb): Ditto.
	(capplet_control_launch): Don't use a BonoboArg when setting the
	property
2001-07-09 18:36:10 +00:00
Bradford Hovinen
299c4ed6f4 Try to load the defaults file if no rollback data can be found
2001-07-09  Bradford Hovinen  <hovinen@ximian.com>

	* bonobo-config-archiver.c (bonobo_config_archiver_new): Try to
	load the defaults file if no rollback data can be found

	* capplets/sound/Makefile.am (defaults_DATA): Add sound-properties.xml
	(EXTRA_DIST): Add defaults_DATA

	* control-center/Makefile.am (INCLUDES): Update directory locations
2001-07-09 16:46:31 +00:00
Bradford Hovinen
9d08d7b15e Terminate the list of properties to set
2001-07-09  Bradford Hovinen  <hovinen@ximian.com>

	* capplet-dir.c (capplet_control_launch): Terminate the list of
	properties to set
2001-07-09 14:03:26 +00:00
Bradford Hovinen
3e3422d465 Use GnomeDialog rather than BonoboWindow (capplet_control_launch): Use
2001-07-03  Bradford Hovinen  <hovinen@ximian.com>

	* capplet-dir.c (capplet_control_launch): Use GnomeDialog rather
	than BonoboWindow
	(capplet_control_launch): Use bonobo_widget_set_property for simplicity
	(capplet_control_launch): Eliminate goto statement with an if...else clause
2001-07-03 20:29:56 +00:00
Bradford Hovinen
0e31da4c76 Use GnomeDialog rather than BonoboWindow
2001-07-03  Bradford Hovinen  <hovinen@ximian.com>

	* capplet-dir.c (capplet_control_launch): Use GnomeDialog rather
	than BonoboWindow

	* archiver/Makefile.am (bonobo_moniker_archiver_LDADD): Use @...@
	rather than $(...) for pkg-config's sake
2001-07-03 19:18:51 +00:00
Bradford Hovinen
8496ca47a5 Connect destroy signal on capplet window to gtk_main_quit
2001-07-03  Bradford Hovinen  <hovinen@ximian.com>

	* main.c (main): Connect destroy signal on capplet window to
	gtk_main_quit

	* capplet-dir.c (capplet_control_launch): Return pointer to
	BonoboWindow

	* main.c (main): Check return value of capplet_control_launch

	* capplet-dir.c (capplet_control_launch): Use goto to make sure
	all data structures are freed
2001-07-03 17:18:50 +00:00
Bradford Hovinen
cd2f26923d Use bonobo_arg_... functions
2001-07-02  Bradford Hovinen  <hovinen@ximian.com>

	* capplet-dir.c (capplet_control_launch): Use bonobo_arg_... functions

	* main.c (main): Call capplet_control_launch if capplet was specified on CLI
	Use bonobo_main rather than gtk_main

	* capplet-dir.c (capplet_control_launch): Fix to use Bonobo_Property_setValue
	(capplet_activate): Support capplet_control_launch; use strlen(...) rather than hardcoding length
	(capplet_control_launch): Replace '-' characters with underscores

Added OAF info file for experimental sound properties capplet
2001-07-02 14:46:26 +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
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
Marius Andreiana
2072d3aa96 added ro (Romanian) translation 2001-01-26 15:10:22 +00:00
Jason Leach
50d88decfb Forgot a trailing backslash so GNOMECC_CFLAGS wasn't actually being used.
2001-01-24  Jason Leach  <jasonleach@usa.net>

	* Makefile.am (INCLUDES): Forgot a trailing backslash so
	GNOMECC_CFLAGS wasn't actually being used.  It is now.
2001-01-25 01:00:30 +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
75190d8758 Cleaned out kruft and replaced it with GNOMECC_CFLAGS (gnomecc_LDADD):
2001-01-24  Bradford Hovinen  <hovinen@ximian.com>

	* Makefile.am (INCLUDES): Cleaned out kruft and replaced it with
	GNOMECC_CFLAGS
	(gnomecc_LDADD): Ditto
2001-01-24 15:00:26 +00:00
Andraz Tori
06ed5ab87f Updated sl translations 2001-01-21 23:04:27 +00:00
Jacob Berkman
8f82d4428c fix up some icon foo 2000-12-29 19:54:09 +00:00
Jacob "Ulysses" Berkman
4ae300397d call the real gnome-libs API rather than my hacked one
2000-12-27  Jacob "Ulysses" Berkman  <jacob@helixcode.com>

	* capplet-dir-view-list.c (list_populate): call the real
	gnome-libs API rather than my hacked one

	* capplet-dir.c (start_capplet_through_root_manager): pass the
	correct path ($prefix/sbin/<tool>) to the root-manager
	(capplet_activate): check that the Exec line begins with
	root-manager rather than root-manager-helper (for now)
2000-12-27 20:33:41 +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
jjranta
a31974f90f Added or updated fi-entry to about all .desktop-files. Updated fi.po 2000-11-11 13:01:41 +00:00
Jorge Godoy
14f94182c1 updating some pt_BR <ricardo@conectiva.com.br>
any problem, just tell me, and i reverse the commit.
2000-10-26 20:08:05 +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
Hans Petter
2c8e9b7ccd Fixed spawning with root-manager. 2000-10-02 20:16:21 +00:00
Kjartan Maraas
f5d986cff6 Quiet CVS 2000-09-29 12:39:27 +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
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 (Gdict maintainer)
b3b4f290e8 Changed SETTINGS_DIR to $(datadir)/control-center 2000-09-04 15:42:33 +00:00
Simos Xenitellis
8911b93438 Updated all Greek translations plus minor en_GB typos 2000-09-02 09:52:53 +00:00
Stanislav Brabec
87f2fbb3e6 Fix building in separate directory. 2000-08-17 19:20:50 +00:00
Bradford Hovinen (Gdict maintainer)
c5fc7bcce3 Added missing glade file 2000-08-14 15:03:09 +00:00
Bradford Hovinen (Gdict maintainer)
e1fd517e64 Added missing preferences.[ch] 2000-08-14 15:02:55 +00:00
Bradford Hovinen (Gdict maintainer)
7437ead3c6 Fixed some distribution problems 2000-08-14 14:56:27 +00:00
Bradford Hovinen (Gdict maintainer)
1cda85f92d Update Makefile.am's for capplets to use libcapplet/ directory
Rewrote most of gnomecc
2000-08-11 19:17:30 +00:00
Bradford Hovinen (Gdict maintainer)
5eeb2d20a6 New control center implementation 2000-08-01 20:22:57 +00:00