aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/misc
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 /widgets/misc
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 'widgets/misc')
-rw-r--r--widgets/misc/e-action-combo-box.c4
-rw-r--r--widgets/misc/e-canvas-background.c32
-rw-r--r--widgets/misc/e-canvas-vbox.c16
-rw-r--r--widgets/misc/e-online-button.c4
-rw-r--r--widgets/misc/e-paned.c16
-rw-r--r--widgets/misc/e-selection-model-array.c8
-rw-r--r--widgets/misc/e-selection-model.c12
7 files changed, 46 insertions, 46 deletions
diff --git a/widgets/misc/e-action-combo-box.c b/widgets/misc/e-action-combo-box.c
index 2fa376d420..0260c6e19a 100644
--- a/widgets/misc/e-action-combo-box.c
+++ b/widgets/misc/e-action-combo-box.c
@@ -385,8 +385,8 @@ action_combo_box_class_init (EActionComboBoxClass *class)
PROP_ACTION,
g_param_spec_object (
"action",
- _("Action"),
- _("A GtkRadioAction"),
+ "Action",
+ "A GtkRadioAction",
GTK_TYPE_RADIO_ACTION,
G_PARAM_READWRITE));
}
diff --git a/widgets/misc/e-canvas-background.c b/widgets/misc/e-canvas-background.c
index 3b4cbadd20..68c2488508 100644
--- a/widgets/misc/e-canvas-background.c
+++ b/widgets/misc/e-canvas-background.c
@@ -468,57 +468,57 @@ ecb_class_init (ECanvasBackgroundClass *ecb_class)
g_object_class_install_property (object_class, PROP_FILL_COLOR,
g_param_spec_string ("fill_color",
- _( "Fill color" ),
- _( "Fill color" ),
+ "Fill color",
+ "Fill color",
NULL,
G_PARAM_READWRITE));
g_object_class_install_property (object_class, PROP_FILL_COLOR_GDK,
g_param_spec_boxed ("fill_color_gdk",
- _( "GDK fill color" ),
- _( "GDK fill color" ),
+ "GDK fill color",
+ "GDK fill color",
GDK_TYPE_COLOR,
G_PARAM_READWRITE));
g_object_class_install_property (object_class, PROP_FILL_COLOR_RGBA,
g_param_spec_uint ("fill_color_rgba",
- _( "GDK fill color" ),
- _( "GDK fill color" ),
+ "GDK fill color",
+ "GDK fill color",
0, G_MAXUINT, 0,
G_PARAM_READWRITE));
g_object_class_install_property (object_class, PROP_FILL_STIPPLE,
g_param_spec_object ("fill_stipple",
- _( "Fill stipple" ),
- _( "Fill stipple" ),
+ "Fill stipple",
+ "Fill stipple",
GDK_TYPE_WINDOW,
G_PARAM_READWRITE));
g_object_class_install_property (object_class, PROP_X1,
g_param_spec_double ("x1",
- _( "X1" ),
- _( "X1" ),
+ "X1",
+ "X1",
0.0, G_MAXDOUBLE, 0.0,
G_PARAM_READWRITE));
g_object_class_install_property (object_class, PROP_X2,
g_param_spec_double ("x2",
- _( "X2" ),
- _( "X2" ),
+ "X2",
+ "X2",
0.0, G_MAXDOUBLE, 0.0,
G_PARAM_READWRITE));
g_object_class_install_property (object_class, PROP_Y1,
g_param_spec_double ("y1",
- _( "Y1" ),
- _( "Y1" ),
+ "Y1",
+ "Y1",
0.0, G_MAXDOUBLE, 0.0,
G_PARAM_READWRITE));
g_object_class_install_property (object_class, PROP_Y2,
g_param_spec_double ("y2",
- _( "Y2" ),
- _( "Y2" ),
+ "Y2",
+ "Y2",
0.0, G_MAXDOUBLE, 0.0,
G_PARAM_READWRITE));
ecb_signals [STYLE_SET] =
diff --git a/widgets/misc/e-canvas-vbox.c b/widgets/misc/e-canvas-vbox.c
index e9d78f220c..63b23efdf6 100644
--- a/widgets/misc/e-canvas-vbox.c
+++ b/widgets/misc/e-canvas-vbox.c
@@ -80,26 +80,26 @@ e_canvas_vbox_class_init (ECanvasVboxClass *klass)
g_object_class_install_property (object_class, PROP_WIDTH,
g_param_spec_double ("width",
- _( "Width" ),
- _( "Width" ),
+ "Width",
+ "Width",
0.0, G_MAXDOUBLE, 0.0,
G_PARAM_READWRITE));
g_object_class_install_property (object_class, PROP_MINIMUM_WIDTH,
g_param_spec_double ("minimum_width",
- _( "Minimum width" ),
- _( "Minimum Width" ),
+ "Minimum width",
+ "Minimum Width",
0.0, G_MAXDOUBLE, 0.0,
G_PARAM_READWRITE));
g_object_class_install_property (object_class, PROP_HEIGHT,
g_param_spec_double ("height",
- _( "Height" ),
- _( "Height" ),
+ "Height",
+ "Height",
0.0, G_MAXDOUBLE, 0.0,
G_PARAM_READABLE));
g_object_class_install_property (object_class, PROP_SPACING,
g_param_spec_double ("spacing",
- _( "Spacing" ),
- _( "Spacing" ),
+ "Spacing",
+ "Spacing",
0.0, G_MAXDOUBLE, 0.0,
G_PARAM_READWRITE));
}
diff --git a/widgets/misc/e-online-button.c b/widgets/misc/e-online-button.c
index 601aaa4117..7c5c23b760 100644
--- a/widgets/misc/e-online-button.c
+++ b/widgets/misc/e-online-button.c
@@ -131,8 +131,8 @@ online_button_class_init (EOnlineButtonClass *class)
PROP_ONLINE,
g_param_spec_boolean (
"online",
- _("Online"),
- _("The button state is online"),
+ "Online",
+ "The button state is online",
TRUE,
G_PARAM_READWRITE |
G_PARAM_CONSTRUCT));
diff --git a/widgets/misc/e-paned.c b/widgets/misc/e-paned.c
index 2b4701b9ff..3f8b57011a 100644
--- a/widgets/misc/e-paned.c
+++ b/widgets/misc/e-paned.c
@@ -303,8 +303,8 @@ paned_class_init (EPanedClass *class)
PROP_HPOSITION,
g_param_spec_int (
"hposition",
- _("Horizontal Position"),
- _("Pane position when oriented horizontally"),
+ "Horizontal Position",
+ "Pane position when oriented horizontally",
G_MININT,
G_MAXINT,
0,
@@ -315,8 +315,8 @@ paned_class_init (EPanedClass *class)
PROP_VPOSITION,
g_param_spec_int (
"vposition",
- _("Vertical Position"),
- _("Pane position when oriented vertically"),
+ "Vertical Position",
+ "Pane position when oriented vertically",
G_MININT,
G_MAXINT,
0,
@@ -327,8 +327,8 @@ paned_class_init (EPanedClass *class)
PROP_PROPORTION,
g_param_spec_double (
"proportion",
- _("Proportion"),
- _("Proportion of the 2nd pane size"),
+ "Proportion",
+ "Proportion of the 2nd pane size",
0.0,
1.0,
0.0,
@@ -339,8 +339,8 @@ paned_class_init (EPanedClass *class)
PROP_FIXED_RESIZE,
g_param_spec_boolean (
"fixed-resize",
- _("Fixed Resize"),
- _("Keep the 2nd pane fixed during resize"),
+ "Fixed Resize",
+ "Keep the 2nd pane fixed during resize",
TRUE,
G_PARAM_READWRITE));
}
diff --git a/widgets/misc/e-selection-model-array.c b/widgets/misc/e-selection-model-array.c
index 9a2a6a8e68..3dc47e99c3 100644
--- a/widgets/misc/e-selection-model-array.c
+++ b/widgets/misc/e-selection-model-array.c
@@ -590,15 +590,15 @@ e_selection_model_array_class_init (ESelectionModelArrayClass *klass)
g_object_class_install_property (object_class, PROP_CURSOR_ROW,
g_param_spec_int ("cursor_row",
- _("Cursor Row"),
- /*_( */"XXX blurb" /*)*/,
+ "Cursor Row",
+ NULL,
0, G_MAXINT, 0,
G_PARAM_READWRITE));
g_object_class_install_property (object_class, PROP_CURSOR_COL,
g_param_spec_int ("cursor_col",
- _("Cursor Column"),
- /*_( */"XXX blurb" /*)*/,
+ "Cursor Column",
+ NULL,
0, G_MAXINT, 0,
G_PARAM_READWRITE));
}
diff --git a/widgets/misc/e-selection-model.c b/widgets/misc/e-selection-model.c
index bc858a4c34..882306df9e 100644
--- a/widgets/misc/e-selection-model.c
+++ b/widgets/misc/e-selection-model.c
@@ -213,23 +213,23 @@ e_selection_model_class_init (ESelectionModelClass *klass)
g_object_class_install_property (object_class, PROP_SORTER,
g_param_spec_object ("sorter",
- _("Sorter"),
- /*_( */"XXX blurb" /*)*/,
+ "Sorter",
+ NULL,
E_SORTER_TYPE,
G_PARAM_READWRITE));
g_object_class_install_property (object_class, PROP_SELECTION_MODE,
g_param_spec_int ("selection_mode",
- _("Selection Mode"),
- /*_( */"XXX blurb" /*)*/,
+ "Selection Mode",
+ NULL,
GTK_SELECTION_NONE, GTK_SELECTION_MULTIPLE,
GTK_SELECTION_SINGLE,
G_PARAM_READWRITE));
g_object_class_install_property (object_class, PROP_CURSOR_MODE,
g_param_spec_int ("cursor_mode",
- _("Cursor Mode"),
- /*_( */"XXX blurb" /*)*/,
+ "Cursor Mode",
+ NULL,
E_CURSOR_LINE, E_CURSOR_SPREADSHEET,
E_CURSOR_LINE,
G_PARAM_READWRITE));