aboutsummaryrefslogtreecommitdiffstats
path: root/shell
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2010-04-02 03:40:19 +0800
committerMilan Crha <mcrha@redhat.com>2010-04-02 03:40:19 +0800
commitb2e7e4fedd23cf8ecff28b43e77d0d1c8ff398d6 (patch)
treec931eb292f3610cb9c5687260d56b660db176d47 /shell
parent125573b8fd62f4d0d38907c95c70168ca984d3c4 (diff)
downloadgsoc2013-evolution-b2e7e4fedd23cf8ecff28b43e77d0d1c8ff398d6.tar.gz
gsoc2013-evolution-b2e7e4fedd23cf8ecff28b43e77d0d1c8ff398d6.tar.zst
gsoc2013-evolution-b2e7e4fedd23cf8ecff28b43e77d0d1c8ff398d6.zip
Bug #325121 - Do not translate developer strings in g_param_spec_*
Diffstat (limited to 'shell')
-rw-r--r--shell/e-shell-switcher.c8
-rw-r--r--shell/e-shell-view.c48
-rw-r--r--shell/e-shell-window.c42
-rw-r--r--shell/e-shell.c20
4 files changed, 59 insertions, 59 deletions
diff --git a/shell/e-shell-switcher.c b/shell/e-shell-switcher.c
index c12423de99..43a2a4c3e9 100644
--- a/shell/e-shell-switcher.c
+++ b/shell/e-shell-switcher.c
@@ -460,8 +460,8 @@ e_shell_switcher_class_init (EShellSwitcherClass *class)
PROP_TOOLBAR_STYLE,
g_param_spec_enum (
"toolbar-style",
- _("Toolbar Style"),
- _("The switcher's toolbar style"),
+ "Toolbar Style",
+ "The switcher's toolbar style",
GTK_TYPE_TOOLBAR_STYLE,
E_SHELL_SWITCHER_DEFAULT_TOOLBAR_STYLE,
G_PARAM_READWRITE |
@@ -477,8 +477,8 @@ e_shell_switcher_class_init (EShellSwitcherClass *class)
PROP_TOOLBAR_VISIBLE,
g_param_spec_boolean (
"toolbar-visible",
- _("Toolbar Visible"),
- _("Whether the switcher is visible"),
+ "Toolbar Visible",
+ "Whether the switcher is visible",
TRUE,
G_PARAM_READWRITE |
G_PARAM_CONSTRUCT));
diff --git a/shell/e-shell-view.c b/shell/e-shell-view.c
index 6cae11cb03..bc4084e473 100644
--- a/shell/e-shell-view.c
+++ b/shell/e-shell-view.c
@@ -782,8 +782,8 @@ shell_view_class_init (EShellViewClass *class)
PROP_ACTION,
g_param_spec_object (
"action",
- _("Switcher Action"),
- _("The switcher action for this shell view"),
+ "Switcher Action",
+ "The switcher action for this shell view",
GTK_TYPE_RADIO_ACTION,
G_PARAM_READWRITE |
G_PARAM_CONSTRUCT_ONLY));
@@ -798,8 +798,8 @@ shell_view_class_init (EShellViewClass *class)
PROP_PAGE_NUM,
g_param_spec_int (
"page-num",
- _("Page Number"),
- _("The notebook page number of the shell view"),
+ "Page Number",
+ "The notebook page number of the shell view",
-1,
G_MAXINT,
-1,
@@ -815,8 +815,8 @@ shell_view_class_init (EShellViewClass *class)
PROP_SEARCH_RULE,
g_param_spec_object (
"search-rule",
- _("Search Rule"),
- _("Criteria for the current search results"),
+ "Search Rule",
+ "Criteria for the current search results",
E_TYPE_FILTER_RULE,
G_PARAM_READWRITE));
@@ -830,8 +830,8 @@ shell_view_class_init (EShellViewClass *class)
PROP_SHELL_BACKEND,
g_param_spec_object (
"shell-backend",
- _("Shell Backend"),
- _("The EShellBackend for this shell view"),
+ "Shell Backend",
+ "The EShellBackend for this shell view",
E_TYPE_SHELL_BACKEND,
G_PARAM_READABLE));
@@ -846,9 +846,9 @@ shell_view_class_init (EShellViewClass *class)
PROP_SHELL_CONTENT,
g_param_spec_object (
"shell-content",
- _("Shell Content Widget"),
- _("The content widget appears in "
- "a shell window's right pane"),
+ "Shell Content Widget",
+ "The content widget appears in "
+ "a shell window's right pane",
E_TYPE_SHELL_CONTENT,
G_PARAM_READABLE));
@@ -863,9 +863,9 @@ shell_view_class_init (EShellViewClass *class)
PROP_SHELL_SIDEBAR,
g_param_spec_object (
"shell-sidebar",
- _("Shell Sidebar Widget"),
- _("The sidebar widget appears in "
- "a shell window's left pane"),
+ "Shell Sidebar Widget",
+ "The sidebar widget appears in "
+ "a shell window's left pane",
E_TYPE_SHELL_SIDEBAR,
G_PARAM_READABLE));
@@ -879,9 +879,9 @@ shell_view_class_init (EShellViewClass *class)
PROP_SHELL_TASKBAR,
g_param_spec_object (
"shell-taskbar",
- _("Shell Taskbar Widget"),
- _("The taskbar widget appears at "
- "the bottom of a shell window"),
+ "Shell Taskbar Widget",
+ "The taskbar widget appears at "
+ "the bottom of a shell window",
E_TYPE_SHELL_TASKBAR,
G_PARAM_READABLE));
@@ -895,8 +895,8 @@ shell_view_class_init (EShellViewClass *class)
PROP_SHELL_WINDOW,
g_param_spec_object (
"shell-window",
- _("Shell Window"),
- _("The window to which the shell view belongs"),
+ "Shell Window",
+ "The window to which the shell view belongs",
E_TYPE_SHELL_WINDOW,
G_PARAM_READWRITE |
G_PARAM_CONSTRUCT_ONLY));
@@ -912,7 +912,7 @@ shell_view_class_init (EShellViewClass *class)
g_param_spec_pointer (
"state-key-file",
"State Key File",
- _("The key file holding widget state data"),
+ "The key file holding widget state data",
G_PARAM_READABLE));
/**
@@ -926,8 +926,8 @@ shell_view_class_init (EShellViewClass *class)
PROP_TITLE,
g_param_spec_string (
"title",
- _("Title"),
- _("The title of the shell view"),
+ "Title",
+ "The title of the shell view",
NULL,
G_PARAM_READWRITE));
@@ -941,8 +941,8 @@ shell_view_class_init (EShellViewClass *class)
PROP_VIEW_ID,
g_param_spec_string (
"view-id",
- _("Current View ID"),
- _("The current GAL view ID"),
+ "Current View ID",
+ "The current GAL view ID",
NULL,
G_PARAM_READWRITE));
diff --git a/shell/e-shell-window.c b/shell/e-shell-window.c
index f6176c1a35..dfa3616642 100644
--- a/shell/e-shell-window.c
+++ b/shell/e-shell-window.c
@@ -635,8 +635,8 @@ e_shell_window_class_init (EShellWindowClass *class)
PROP_ACTIVE_VIEW,
g_param_spec_string (
"active-view",
- _("Active Shell View"),
- _("Name of the active shell view"),
+ "Active Shell View",
+ "Name of the active shell view",
NULL,
G_PARAM_READWRITE));
@@ -650,8 +650,8 @@ e_shell_window_class_init (EShellWindowClass *class)
PROP_FOCUS_TRACKER,
g_param_spec_object (
"focus-tracker",
- _("Focus Tracker"),
- _("The shell window's EFocusTracker"),
+ "Focus Tracker",
+ "The shell window's EFocusTracker",
E_TYPE_FOCUS_TRACKER,
G_PARAM_READABLE));
@@ -665,8 +665,8 @@ e_shell_window_class_init (EShellWindowClass *class)
PROP_GEOMETRY,
g_param_spec_string (
"geometry",
- _("Geometry"),
- _("Initial window geometry string"),
+ "Geometry",
+ "Initial window geometry string",
NULL,
G_PARAM_WRITABLE |
G_PARAM_CONSTRUCT_ONLY));
@@ -681,8 +681,8 @@ e_shell_window_class_init (EShellWindowClass *class)
PROP_SAFE_MODE,
g_param_spec_boolean (
"safe-mode",
- _("Safe Mode"),
- _("Whether the shell window is in safe mode"),
+ "Safe Mode",
+ "Whether the shell window is in safe mode",
FALSE,
G_PARAM_READWRITE |
G_PARAM_CONSTRUCT));
@@ -697,8 +697,8 @@ e_shell_window_class_init (EShellWindowClass *class)
PROP_SHELL,
g_param_spec_object (
"shell",
- _("Shell"),
- _("The EShell singleton"),
+ "Shell",
+ "The EShell singleton",
E_TYPE_SHELL,
G_PARAM_READWRITE |
G_PARAM_CONSTRUCT_ONLY));
@@ -713,8 +713,8 @@ e_shell_window_class_init (EShellWindowClass *class)
PROP_SIDEBAR_VISIBLE,
g_param_spec_boolean (
"sidebar-visible",
- _("Sidebar Visible"),
- _("Whether the shell window's side bar is visible"),
+ "Sidebar Visible",
+ "Whether the shell window's side bar is visible",
TRUE,
G_PARAM_READWRITE));
@@ -728,9 +728,9 @@ e_shell_window_class_init (EShellWindowClass *class)
PROP_SWITCHER_VISIBLE,
g_param_spec_boolean (
"switcher-visible",
- _("Switcher Visible"),
- _("Whether the shell window's "
- "switcher buttons are visible"),
+ "Switcher Visible",
+ "Whether the shell window's "
+ "switcher buttons are visible",
TRUE,
G_PARAM_READWRITE));
@@ -744,8 +744,8 @@ e_shell_window_class_init (EShellWindowClass *class)
PROP_TASKBAR_VISIBLE,
g_param_spec_boolean (
"taskbar-visible",
- _("Taskbar Visible"),
- _("Whether the shell window's task bar is visible"),
+ "Taskbar Visible",
+ "Whether the shell window's task bar is visible",
TRUE,
G_PARAM_READWRITE));
@@ -759,8 +759,8 @@ e_shell_window_class_init (EShellWindowClass *class)
PROP_TOOLBAR_VISIBLE,
g_param_spec_boolean (
"toolbar-visible",
- _("Toolbar Visible"),
- _("Whether the shell window's tool bar is visible"),
+ "Toolbar Visible",
+ "Whether the shell window's tool bar is visible",
TRUE,
G_PARAM_READWRITE));
@@ -774,8 +774,8 @@ e_shell_window_class_init (EShellWindowClass *class)
PROP_UI_MANAGER,
g_param_spec_object (
"ui-manager",
- _("UI Manager"),
- _("The shell window's GtkUIManager"),
+ "UI Manager",
+ "The shell window's GtkUIManager",
GTK_TYPE_UI_MANAGER,
G_PARAM_READABLE));
diff --git a/shell/e-shell.c b/shell/e-shell.c
index f877bca4ec..ab7d683bed 100644
--- a/shell/e-shell.c
+++ b/shell/e-shell.c
@@ -799,8 +799,8 @@ e_shell_class_init (EShellClass *class)
PROP_GEOMETRY,
g_param_spec_string (
"geometry",
- _("Geometry"),
- _("Initial window geometry string"),
+ "Geometry",
+ "Initial window geometry string",
NULL,
G_PARAM_WRITABLE |
G_PARAM_CONSTRUCT_ONLY));
@@ -815,8 +815,8 @@ e_shell_class_init (EShellClass *class)
PROP_MODULE_DIRECTORY,
g_param_spec_string (
"module-directory",
- _("Module Directory"),
- _("The directory from which to load EModules"),
+ "Module Directory",
+ "The directory from which to load EModules",
NULL,
G_PARAM_READWRITE |
G_PARAM_CONSTRUCT_ONLY));
@@ -831,8 +831,8 @@ e_shell_class_init (EShellClass *class)
PROP_NETWORK_AVAILABLE,
g_param_spec_boolean (
"network-available",
- _("Network Available"),
- _("Whether the network is available"),
+ "Network Available",
+ "Whether the network is available",
TRUE,
G_PARAM_READWRITE |
G_PARAM_CONSTRUCT));
@@ -847,8 +847,8 @@ e_shell_class_init (EShellClass *class)
PROP_ONLINE,
g_param_spec_boolean (
"online",
- _("Online"),
- _("Whether the shell is online"),
+ "Online",
+ "Whether the shell is online",
FALSE,
G_PARAM_READWRITE |
G_PARAM_CONSTRUCT));
@@ -863,8 +863,8 @@ e_shell_class_init (EShellClass *class)
PROP_SHELL_SETTINGS,
g_param_spec_object (
"shell-settings",
- _("Shell Settings"),
- _("Application-wide settings"),
+ "Shell Settings",
+ "Application-wide settings",
E_TYPE_SHELL_SETTINGS,
G_PARAM_READABLE));