From 22bf87253ddffa6a7225ecaad60c15cd0815c974 Mon Sep 17 00:00:00 2001 From: Marco Pesenti Gritti Date: Fri, 25 Apr 2003 11:40:44 +0000 Subject: Update from egg 2003-04-25 Marco Pesenti Gritti * data/ui/epiphany-toolbar.xml.in: * lib/egg/Makefile.am: * lib/egg/egg-editable-toolbar.c: * lib/egg/egg-editable-toolbar.h: * lib/egg/egg-menu-merge.c: * lib/egg/egg-radio-action.c: * lib/egg/eggmarshalers.c: * lib/egg/eggmarshalers.h: * lib/egg/eggmarshalers.list: * lib/egg/eggtoggletoolbutton.c: * lib/egg/eggtoggletoolbutton.h: * lib/egg/eggtoolbar.c: * lib/egg/eggtoolbar.h: * lib/egg/eggtoolbutton.c: * lib/egg/eggtoolbutton.h: * lib/egg/eggtoolitem.c: * lib/egg/eggtoolitem.h: * lib/egg/eggtreemodelfilter.c: Update from egg * src/Makefile.am: * src/ephy-location-action.c: (create_tool_item): * src/ephy-shell.c: (ephy_shell_init), (ephy_shell_get_bookmarks), * src/ephy-shell.h: * src/ephy-window.c: (setup_window), (ephy_window_finalize), (ephy_window_set_chrome): * src/toolbar.c: (toolbar_class_init), (toolbar_set_window), (topic_remove_cb), (bookmark_remove_cb), (toolbar_init), (toolbar_new): * src/window-commands.c: (window_cmd_edit_toolbar): Use the new toolbar editor api. This is incomplete, if you use bookmarks toolbars please still do not update. --- lib/egg/egg-radio-action.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lib/egg/egg-radio-action.c') diff --git a/lib/egg/egg-radio-action.c b/lib/egg/egg-radio-action.c index 888448c50..66dd9530b 100644 --- a/lib/egg/egg-radio-action.c +++ b/lib/egg/egg-radio-action.c @@ -1,4 +1,5 @@ #include "egg-radio-action.h" +#include "eggradiotoolbutton.h" static void egg_radio_action_init (EggRadioAction *action); static void egg_radio_action_class_init (EggRadioActionClass *class); @@ -46,6 +47,9 @@ egg_radio_action_class_init (EggRadioActionClass *class) object_class = G_OBJECT_CLASS (class); action_class = EGG_ACTION_CLASS (class); + action_class->menu_item_type = GTK_TYPE_RADIO_MENU_ITEM; + action_class->toolbar_item_type = EGG_TYPE_RADIO_TOOL_BUTTON; + object_class->finalize = egg_radio_action_finalize; action_class->activate = egg_radio_action_activate; -- cgit v1.2.3