nautilus r14385 - in trunk: . src
- From: cneumair svn gnome org
- To: svn-commits-list gnome org
- Subject: nautilus r14385 - in trunk: . src
- Date: Mon, 21 Jul 2008 10:10:34 +0000 (UTC)
Author: cneumair
Date: Mon Jul 21 10:10:34 2008
New Revision: 14385
URL: http://svn.gnome.org/viewvc/nautilus?rev=14385&view=rev
Log:
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.
Modified:
trunk/ChangeLog
trunk/src/nautilus-window-menus.c
trunk/src/nautilus-zoom-control.c
Modified: trunk/src/nautilus-window-menus.c
==============================================================================
--- trunk/src/nautilus-window-menus.c (original)
+++ trunk/src/nautilus-window-menus.c Mon Jul 21 10:10:34 2008
@@ -827,7 +827,7 @@
G_CALLBACK (action_about_nautilus_callback) },
/* name, stock id */ { "Zoom In", GTK_STOCK_ZOOM_IN,
/* label, accelerator */ N_("Zoom _In"), "<control>plus",
- /* tooltip */ N_("Show the contents in more detail"),
+ /* tooltip */ N_("Increase the view size"),
G_CALLBACK (action_zoom_in_callback) },
/* name, stock id */ { "ZoomInAccel", NULL,
/* label, accelerator */ "ZoomInAccel", "<control>equal",
@@ -839,7 +839,7 @@
G_CALLBACK (action_zoom_in_callback) },
/* name, stock id */ { "Zoom Out", GTK_STOCK_ZOOM_OUT,
/* label, accelerator */ N_("Zoom _Out"), "<control>minus",
- /* tooltip */ N_("Show the contents in less detail"),
+ /* tooltip */ N_("Decrease the view size"),
G_CALLBACK (action_zoom_out_callback) },
/* name, stock id */ { "ZoomOutAccel", NULL,
/* label, accelerator */ "ZoomOutAccel", "<control>KP_Subtract",
@@ -847,7 +847,7 @@
G_CALLBACK (action_zoom_out_callback) },
/* name, stock id */ { "Zoom Normal", GTK_STOCK_ZOOM_100,
/* label, accelerator */ N_("Normal Si_ze"), "<control>0",
- /* tooltip */ N_("Show the contents at the normal size"),
+ /* tooltip */ N_("Use the normal view size"),
G_CALLBACK (action_zoom_normal_callback) },
/* name, stock id */ { "Connect to Server", NULL,
/* label, accelerator */ N_("Connect to _Server..."), NULL,
Modified: trunk/src/nautilus-zoom-control.c
==============================================================================
--- trunk/src/nautilus-zoom-control.c (original)
+++ trunk/src/nautilus-zoom-control.c Mon Jul 21 10:10:34 2008
@@ -89,9 +89,9 @@
};
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 @@
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 @@
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 @@
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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]