[gnome-control-center] wacom: Fix label for hard-coded and disabled buttons



commit a3a96fa0f040330c5b77a5ca09dab04e4d4b5ea7
Author: Bastien Nocera <hadess hadess net>
Date:   Sat Feb 18 14:43:04 2012 +0100

    wacom: Fix label for hard-coded and disabled buttons

 panels/wacom/cc-wacom-page.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/panels/wacom/cc-wacom-page.c b/panels/wacom/cc-wacom-page.c
index 9544499..9bd2e50 100644
--- a/panels/wacom/cc-wacom-page.c
+++ b/panels/wacom/cc-wacom-page.c
@@ -242,14 +242,13 @@ accel_set_func (GtkTreeViewColumn *tree_column,
 	}
 
 	if (button->type == WACOM_TABLET_BUTTON_TYPE_HARDCODED) {
-		/* FIXME this should tell us that it will
-		 * switch groups */
 		g_object_set (cell,
 			      "visible", TRUE,
 			      "editable", FALSE,
 			      "accel-key", 0,
 			      "accel-mods", 0,
 			      "style", PANGO_STYLE_NORMAL,
+			      "text", _("Switch Modes"),
 			      NULL);
 		return;
 	}
@@ -267,6 +266,7 @@ accel_set_func (GtkTreeViewColumn *tree_column,
 			      "accel-key", 0,
 			      "accel-mods", 0,
 			      "style", PANGO_STYLE_NORMAL,
+			      "text", _("None"),
 			      NULL);
 		return;
 	}



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]