[gcalctool] Fix up mnemonic on decimal places string
- From: Robert Ancell <rancell src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gcalctool] Fix up mnemonic on decimal places string
- Date: Wed, 31 Mar 2010 22:39:11 +0000 (UTC)
commit 8b9e2294dae7843650e2e939865b259b31c0b3ed
Author: Robert Ancell <robert ancell gmail com>
Date: Thu Apr 1 09:39:03 2010 +1100
Fix up mnemonic on decimal places string
src/gtk.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/gtk.c b/src/gtk.c
index d8b93c9..f69a9ee 100644
--- a/src/gtk.c
+++ b/src/gtk.c
@@ -1822,7 +1822,7 @@ create_main_window()
gtk_cell_layout_add_attribute(GTK_CELL_LAYOUT(widget), renderer, "text", 0);
/* Label used in preferences dialog. The %d is replaced by a spinbutton */
- string = _("Show %d decimal places");
+ string = _("Show %d decimal _places");
tokens = g_strsplit(string, "%d", 2);
widget = GET_WIDGET("decimal_places_label1");
if (tokens[0])
@@ -1830,7 +1830,7 @@ create_main_window()
else
string = "";
if (string[0] != '\0')
- gtk_label_set_text(GTK_LABEL(widget), string);
+ gtk_label_set_text_with_mnemonic(GTK_LABEL(widget), string);
else
gtk_widget_hide(widget);
@@ -1840,7 +1840,7 @@ create_main_window()
else
string = "";
if (string[0] != '\0')
- gtk_label_set_text(GTK_LABEL(widget), string);
+ gtk_label_set_text_with_mnemonic(GTK_LABEL(widget), string);
else
gtk_widget_hide(widget);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]