aboutsummaryrefslogtreecommitdiffstats
path: root/data
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@it.gnome.org>2003-01-24 22:48:34 +0800
committerMarco Pesenti Gritti <mpeseng@src.gnome.org>2003-01-24 22:48:34 +0800
commitb0f66eed569bdc92c55cb8c39f62b5694b7f62b3 (patch)
tree16b2f0a1106cdf05e2a7a05c0572f656307a1e2e /data
parent459e4b6f3a76d3904c84127b1147a14676586ed7 (diff)
downloadgsoc2013-epiphany-b0f66eed569bdc92c55cb8c39f62b5694b7f62b3.tar.gz
gsoc2013-epiphany-b0f66eed569bdc92c55cb8c39f62b5694b7f62b3.tar.zst
gsoc2013-epiphany-b0f66eed569bdc92c55cb8c39f62b5694b7f62b3.zip
Implement the data part of the toolbar editor. Partial implementation of
2003-01-24 Marco Pesenti Gritti <marco@it.gnome.org> * NEWS: * configure.in: * data/ui/epiphany-toolbar.xml.in: * lib/egg/Makefile.am: * lib/widgets/Makefile.am: * lib/widgets/ephy-editable-toolbar.c: (ephy_editable_toolbar_get_type), (find_action), (add_action_to_list), (parse_item_list), (parse_toolbars), (load_defaults), (load_toolbar), (toolbar_list_to_xml), (toolbar_list_to_string), (do_merge), (ephy_editable_toolbar_set_merge), (ephy_editable_toolbar_set_property), (ephy_editable_toolbar_get_property), (ephy_editable_toolbar_class_init), (ephy_editable_toolbar_init), (ephy_editable_toolbar_save), (ephy_editable_toolbar_finalize), (ephy_editable_toolbar_new): * lib/widgets/ephy-editable-toolbar.h: * src/Makefile.am: * src/bookmarks/Makefile.am: * src/bookmarks/ephy-bookmark-action.c: (ephy_bookmark_action_get_type), (create_tool_item), (ephy_bookmark_action_sync_label), (connect_proxy), (ephy_bookmark_action_set_property), (ephy_bookmark_action_get_property), (ephy_bookmark_action_class_init), (ephy_bookmark_action_init), (ephy_bookmark_action_new): * src/bookmarks/ephy-bookmark-action.h: * src/ephy-tab.c: (ephy_tab_finalize), (ephy_tab_set_location): * src/toolbar.c: (toolbar_get_type), (toolbar_set_window), (editable_toolbar_request_action), (toolbar_init), (toolbar_finalize): * src/toolbar.h: Implement the data part of the toolbar editor. Partial implementation of Bookmark action. Try to fix crashes when switching tabs.
Diffstat (limited to 'data')
-rw-r--r--data/ui/epiphany-toolbar.xml.in40
1 files changed, 26 insertions, 14 deletions
diff --git a/data/ui/epiphany-toolbar.xml.in b/data/ui/epiphany-toolbar.xml.in
index 0a46f0fe8..b95092dcf 100644
--- a/data/ui/epiphany-toolbar.xml.in
+++ b/data/ui/epiphany-toolbar.xml.in
@@ -1,15 +1,27 @@
-<Root>
-<dockitem name="toolbar1">
- <toolitem name="ViewBackTItem" verb="NavigationBack"/>
- <toolitem name="ViewForwardTItem" verb="NavigationForward"/>
- <toolitem name="ViewStopTItem" verb="ViewStop"/>
- <toolitem name="ViewReloadTItem" verb="ViewReload"/>
- <separator name="ToolbarSep1"/>
- <toolitem name="GoHomeTItem" verb="GoHome"/>
- <separator name="ToolbarSep2"/>
- <toolitem name="FaviconTItem" verb="Favicon"/>
- <toolitem name="LocationTItem" verb="Location"/>
- <toolitem name="SpinnerTItem" verb="Spinner"/>
-</dockitem>
-</Root>
+<editabletoolbar>
+<available>
+ <toolitem verb="NavigationBack"/>
+ <toolitem verb="NavigationForward"/>
+ <toolitem verb="ViewStop"/>
+ <toolitem verb="ViewReload"/>
+ <toolitem verb="GoHome"/>
+ <toolitem verb="Favicon"/>
+ <toolitem verb="Location"/>
+ <toolitem verb="Spinner"/>
+</available>
+<default>
+<toolbar>
+ <toolitem verb="NavigationBack"/>
+ <toolitem verb="NavigationForward"/>
+ <toolitem verb="ViewStop"/>
+ <toolitem verb="ViewReload"/>
+ <separator/>
+ <toolitem verb="GoHome"/>
+ <separator/>
+ <toolitem verb="Favicon"/>
+ <toolitem verb="Location"/>
+ <toolitem verb="Spinner"/>
+</toolbar>
+</default>
+</editabletoolbar>