Commit graph

219 commits

Author SHA1 Message Date
Jose Maria Celorio
cef18c131f borders and fine tunning 2001-07-25 08:29:26 +00:00
Richard Hestilow
e88951ad3f Move capplet-launching code into an idle handler. Bonobo sucks like that.
2001-07-25  Richard Hestilow  <hestilow@ximian.com>

	* main.c (main): Move capplet-launching code into an idle handler.
	Bonobo sucks like that.

	* capplet-dir.c (capplet_activate): Remove the check for gnomecc,
	it was causing grief with bonobo. Story at 11.
2001-07-25 07:04:17 +00:00
Jose Maria Celorio
801b831ff4 Die mofo ! 2001-07-25 06:08:55 +00:00
Jose Maria Celorio
a77902df64 usize 2001-07-25 05:34:46 +00:00
Jose Maria Celorio
bc1bde4da4 usize 2001-07-25 04:25:15 +00:00
Chema Celorio
a3610b563b set the title of the window to "Gnome Control Center : foo"
2001-07-24  Chema Celorio  <chema@celorio.com>

	* capplet-dir-view.c (capplet_dir_view_load_dir): set the title
	of the window to "Gnome Control Center : foo"
2001-07-25 00:36:48 +00:00
Bradford Hovinen
6a86bc37a2 Set moniker property manually (capplet_control_launch): Remove double-free
2001-07-24  Bradford Hovinen  <hovinen@ximian.com>

	* capplet-dir.c (capplet_control_launch): Set moniker property
	manually
	(capplet_control_launch): Remove double-free of the moniker
	(capplet_control_launch): Release and unref the property control
	in the event of an error
	(capplet_control_launch): Conclude that the capplet is already
	running only when the exception type is
	Bonobo/Moniker/InterfaceNotFound
2001-07-24 21:07:24 +00:00
Bradford Hovinen
8b9b013e5b Set moniker property manually (capplet_control_launch): Remove double-free
2001-07-24  Bradford Hovinen  <hovinen@ximian.com>

	* capplet-dir.c (capplet_control_launch): Set moniker property
	manually
	(capplet_control_launch): Remove double-free of the moniker
	(capplet_control_launch): Release and unref the property control
	in the event of an error
2001-07-24 15:13:10 +00:00
Bradford Hovinen
02d668ce65 Don't connect the app's button signals if the app has just been destroyed
2001-07-23  Bradford Hovinen  <hovinen@ximian.com>

	* capplet-dir.c (capplet_control_launch): Don't connect the
	app's button signals if the app has just been destroyed
2001-07-23 23:03:00 +00:00
Bradford Hovinen
8d99fd960e Set InvalidValue exception if the program could not resolve the moniker
2001-07-23  Bradford Hovinen  <hovinen@ximian.com>

	* capplet-util.c (set_moniker_cb): Set InvalidValue exception if
	the program could not resolve the moniker

	* capplet-dir.c (capplet_control_launch): Put up an error dialog
	and abort the process if the capplet reports an error trying to
	resolve its moniker
2001-07-23 22:58:32 +00:00
Jose Maria Celorio
0ae3d29c91 1.5.0 here we go 2001-07-20 09:49:49 +00:00
Jose Maria Celorio
7404465cd2 yes, MORE comits from me.
WHy ?
cause i don't understand the auto* tools.

well, i thnk i do now
2001-07-20 07:35:02 +00:00
Bradford Hovinen
449c9fa6c1 Uncomment
2001-07-19  Bradford Hovinen  <hovinen@ximian.com>

	* Makefile.am (install-data-local): Uncomment
2001-07-20 03:30:59 +00:00
Richard Hestilow
e6e16f3c15 Change name to "Main".
2001-07-19  Richard Hestilow  <hestilow@ximian.com>

	* Gnome.directory.in.in: Change name to "Main".

	* capplet-dir.c (capplet_new): Return NULL if program
	is not accessible.

	* capplet-dir-view.c (sidebar_populate): Don't show a directory
	if it is empty.
2001-07-20 01:40:01 +00:00
Jose Maria Celorio
118317da3b make distcheck passes 2001-07-20 01:28:02 +00:00
Richard Hestilow
11c5ef7d46 Removed debugging spew.
2001-07-19  Richard Hestilow  <hestilow@ximian.com>

	* Removed debugging spew.

	* Removed most of the menu bar.

	* capplet-dir-view.c (about_menu_cb): Add Chema, jimmac, and myself
	to authors list.

	* capplet-dir-view-html.c (html_populate, html_write_row): Spacing
	fix.
2001-07-19 21:11:06 +00:00
Bradford Hovinen (Gdict maintainer)
4b40c52874 Added missing files to EXTRA_DIST, removed nonexistant files from POTFILES.in 2001-07-19 18:36:19 +00:00
Bradford Hovinen
2b80912c72 Don't give an error if the property control is NULL
2001-07-19  Bradford Hovinen  <hovinen@ximian.com>

	* capplet-dir.c (capplet_control_launch): Don't give an error if
	the property control is NULL
2001-07-19 17:39:47 +00:00
Richard Hestilow
4ae61c1c2e forgot to commit the pngs
2001-07-19  Richard Hestilow  <hestilow@ximian.com>

	* forgot to commit the pngs
