summaryrefslogtreecommitdiff
path: root/gtk/gtkwidget.c
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/gtkwidget.c')
-rw-r--r--gtk/gtkwidget.c100
1 files changed, 50 insertions, 50 deletions
diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c
index b6d45ea85f..a892d32832 100644
--- a/gtk/gtkwidget.c
+++ b/gtk/gtkwidget.c
@@ -403,23 +403,23 @@ gtk_widget_class_init (GtkWidgetClass *klass)
g_object_class_install_property (gobject_class,
PROP_NAME,
g_param_spec_string ("name",
- _("Widget name"),
- _("The name of the widget"),
+ P_("Widget name"),
+ P_("The name of the widget"),
NULL,
G_PARAM_READWRITE));
g_object_class_install_property (gobject_class,
PROP_PARENT,
g_param_spec_object ("parent",
- _("Parent widget"),
- _("The parent widget of this widget. Must be a Container widget"),
+ P_("Parent widget"),
+ P_("The parent widget of this widget. Must be a Container widget"),
GTK_TYPE_CONTAINER,
G_PARAM_READWRITE));
g_object_class_install_property (gobject_class,
PROP_WIDTH_REQUEST,
g_param_spec_int ("width_request",
- _("Width request"),
- _("Override for width request of the widget, or -1 if natural request should be used"),
+ P_("Width request"),
+ P_("Override for width request of the widget, or -1 if natural request should be used"),
-1,
G_MAXINT,
-1,
@@ -427,8 +427,8 @@ gtk_widget_class_init (GtkWidgetClass *klass)
g_object_class_install_property (gobject_class,
PROP_HEIGHT_REQUEST,
g_param_spec_int ("height_request",
- _("Height request"),
- _("Override for height request of the widget, or -1 if natural request should be used"),
+ P_("Height request"),
+ P_("Override for height request of the widget, or -1 if natural request should be used"),
-1,
G_MAXINT,
-1,
@@ -436,101 +436,101 @@ gtk_widget_class_init (GtkWidgetClass *klass)
g_object_class_install_property (gobject_class,
PROP_VISIBLE,
g_param_spec_boolean ("visible",
- _("Visible"),
- _("Whether the widget is visible"),
+ P_("Visible"),
+ P_("Whether the widget is visible"),
FALSE,
G_PARAM_READWRITE));
g_object_class_install_property (gobject_class,
PROP_SENSITIVE,
g_param_spec_boolean ("sensitive",
- _("Sensitive"),
- _("Whether the widget responds to input"),
+ P_("Sensitive"),
+ P_("Whether the widget responds to input"),
TRUE,
G_PARAM_READWRITE));
g_object_class_install_property (gobject_class,
PROP_APP_PAINTABLE,
g_param_spec_boolean ("app_paintable",
- _("Application paintable"),
- _("Whether the application will paint directly on the widget"),
+ P_("Application paintable"),
+ P_("Whether the application will paint directly on the widget"),
FALSE,
G_PARAM_READWRITE));
g_object_class_install_property (gobject_class,
PROP_CAN_FOCUS,
g_param_spec_boolean ("can_focus",
- _("Can focus"),
- _("Whether the widget can accept the input focus"),
+ P_("Can focus"),
+ P_("Whether the widget can accept the input focus"),
FALSE,
G_PARAM_READWRITE));
g_object_class_install_property (gobject_class,
PROP_HAS_FOCUS,
g_param_spec_boolean ("has_focus",
- _("Has focus"),
- _("Whether the widget has the input focus"),
+ P_("Has focus"),
+ P_("Whether the widget has the input focus"),
FALSE,
G_PARAM_READWRITE));
g_object_class_install_property (gobject_class,
PROP_IS_FOCUS,
g_param_spec_boolean ("is_focus",
- _("Is focus"),
- _("Whether the widget is the focus widget within the toplevel"),
+ P_("Is focus"),
+ P_("Whether the widget is the focus widget within the toplevel"),
FALSE,
G_PARAM_READWRITE));
g_object_class_install_property (gobject_class,
PROP_CAN_DEFAULT,
g_param_spec_boolean ("can_default",
- _("Can default"),
- _("Whether the widget can be the default widget"),
+ P_("Can default"),
+ P_("Whether the widget can be the default widget"),
FALSE,
G_PARAM_READWRITE));
g_object_class_install_property (gobject_class,
PROP_HAS_DEFAULT,
g_param_spec_boolean ("has_default",
- _("Has default"),
- _("Whether the widget is the default widget"),
+ P_("Has default"),
+ P_("Whether the widget is the default widget"),
FALSE,
G_PARAM_READWRITE));
g_object_class_install_property (gobject_class,
PROP_RECEIVES_DEFAULT,
g_param_spec_boolean ("receives_default",
- _("Receives default"),
- _("If TRUE, the widget will receive the default action when it is focused"),
+ P_("Receives default"),
+ P_("If TRUE, the widget will receive the default action when it is focused"),
FALSE,
G_PARAM_READWRITE));
g_object_class_install_property (gobject_class,
PROP_COMPOSITE_CHILD,
g_param_spec_boolean ("composite_child",
- _("Composite child"),
- _("Whether the widget is part of a composite widget"),
+ P_("Composite child"),
+ P_("Whether the widget is part of a composite widget"),
FALSE,
G_PARAM_READABLE));
g_object_class_install_property (gobject_class,
PROP_STYLE,
g_param_spec_object ("style",
- _("Style"),
- _("The style of the widget, which contains information about how it will look (colors etc)"),
+ P_("Style"),
+ P_("The style of the widget, which contains information about how it will look (colors etc)"),
GTK_TYPE_STYLE,
G_PARAM_READWRITE));
g_object_class_install_property (gobject_class,
PROP_EVENTS,
g_param_spec_flags ("events",
- _("Events"),
- _("The event mask that decides what kind of GdkEvents this widget gets"),
+ P_("Events"),
+ P_("The event mask that decides what kind of GdkEvents this widget gets"),
GDK_TYPE_EVENT_MASK,
GDK_STRUCTURE_MASK,
G_PARAM_READWRITE));
g_object_class_install_property (gobject_class,
PROP_EXTENSION_EVENTS,
g_param_spec_enum ("extension_events",
- _("Extension events"),
- _("The mask that decides what kind of extension events this widget gets"),
+ P_("Extension events"),
+ P_("The mask that decides what kind of extension events this widget gets"),
GDK_TYPE_EXTENSION_MODE,
GDK_EXTENSION_EVENTS_NONE,
G_PARAM_READWRITE));
g_object_class_install_property (gobject_class,
PROP_NO_SHOW_ALL,
g_param_spec_boolean ("no_show_all",
- _("No show all"),
- _("Whether gtk_widget_show_all() should not affect this widget"),
+ P_("No show all"),
+ P_("Whether gtk_widget_show_all() should not affect this widget"),
FALSE,
G_PARAM_READWRITE));
widget_signals[SHOW] =
@@ -1359,46 +1359,46 @@ gtk_widget_class_init (GtkWidgetClass *klass)
gtk_widget_class_install_style_property (klass,
g_param_spec_boolean ("interior_focus",
- _("Interior Focus"),
- _("Whether to draw the focus indicator inside widgets"),
+ P_("Interior Focus"),
+ P_("Whether to draw the focus indicator inside widgets"),
TRUE,
G_PARAM_READABLE));
gtk_widget_class_install_style_property (klass,
g_param_spec_int ("focus-line-width",
- _("Focus linewidth"),
- _("Width, in pixels, of the focus indicator line"),
+ P_("Focus linewidth"),
+ P_("Width, in pixels, of the focus indicator line"),
0, G_MAXINT, 1,
G_PARAM_READWRITE));
gtk_widget_class_install_style_property (klass,
g_param_spec_string ("focus-line-pattern",
- _("Focus line dash pattern"),
- _("Dash pattern used to draw the focus indicator"),
+ P_("Focus line dash pattern"),
+ P_("Dash pattern used to draw the focus indicator"),
"\1\1",
G_PARAM_READWRITE));
gtk_widget_class_install_style_property (klass,
g_param_spec_int ("focus-padding",
- _("Focus padding"),
- _("Width, in pixels, between focus indicator and the widget 'box'"),
+ P_("Focus padding"),
+ P_("Width, in pixels, between focus indicator and the widget 'box'"),
0, G_MAXINT, 1,
G_PARAM_READWRITE));
gtk_widget_class_install_style_property (klass,
g_param_spec_boxed ("cursor-color",
- _("Cursor color"),
- _("Color with which to draw insertion cursor"),
+ P_("Cursor color"),
+ P_("Color with which to draw insertion cursor"),
GDK_TYPE_COLOR,
G_PARAM_READABLE));
gtk_widget_class_install_style_property (klass,
g_param_spec_boxed ("secondary-cursor-color",
- _("Secondary cursor color"),
- _("Color with which to draw the secondary insertion cursor when editing mixed right-to-left and left-to-right text"),
+ P_("Secondary cursor color"),
+ P_("Color with which to draw the secondary insertion cursor when editing mixed right-to-left and left-to-right text"),
GDK_TYPE_COLOR,
G_PARAM_READABLE));
gtk_widget_class_install_style_property (klass,
g_param_spec_float ("cursor-aspect-ratio",
- _("Cursor line aspect ratio"),
- _("Aspect ratio with which to draw insertion cursor"),
+ P_("Cursor line aspect ratio"),
+ P_("Aspect ratio with which to draw insertion cursor"),
0.0, 1.0, 0.04,
G_PARAM_READABLE));
}