aboutsummaryrefslogtreecommitdiffstats
path: root/libgnomecanvas/gnome-canvas-rich-text.c
diff options
context:
space:
mode:
Diffstat (limited to 'libgnomecanvas/gnome-canvas-rich-text.c')
-rw-r--r--libgnomecanvas/gnome-canvas-rich-text.c80
1 files changed, 40 insertions, 40 deletions
diff --git a/libgnomecanvas/gnome-canvas-rich-text.c b/libgnomecanvas/gnome-canvas-rich-text.c
index db0e52fde1..28bb2c50b6 100644
--- a/libgnomecanvas/gnome-canvas-rich-text.c
+++ b/libgnomecanvas/gnome-canvas-rich-text.c
@@ -207,88 +207,88 @@ gnome_canvas_rich_text_class_init(GnomeCanvasRichTextClass *klass)
gobject_class,
PROP_TEXT,
g_param_spec_string ("text",
- _("Text"),
- _("Text to display"),
+ "Text",
+ "Text to display",
NULL,
G_PARAM_READWRITE));
g_object_class_install_property (
gobject_class,
PROP_X,
g_param_spec_double ("x",
- _("X"),
- _("X position"),
+ "X",
+ "X position",
-G_MAXDOUBLE, G_MAXDOUBLE, 0.0,
G_PARAM_READWRITE));
g_object_class_install_property (
gobject_class,
PROP_Y,
g_param_spec_double ("y",
- _("Y"),
- _("Y position"),
+ "Y",
+ "Y position",
-G_MAXDOUBLE, G_MAXDOUBLE, 0.0,
G_PARAM_READWRITE));
g_object_class_install_property (
gobject_class,
PROP_WIDTH,
g_param_spec_double ("width",
- _("Width"),
- _("Width for text box"),
+ "Width",
+ "Width for text box",
-G_MAXDOUBLE, G_MAXDOUBLE, 0.0,
G_PARAM_READWRITE));
g_object_class_install_property (
gobject_class,
PROP_HEIGHT,
g_param_spec_double ("height",
- _("Height"),
- _("Height for text box"),
+ "Height",
+ "Height for text box",
-G_MAXDOUBLE, G_MAXDOUBLE, 0.0,
G_PARAM_READWRITE));
g_object_class_install_property (
gobject_class,
PROP_EDITABLE,
g_param_spec_boolean ("editable",
- _("Editable"),
- _("Is this rich text item editable?"),
+ "Editable",
+ "Is this rich text item editable?",
TRUE,
G_PARAM_READWRITE));
g_object_class_install_property (
gobject_class,
PROP_VISIBLE,
g_param_spec_boolean ("visible",
- _("Visible"),
- _("Is this rich text item visible?"),
+ "Visible",
+ "Is this rich text item visible?",
TRUE,
G_PARAM_READWRITE));
g_object_class_install_property (
gobject_class,
PROP_CURSOR_VISIBLE,
g_param_spec_boolean ("cursor_visible",
- _("Cursor Visible"),
- _("Is the cursor visible in this rich text item?"),
+ "Cursor Visible",
+ "Is the cursor visible in this rich text item?",
TRUE,
G_PARAM_READWRITE));
g_object_class_install_property (
gobject_class,
PROP_CURSOR_BLINK,
g_param_spec_boolean ("cursor_blink",
- _("Cursor Blink"),
- _("Does the cursor blink in this rich text item?"),
+ "Cursor Blink",
+ "Does the cursor blink in this rich text item?",
TRUE,
G_PARAM_READWRITE));
g_object_class_install_property (
gobject_class,
PROP_GROW_HEIGHT,
g_param_spec_boolean ("grow_height",
- _("Grow Height"),
- _("Should the text box height grow if the text does not fit?"),
+ "Grow Height",
+ "Should the text box height grow if the text does not fit?",
FALSE,
G_PARAM_READWRITE));
g_object_class_install_property (
gobject_class,
PROP_WRAP_MODE,
g_param_spec_enum ("wrap_mode",
- _("Wrap Mode"),
- _("Wrap mode for multiline text"),
+ "Wrap Mode",
+ "Wrap mode for multiline text",
GTK_TYPE_WRAP_MODE,
GTK_WRAP_WORD,
G_PARAM_READWRITE));
@@ -296,8 +296,8 @@ gnome_canvas_rich_text_class_init(GnomeCanvasRichTextClass *klass)
gobject_class,
PROP_JUSTIFICATION,
g_param_spec_enum ("justification",
- _("Justification"),
- _("Justification mode"),
+ "Justification",
+ "Justification mode",
GTK_TYPE_JUSTIFICATION,
GTK_JUSTIFY_LEFT,
G_PARAM_READWRITE));
@@ -305,8 +305,8 @@ gnome_canvas_rich_text_class_init(GnomeCanvasRichTextClass *klass)
gobject_class,
PROP_DIRECTION,
g_param_spec_enum ("direction",
- _("Direction"),
- _("Text direction"),
+ "Direction",
+ "Text direction",
GTK_TYPE_DIRECTION_TYPE,
gtk_widget_get_default_direction (),
G_PARAM_READWRITE));
@@ -314,8 +314,8 @@ gnome_canvas_rich_text_class_init(GnomeCanvasRichTextClass *klass)
gobject_class,
PROP_ANCHOR,
g_param_spec_enum ("anchor",
- _("Anchor"),
- _("Anchor point for text"),
+ "Anchor",
+ "Anchor point for text",
GTK_TYPE_ANCHOR_TYPE,
GTK_ANCHOR_NW,
G_PARAM_READWRITE));
@@ -323,8 +323,8 @@ gnome_canvas_rich_text_class_init(GnomeCanvasRichTextClass *klass)
gobject_class,
PROP_PIXELS_ABOVE_LINES,
g_param_spec_int ("pixels_above_lines",
- _("Pixels Above Lines"),
- _("Number of pixels to put above lines"),
+ "Pixels Above Lines",
+ "Number of pixels to put above lines",
G_MININT, G_MAXINT,
0,
G_PARAM_READWRITE));
@@ -332,8 +332,8 @@ gnome_canvas_rich_text_class_init(GnomeCanvasRichTextClass *klass)
gobject_class,
PROP_PIXELS_BELOW_LINES,
g_param_spec_int ("pixels_below_lines",
- _("Pixels Below Lines"),
- _("Number of pixels to put below lines"),
+ "Pixels Below Lines",
+ "Number of pixels to put below lines",
G_MININT, G_MAXINT,
0,
G_PARAM_READWRITE));
@@ -341,8 +341,8 @@ gnome_canvas_rich_text_class_init(GnomeCanvasRichTextClass *klass)
gobject_class,
PROP_PIXELS_INSIDE_WRAP,
g_param_spec_int ("pixels_inside_wrap",
- _("Pixels Inside Wrap"),
- _("Number of pixels to put inside the wrap"),
+ "Pixels Inside Wrap",
+ "Number of pixels to put inside the wrap",
G_MININT, G_MAXINT,
0,
G_PARAM_READWRITE));
@@ -350,8 +350,8 @@ gnome_canvas_rich_text_class_init(GnomeCanvasRichTextClass *klass)
gobject_class,
PROP_LEFT_MARGIN,
g_param_spec_int ("left_margin",
- _("Left Margin"),
- _("Number of pixels in the left margin"),
+ "Left Margin",
+ "Number of pixels in the left margin",
G_MININT, G_MAXINT,
0,
G_PARAM_READWRITE));
@@ -359,8 +359,8 @@ gnome_canvas_rich_text_class_init(GnomeCanvasRichTextClass *klass)
gobject_class,
PROP_RIGHT_MARGIN,
g_param_spec_int ("right_margin",
- _("Right Margin"),
- _("Number of pixels in the right margin"),
+ "Right Margin",
+ "Number of pixels in the right margin",
G_MININT, G_MAXINT,
0,
G_PARAM_READWRITE));
@@ -368,8 +368,8 @@ gnome_canvas_rich_text_class_init(GnomeCanvasRichTextClass *klass)
gobject_class,
PROP_INDENT,
g_param_spec_int ("indent",
- _("Indentation"),
- _("Number of pixels for indentation"),
+ "Indentation",
+ "Number of pixels for indentation",
G_MININT, G_MAXINT,
0,
G_PARAM_READWRITE));