2002-02-11  Mark McLoughlin  <mark@skynet.ie>

	* Makefile.am: dist the glade files.

2002-02-11  Kjartan Maraas  <kmaraas@gnome.org>

	* panel-applet.c: #include <config.h>

2002-02-11  Mark McLoughlin  <mark@skynet.ie>

	* panel-applet.c: (panel_applet_associate_schemas_in_dir),
	(panel_applet_add_preferences): use client->engine to stop
	gconf spewing warnings. Thanks to Gediminas Paulauskas.

2002-02-11  Mark McLoughlin  <mark@skynet.ie>

	* panel-applet.c:
	(panel_applet_handle_background_string): impl method to unify
	background string parsing.
	(panel_applet_get_background), (panel_applet_set_prop): use it.

2002-02-09  Mark McLoughlin  <mark@skynet.ie>

	* panel-test-applets.c, panel-test-applets.glade: little applet
	testing utility.

	* Makefile.am: add rules to build panel-test-applets and glade2 file.

2002-02-09  Mark McLoughlin  <mark@skynet.ie>

	* test-bonobo-applet.c: test inheriting from PanelApplet
	actually works.

	* panel-applet.c: (panel_applet_factory_main_closure),
	(panel_applet_shlib_factory_closure): error out if applet_type
	isn't derived from PanelApplet.

2002-02-09  Mark McLoughlin  <mark@skynet.ie>

	* panel-applet.c: (panel_applet_associate_schemas_in_dir),
	(panel_applet_add_preferences): use GConfClient where possible.
	Still stuck with using gconf_engine_associate_schema, though.

2002-02-09  Mark McLoughlin  <mark@skynet.ie>

	* panel-applet.[ch]: (panel_applet_factory_main),
	(panel_applet_factory_main_closure), (panel_applet_shlib_factory),
	(panel_applet_shlib_factory_closure): add applet_type arg.
	(panel_applet_callback_data_new), (panel_applet_callback_data_free):
	wrap the closure and applet type up for callback.

	* GNOME_Panel_TestApplet.server.in: move to Vertigo namespace.

	* test-bonobo-applet.c: update for factory macro change.

2002-02-09  Mark McLoughlin  <mark@skynet.ie>

	* panel-applet-shell (impl_PanelAppletShell_getExpandFlags): kill.

	* panel-applet.[ch]:
	(panel_applet_get_expand_flags): rename to panel_applet_get_flags.
	(panel_applet_set_expand_flags): rename to panel_applet_set_flags.
	(panel_applet_get_prop), (panel_applet_property_bag): add flags
	property.
	(panel_applet_item_handle_get_object): add background, orient 
	and size items.

Fri Feb 08 15:16:50 2002  George Lebl <jirka@5z.com>

	* panel-applet.[ch]: Implement panel_applet_get_background so
	  that we can get the initial background on applet construction.

2002-02-08  Mark McLoughlin  <mark@skynet.ie>

	* panel-applet-gconf.c: (panel_applet_gconf_get_full_key): fix
	leak.

2002-02-06  Padraig O'Briain <padraig.obriain@sun.com>

	* panel-applet.c:
	Add panel_applet_focus() which causes a widget within an applet to 
	receive focus, if such exists, when focus is moved to applet. The
	GTK_CAN_FOCUS flag is set for an applet only if no widget in the
	applet can receive focus.

2002-02-04  jacob berkman  <jacob@ximian.com>

	* Makefile.am: our object files require the built sources

2002-02-04  Padraig O'Briain <padraig.obriain@sun.com>

	* panel-applet.c: Set GTK_CAN_FOCUS flag for PanelApplet; add
	panel_applet_expose() to draw focus indicator when PanelApplet has
	focus; connect to popup_menu_signal to display context menu when
	Shift+F10 is pressed. Call bonobo_control_do_popup_menu() when 
	popping up context menu from keyboard to allow its position to be
	corrected from pointer position to applet position. 
	
2002-01-28  Glynn Foster <glynn.foster@sun.com>

	* Makefile.am: Change to use different CFLAGS so we don't 
	link against non-used libraries.

2002-01-17  Mark McLoughlin  <mark@skynet.ie>

	* panel-applet-gconf.c:
	* panel-applet.c: fixup preconditions.

	* test-bonobo-applet.c:
	* (test_applet_handle_background_change): fix silly.

2002-01-12  Alexander Larsson  <alla@lysator.liu.se>

	* panel-applet-gconf.[hc]:
	Export panel_applet_gconf_get_full_key() as this is quite
	usefull for applets.

2002-01-11  Mark McLoughlin  <mark@skynet.ie>

	* panel-applet.c: (panel_applet_associate_schemas_in_dir):
	fix leaks.