2001-07-19 17:28:22 +00:00
Richard Hestilow
36c3c4ab3b New function to compute optimal number of columns. Try resizing, it's fun!
2001-07-19  Richard Hestilow  <hestilow@ximian.com>

	* capplet-dir-view-html.c (main_allocate_cb: New function to
	compute optimal number of columns. Try resizing, it's fun!
2001-07-19 16:39:02 +00:00
Bradford Hovinen
f28ecce3d2 Set the window title
2001-07-19  Bradford Hovinen  <hovinen@ximian.com>

	* capplet-dir-view.c (capplet_dir_view_load_dir): Set the window title
2001-07-19 13:46:50 +00:00
Chema Celorio
91fdb37ce2 remove Gnome.directory from here
2001-07-19  Chema Celorio  <chema@celorio.com>

	* Makefile.am: remove Gnome.directory from here

2001-07-19  Chema Celorio  <chema@celorio.com>

	* Makefile.am (ccenter_DATA): move Gnome.directory to here

2001-07-19  Chema Celorio  <chema@celorio.com>

	* POTFILES.in: remove Gnome.in since we use xml tools
2001-07-19 07:34:22 +00:00
Richard Hestilow
042c40c8da Remove annoying debugging output.
2001-07-18  Richard Hestilow  <hestilow@ximian.com>

	* capplet-dir.c (capplet_new): Remove annoying debugging output.

	* capplet-dir-view-html.c: Rewritten to use jimmac's new interface.

	* bcg_top.png, title.png, blank.png, active.png: Added.

	* Makefile.am (splash_DATA): Add new pixmap files.

	* gnomecc.glade: Remove ugly toolbar.

	* capplet-dir-view.[ch]: Remove toolbar-related code.
2001-07-19 03:16:35 +00:00
Jose Maria Celorio
ab0fef8323 Fix fix fix fix fix & clean stuff. With their changelog entries for your
pleasure.
2001-07-18 06:36:24 +00:00
Bradford Hovinen
9b494a3881 Explicitly unref the property control
2001-07-17  Bradford Hovinen  <hovinen@ximian.com>

	* capplet-dir.c (capplet_cancel_cb):
	(capplet_ok_cb): Explicitly unref the property control
2001-07-17 20:08:42 +00:00
Carlos Perell Marn
068c095238 Renamed to *.directory.in to be used with xml-i18n-tools. Renamed to
2001-07-14  Carlos Perell Marn <carlos@gnome-db.org>

        * *.directory: Renamed to *.directory.in to be used with
        xml-i18n-tools.
        * *.desktop: Renamed to *.desktop to be used with xml-i18n-tools.
        * *.glade: Modified to not generate the glade.h files.
        * *.glade.h: Removed.
        * Makefile.am: Modify to use xml-i18n-tools
        * configure.in: ditto.
        * autogen.sh: ditto, now we use the macros/autogen.sh

2001-07-14  Carlos Perell Marn <carlos@gnome-db.org>

        * .cvsignore: ssshhhh

2001-07-14  Carlos Perell Marn <carlos@gnome-db.org>

        * screensavers/*.xml: /s/label/_label, /s/low-label/_low-label/,
        /s/high-label/_high-label/: Changed to let xml-i18n-tools extract
        this labels.
        * extract-labels.c: Removed, now, we use xml-i18n-tools.
        * preferences.c: /s/label/_label, /s/low-label/_low-label/,
        /s/high-label/_high-label/: Changed to sync with the xml changes.
        * screensaver-prefs-dialog.c: ditto.

2001-07-16  Carlos Perell Marn <carlos@gnome-db.org>

        * no.po: Solved some conflicts with my patch.

2001-07-14  Carlos Perell Marn <carlos@gnome-db.org>

        * POTFILES.in: Updated to reflect the xml-i18n-tools use.
        * *.po: Added the .directory && .desktop translations.
        * update.*: Removed.
        * wa.po: Added.
        * es.po: Updated Spanish translation.
2001-07-16 17:04:18 +00:00
Bradford Hovinen
8459555f65 Return NULL in the case that the control is already present
2001-07-13  Bradford Hovinen  <hovinen@ximian.com>

	* capplet-util.c (create_dialog_cb): Return NULL in the case that
	the control is already present

	* capplet-dir.c (capplet_control_launch): Accept window_title
	parameter and use it as the title
	(capplet_activate): Pass entry->name to capplet_control_launch
	(capplet_control_launch): Don't print error and use correct test
	for control_ref == CORBA_OBJECT_NIL
2001-07-13 19:58:58 +00:00
Bradford Hovinen
fa695ff9ee Accept window_title parameter and use it as the title (capplet_activate):
2001-07-13  Bradford Hovinen  <hovinen@ximian.com>

	* capplet-dir.c (capplet_control_launch): Accept window_title
	parameter and use it as the title
	(capplet_activate): Pass entry->name to capplet_control_launch
2001-07-13 19:49:31 +00:00
Kai Lahmann
41255aeb6d On the way to get a NICE HTML view 2001-07-13 19:21:52 +00:00
Jacob Berkman
5fa0b14bd7 init gconf after oaf 2001-07-13 17:21:49 +00:00
jacob berkman
8ba458e12e initialize gconf if gtkhtml is gconf-enabled
2001-07-13  jacob berkman  <jacob@ximian.com>

	* main.c (main): initialize gconf if gtkhtml is gconf-enabled
2001-07-13 17:19:50 +00:00
Bradford Hovinen
3db03400d4 Fix position of capplet name in the Bonobo case (capplet_new): Don't abort
2001-07-12  Bradford Hovinen  <hovinen@ximian.com>

	* capplet-dir.c (capplet_activate): Fix position of capplet name
	in the Bonobo case
	(capplet_new): Don't abort if the entry says to run gnomecc
2001-07-12 21:06:24 +00:00
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