-
Mark McLoughlin authored
2002-04-17 Mark McLoughlin <mark@skynet.ie> * applet.c: (applet_do_popup_menu): return FALSE if its a bonobo applet. (applet_button_press): always return FALSE if its not handled. * panel-applet-frame.c: (panel_applet_frame_get_flags): impl helper method. (panel_applet_frame_get_expand_flags): use it here. (panel_applet_frame_change_orient): don't set orient and resize unless the orient has actually changed. (panel_applet_frame_finalize): release the AppletShell. (panel_applet_frame_class_init): hook up new methods. (panel_applet_frame_instance_init): initialise new members. (panel_applet_frame_get_applet_shell): switch this back on. (panel_applet_frame_construct): use it here. (panel_applet_frame_paint), (panel_applet_frame_expose), (panel_applet_frame_size_request), (panel_applet_frame_size_allocate), (button_event_in_rect), (panel_applet_frame_button_changed): implement a handle on the AppletFrame. Adapted from Havoc's FooHandle. 2002-04-17 Mark McLoughlin <mark@skynet.ie> * Makefile.am, handlebin.[ch]: kill FooHandle. * tasklist.c: (applet_change_orient), (applet_size_request), (fill_tasklist_applet): kill handle and set HAS_HANDLE flag on the applet. 2002-04-17 Mark McLoughlin <mark@skynet.ie> * GNOME_Panel.idl: add popup_menu method to PanelAppletShell. 2002-04-17 Mark McLoughlin <mark@skynet.ie> * panel-applet-private.h: add _panel_applet_popup_menu. * panel-applet-shell.c: (impl_PanelAppletShell_popup_menu), (panel_applet_shell_class_init): impl AppletShell::popup_menu. * panel-applet.c: (_panel_applet_popup_menu): rename to indicate that it is private. (panel_applet_setup): upd. * panel-applet.h: add HAS_HANDLE flag. * test-bonobo-applet.c: (test_applet_fill): test the new flag.
f8d55383