diff options
author | Christian Persch <chpe@cvs.gnome.org> | 2003-07-03 03:13:03 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2003-07-03 03:13:03 +0800 |
commit | 13b3d92da4d248b5a4e7a43f6849bac2471f4d21 (patch) | |
tree | 210e7b8408f337c943c523240c981345072a8464 /src/toolbar.c | |
parent | 2f7b2ca65482177d9c723fb9bef9eb92748d2377 (diff) | |
download | gsoc2013-epiphany-13b3d92da4d248b5a4e7a43f6849bac2471f4d21.tar gsoc2013-epiphany-13b3d92da4d248b5a4e7a43f6849bac2471f4d21.tar.gz gsoc2013-epiphany-13b3d92da4d248b5a4e7a43f6849bac2471f4d21.tar.bz2 gsoc2013-epiphany-13b3d92da4d248b5a4e7a43f6849bac2471f4d21.tar.lz gsoc2013-epiphany-13b3d92da4d248b5a4e7a43f6849bac2471f4d21.tar.xz gsoc2013-epiphany-13b3d92da4d248b5a4e7a43f6849bac2471f4d21.tar.zst gsoc2013-epiphany-13b3d92da4d248b5a4e7a43f6849bac2471f4d21.zip |
Implement custom tooltip setter; sets tooltip on the directional button.
2003-07-02 Christian Persch <chpe@cvs.gnome.org>
* lib/widgets/ephy-arrow-toolbutton.c:
(ephy_arrow_toolbutton_set_tooltip), (ephy_arrow_toolbutton_class_init):
Implement custom tooltip setter; sets tooltip on the directional button.
* src/toolbar.c: (toolbar_setup_actions):
Set tooltips on custom actions.
Diffstat (limited to 'src/toolbar.c')
-rwxr-xr-x | src/toolbar.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/toolbar.c b/src/toolbar.c index 0a290d551..0fdda294e 100755 --- a/src/toolbar.c +++ b/src/toolbar.c @@ -300,6 +300,7 @@ toolbar_setup_actions (Toolbar *t) "name", "NavigationBack", "label", _("Back"), "stock_id", GTK_STOCK_GO_BACK, + "tooltip", _("Go back"), "window", t->priv->window, "direction", EPHY_NAVIGATION_DIRECTION_BACK, NULL); @@ -312,6 +313,7 @@ toolbar_setup_actions (Toolbar *t) "name", "NavigationForward", "label", _("Forward"), "stock_id", GTK_STOCK_GO_FORWARD, + "tooltip", _("Go forward"), "window", t->priv->window, "direction", EPHY_NAVIGATION_DIRECTION_FORWARD, NULL); @@ -323,9 +325,10 @@ toolbar_setup_actions (Toolbar *t) action = g_object_new (EPHY_TYPE_NAVIGATION_ACTION, "name", "NavigationUp", "label", _("Up"), + "stock_id", GTK_STOCK_GO_UP, + "tooltip", _("Go up"), "window", t->priv->window, "direction", EPHY_NAVIGATION_DIRECTION_UP, - "stock_id", GTK_STOCK_GO_UP, NULL); g_signal_connect (action, "activate", G_CALLBACK (window_cmd_go_up), t->priv->window); @@ -356,6 +359,7 @@ toolbar_setup_actions (Toolbar *t) action = g_object_new (EPHY_TYPE_ZOOM_ACTION, "name", "Zoom", "label", _("Zoom"), + "tooltip", _("Zoom"), "zoom", 1.0, NULL); g_signal_connect (action, "zoom_to_level", @@ -375,6 +379,7 @@ toolbar_setup_actions (Toolbar *t) "name", "ToolbarGo", "label", _("Go"), "stock_id", GTK_STOCK_JUMP_TO, + "tooltip", _("Go to the address entered in the location entry."), NULL); g_signal_connect (action, "activate", G_CALLBACK (window_cmd_load_location), t->priv->window); |