2002-01-11  Glynn Foster  <glynn.foster@sun.com>

	* panel-applet.c, panel-applet.h, test-bonobo-applet.c: Do what 
	I was supposed to be doing before..but this time for real.
	s/backgound/background.

2002-01-11  Glynn Foster  <glynn.foster@sun.com>

	* panel-applet.c: (panel_applet_set_prop): s/backgound/background

2002-01-09  Mark McLoughlin  <mark@skynet.ie>

	* panel-applet.c:
	(panel_applet_parse_pixmap_str): fix silly.
	(panel_applet_get_pixmap): create a new GC.
	(panel_applet_set_prop): unref the pixmap.
	(panel_applet_class_init): update signal param type.

	* test-bonobo-applet.c:
	(test_applet_handle_background_change): add a test to
	demonstrate that this doesn't work yet.

2002-01-08  Mark McLoughlin  <mark@skynet.ie>

	Implement the applet side of the pixmap background stuff.

	* panel-applet.[ch]: (panel_applet_finalize): free background.
	(panel_applet_parse_pixmap_str), (panel_applet_get_pixmap): impl
	parsing of pixmap string and copying pixmap area.
	(panel_applet_set_prop): update for pixmap changes.
	(panel_applet_class_init): update background-changed signal.

	* panel-applet-marshal.list: change VOID:ENUM,POINTER,STRING to
	VOID:ENUM,POINTER,OBJECT.

2002-01-08  Mark McLoughlin  <mark@skynet.ie>

	* TODO: add pixmap bacground todo.

	* panel-applet.c: (panel_applet_associate_schemas_in_dir):
	fix horked error checking.

2002-01-04  Glynn Foster  <glynn.foster@sun.com>

	* panel-applet-gconf.h: Remove include of ghash.h. Not needed.

2002-01-04  Mark McLoughlin  <mark@skynet.ie>

	* panel-applet.c: (panel_applet_factory_main_closure),
	(panel_applet_factory_main), (panel_applet_shlib_factory_closure),
	(panel_applet_shlib_factory): fix precondition FIXMEs.

Thu Jan 03 12:48:23 2002  George Lebl <jirka@5z.com>

	* panel-applet.[ch]: mvoe gnome_program_init into the macro and
	  remove unused parameters from the main functions.  though applets
	  using the macro should see no difference and I don't think anyone
	  used the main functions directly.

Thu Dec 27 23:30:15 2001  George Lebl <jirka@5z.com>

	* Makefile.am: fix including of marshal header file in the .c file

	* panel-applet-masrhal.list, panel-applet.[ch]: Use actual GClosure
	  inside the code and add closure types of main methods.  This
	  way we also no longer look at out of scope local vars which has
	  a fun effect on shlib applets.

2001-12-20  Mark McLoughlin  <mark@skynet.ie>

	Implement applet preferences handling in gconf. Applets should
	install schemas without any applytos. The schemas will be associated
	with the actual keys when we know where the applet should store its
	preferences.

	* panel-applet-gconf.[ch]: (panel_applet_gconf_get_full_key),
	(panel_applet_gconf_set_bool), (panel_applet_gconf_set_int),
	(panel_applet_gconf_set_string), (panel_applet_gconf_set_float),
	(panel_applet_gconf_set_value), (panel_applet_gconf_get_bool),
	(panel_applet_gconf_get_int), (panel_applet_gconf_get_string),
	(panel_applet_gconf_get_float), (panel_applet_gconf_get_value):
	impl convenience functions.

	* panel-applet.[ch]: (panel_applet_associate_schemas_in_dir),
	(panel_applet_add_preferences): impl associating a directory full
	of schemas with the appropiate keys in the applets preferences
	directory.
	(panel_applet_get_preferences_key), (panel_applet_get_expand_flags),
	(panel_applet_set_expand_flags), (panel_applet_get_size),
	(panel_applet_get_orient): improve error checking.
	(panel_applet_control_bound): cache the prefs dir.

	* Makefile.am: add panel-applet-gconf.[ch].

	* TODO: knock this off the todo list :-)

2001-12-19  Mark McLoughlin  <mark@skynet.ie>

	* TODO: new file.

