diff options
author | Christian Neumair <cneumair@gnome.org> | 2008-07-21 10:10:34 +0000 |
---|---|---|
committer | Christian Neumair <cneumair@src.gnome.org> | 2008-07-21 10:10:34 +0000 |
commit | 02cbb458f332df72ab305636699e570612e5c7cc (patch) | |
tree | 6deb7d948a447bb40dede054f94a2e2de13d76db /src/nautilus-zoom-control.c | |
parent | 89f2aab3cb1974eb1b283e20845b857dd2ec20f7 (diff) | |
download | nautilus-02cbb458f332df72ab305636699e570612e5c7cc.tar.gz |
Add tooltips to the zoom controls, make menu tooltips consistent with and
2008-07-21 Christian Neumair <cneumair@gnome.org>
* src/nautilus-window-menus.c:
* src/nautilus-zoom-control.c
(nautilus_zoom_control_instance_init):
Add tooltips to the zoom controls, make menu tooltips consistent with
and a11y description consistent with Epiphany. Related to #543935.
Thanks to Diego Escalante Urrelo.
svn path=/trunk/; revision=14385
Diffstat (limited to 'src/nautilus-zoom-control.c')
-rw-r--r-- | src/nautilus-zoom-control.c | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/src/nautilus-zoom-control.c b/src/nautilus-zoom-control.c index 3e3ad389d..397c13ce4 100644 --- a/src/nautilus-zoom-control.c +++ b/src/nautilus-zoom-control.c @@ -89,9 +89,9 @@ static const int nautilus_zoom_control_accessible_action_signals[] = { }; static const char * const nautilus_zoom_control_accessible_action_descriptions[] = { - N_("Show the contents in more detail"), - N_("Show the contents in less detail"), - N_("Show in the default detail level"), + N_("Increase the view size"), + N_("Decrease the view size"), + N_("Use the normal view size") }; static GtkMenu *create_zoom_menu (NautilusZoomControl *zoom_control); @@ -292,6 +292,8 @@ nautilus_zoom_control_instance_init (NautilusZoomControl *zoom_control) gtk_button_set_focus_on_click (GTK_BUTTON (zoom_control->details->zoom_out), FALSE); gtk_button_set_relief (GTK_BUTTON (zoom_control->details->zoom_out), GTK_RELIEF_NONE); + gtk_widget_set_tooltip_text (zoom_control->details->zoom_out, + _("Decrease the view size")); g_signal_connect (G_OBJECT (zoom_control->details->zoom_out), "clicked", G_CALLBACK (zoom_out_clicked), zoom_control); @@ -303,6 +305,8 @@ nautilus_zoom_control_instance_init (NautilusZoomControl *zoom_control) gtk_button_set_focus_on_click (GTK_BUTTON (zoom_control->details->zoom_button), FALSE); gtk_button_set_relief (GTK_BUTTON (zoom_control->details->zoom_button), GTK_RELIEF_NONE); + gtk_widget_set_tooltip_text (zoom_control->details->zoom_button, + _("Use the normal view size")); gtk_widget_add_events (GTK_WIDGET (zoom_control->details->zoom_button), GDK_BUTTON_PRESS_MASK @@ -339,6 +343,8 @@ nautilus_zoom_control_instance_init (NautilusZoomControl *zoom_control) gtk_button_set_focus_on_click (GTK_BUTTON (zoom_control->details->zoom_in), FALSE); gtk_button_set_relief (GTK_BUTTON (zoom_control->details->zoom_in), GTK_RELIEF_NONE); + gtk_widget_set_tooltip_text (zoom_control->details->zoom_in, + _("Increase the view size")); g_signal_connect (G_OBJECT (zoom_control->details->zoom_in), "clicked", G_CALLBACK (zoom_in_clicked), zoom_control); |