[gnome-settings-daemon/randr-osd: 5/15] Strings for the names of the stock configurations
- From: Federico Mena Quintero <federico src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gnome-settings-daemon/randr-osd: 5/15] Strings for the names of the stock configurations
- Date: Tue, 19 Jan 2010 23:35:12 +0000 (UTC)
commit d3ed7ea5be394524715eeb3f293d19dfacc1963c
Author: Federico Mena Quintero <federico novell com>
Date: Wed Jan 13 14:42:56 2010 -0600
Strings for the names of the stock configurations
Signed-off-by: Federico Mena Quintero <federico novell com>
plugins/xrandr/gsd-xrandr-manager.c | 30 ++++++++++++++++++++++++++++++
1 files changed, 30 insertions(+), 0 deletions(-)
---
diff --git a/plugins/xrandr/gsd-xrandr-manager.c b/plugins/xrandr/gsd-xrandr-manager.c
index a10901b..4f28bb3 100644
--- a/plugins/xrandr/gsd-xrandr-manager.c
+++ b/plugins/xrandr/gsd-xrandr-manager.c
@@ -1032,6 +1032,36 @@ get_icon_name_for_stock_config (StockConfigType type)
}
}
+static const char *
+get_label_for_stock_config (StockConfigType type)
+{
+ switch (type) {
+ case STOCK_CONFIG_CURRENT:
+ return _("Current");
+
+ case STOCK_CONFIG_LAPTOP:
+ return _("_Laptop only");
+
+ case STOCK_CONFIG_CLONE_LAPTOP:
+ case STOCK_CONFIG_CLONE_MONITORS:
+ return _("_Mirror screens");
+
+ case STOCK_CONFIG_EXTENDED_RIGHT:
+ case STOCK_CONFIG_EXTENDED_ONTOP:
+ return _("_Extended");
+
+ case STOCK_CONFIG_EXTERNAL:
+ return _("E_xternal only");
+
+ case STOCK_CONFIG_CUSTOM:
+ return _("_Custom setup...");
+
+ default:
+ g_assert_not_reached ();
+ return NULL;
+ }
+}
+
static void
destroy_osd_window (GsdXrandrManager *manager)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]