2001-12-17  Mark McLoughlin  <mark@skynet.ie>

	Turn the thing on its head. We now have a BonoboItemHandler
	so that prefs_key can be set before we start constructing 
	our widgetry. Unfortunately this means api changes.

	* panel-applet.h:
	(panel_applet_new): kill widget arg.
	(panel_applet_construct): ditto.
	(panel_applet_get_global_key): kill.
	(panel_applet_get_private_key): kill.
	(panel_applet_get_preferences_key): impl.
	(panel_applet_factory_main): change callback to a
	PanelAppletFactoryCallback.
	(panel_applet_shlib_factory): impl.

	* panel-applet.c:
	(panel_applet_get_preferences_key): impl.
	(panel_applet_finalize): free private_key and iid.
	(panel_applet_control_bound): impl. Invoked when the control
	is bound to a control frame. ItemHandler will have been
	invoked at this stage if there are any args.
	(panel_applet_item_handler_get_object): impl ItemHandler func.
	This handles the setting of prefs_key as the applet is being
	loaded.
	(panel_applet_instance_init), (panel_applet_construct):
	(panel_applet_new): upd.
	(panel_applet_factory_callback): impl our
	BonoboFactoryCallback.
	(panel_applet_factory_main): upd.
	(panel_applet_shlib_factory): impl.

	* test-bonobo-applet.c:
	(test_applet_fill): rename from test_applet_new and upd.
	(test_applet_factory): upd for api changes.

2001-12-14  Alex Larsson  <alexl@redhat.com>

	* panel-applet.c (panel_applet_parse_color):
	Make colors 4 chars per channel, they are 16bit.

2001-12-14  Mark McLoughlin  <mark@skynet.ie>

	* panel-applet-shell.c:
	(impl_PanelAppletShell_saveYourself): kill.
	(panel_applet_shell_class_init): upd.

	* panel-applet.[ch], panel-applet-private.h: 
	(panel_applet_save_yourself): kill.
	(panel_applet_class_init): kill "save_yuorself" signal.

2001-12-14  Mark McLoughlin  <mark@skynet.ie>

	* panel-applet-shell.[ch], panel-applet.[ch],
	  test-bonobo-applet.c: move to our reserved GNOME_Vertigo
	  namespace.

2001-12-07  Mark McLoughlin  <mark@skynet.ie>

	* panel-applet-shell.c: (impl_PanelAppletShell_getExpandFlags):
	remove consts from args.

	* panel-applet.h: add macro for completeness.

2001-12-04  Alex Larsson  <alexl@redhat.com>

	* panel-applet-shell.c:
	(impl_PanelAppletShell_getExpandFlags): impl
	(panel_applet_shell_class_init): Add above
	
	* panel-applet.[ch]: (panel_applet_get_expand_flags,
	panel_applet_set_expand_flags): new functions

2001-11-30  Mark McLoughlin  <mark@skynet.ie>

	* panel-applet-marshal.list: kill VOID:STRING,STRING.

	* panel-applet.c:
	(panel_applet_get_global_key): impl.
	(panel_applet_get_private_key): impl.
	(panel_applet_save_yourself): upd.
	(panel_applet_finalize): free keys.
	(panel_applet_class_init): upd.
	(panel_applet_new): return a GtkWidget.

	* test-bonobo-applet.c:
	(test_applet_handle_save_yourself): upd.

2001-11-30  Mark McLoughlin  <mark@skynet.ie>

	* libpanelapplet-2.0.pc.in: fixup.

2001-11-30  Mark McLoughlin  <mark@skynet.ie>

	* GNOME_Panel_TestApplet.server.in: add icon.

	* test-bonobo-applet.c:
	(test_applet_handle_save_yourself): impl.
	(test_applet_new): connect to "save_yourself".

2001-11-30  Mark McLoughlin  <mark@skynet.ie>

	* panel-applet-marshal.list: add VOID:STRING,STRING.

	* panel-applet-private.h: add panel_applet_save_yourself.

	* panel-applet-shell.c:
	(impl_PanelAppletShell_saveYourself), impl.
	(panel_applet_shell_class_init): upd.

	* panel-applet.c:
	(panel_applet_save_yourself): impl.
	(panel_applet_class_init): set up "save_yourself" signal.

	* panel-applet.h: upd.

2001-11-30  Mark McLoughlin  <mark@skynet.ie>

	* panel-applet.h: make panel_applet_new return
	a GtkWidget.

2001-11-30  Mark McLoughlin  <mark@skynet.ie>

	* panel-applet.c: (panel_applet_construct): remove
	  lame gtk_widget_show_all. applets should show
	  themselves.

2001-11-30  Mark McLoughlin  <mark@skynet.ie>

	* panel-applet.[ch]: (panel_applet_get_size),
	(panel_applet_get_orient): new accessor methods.

2001-11-28  Alex Larsson  <alexl@redhat.com>

	* panel-applet.c (panel_applet_button_press):
	Return TRUE if handled popup. This removes the double
	popup menu bug.

2001-11-27  Mark McLoughlin  <mark@skynet.ie>

	* Makefile.am: include panel-applet-marshal.h in
	  panel-applet-marshal.c. Not a very pretty hack.

2001-11-27  Mark McLoughlin  <mark@skynet.ie>

	* *.*: Move from $(top_srcdir)/panel.

