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
This commit is contained in:
Bradford Hovinen 2001-07-02 14:46:26 +00:00 committed by Bradford Hovinen (Gdict maintainer)
parent a72197926a
commit cd2f26923d
7 changed files with 87 additions and 12 deletions

View file

@ -61,10 +61,10 @@ main (int argc, char **argv)
capplet_dir_entry_activate
(CAPPLET_DIR_ENTRY (get_root_capplet_dir ()), NULL);
} else {
capplet_control_launch (capplet);
}
gtk_main ();
bonobo_main ();
return 0;
}