summaryrefslogtreecommitdiff
path: root/gtk/gtkcellrenderer.c
diff options
context:
space:
mode:
authorMatthias Clasen <maclas@gmx.de>2004-01-16 23:10:05 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2004-01-16 23:10:05 +0000
commit07d4d314b6e45daeb1bd22538aa7f057bcd37a65 (patch)
treea0d4c6086726f6a2428c08d70b5f10517bf11434 /gtk/gtkcellrenderer.c
parentfb526d239af04183f5751f209c269d13b244de80 (diff)
downloadgtk+-07d4d314b6e45daeb1bd22538aa7f057bcd37a65.tar.gz
The first part of the fix for #114351 (see also gdk-pixbuf/ChangeLog and
Fri Jan 16 23:59:01 2004 Matthias Clasen <maclas@gmx.de> The first part of the fix for #114351 (see also gdk-pixbuf/ChangeLog and po/ChangeLog): * gtk/gtkintl.h: * gdk-pixbuf/gdk-pixbuf-i18n.h: * gdk/gdkintl.h: Define P_() for property blurbs and nicks. * gdk/gdkdisplaymanager.c: * gdk-pixbuf/gdk-pixbuf.c: * modules/input/gtkimcontextxim.c: * gtk/*.c: Mark property blurbs and nicks with P_(). * po/Makefile.in.in: Add --keyword=P_ to the xgettext invocation, since property blurbs and nicks are now marked with P_().
Diffstat (limited to 'gtk/gtkcellrenderer.c')
-rw-r--r--gtk/gtkcellrenderer.c52
1 files changed, 26 insertions, 26 deletions
diff --git a/gtk/gtkcellrenderer.c b/gtk/gtkcellrenderer.c
index c19ee74976..dd721233a3 100644
--- a/gtk/gtkcellrenderer.c
+++ b/gtk/gtkcellrenderer.c
@@ -147,8 +147,8 @@ gtk_cell_renderer_class_init (GtkCellRendererClass *class)
g_object_class_install_property (object_class,
PROP_MODE,
g_param_spec_enum ("mode",
- _("mode"),
- _("Editable mode of the CellRenderer"),
+ P_("mode"),
+ P_("Editable mode of the CellRenderer"),
GTK_TYPE_CELL_RENDERER_MODE,
GTK_CELL_RENDERER_MODE_INERT,
G_PARAM_READABLE |
@@ -157,8 +157,8 @@ gtk_cell_renderer_class_init (GtkCellRendererClass *class)
g_object_class_install_property (object_class,
PROP_VISIBLE,
g_param_spec_boolean ("visible",
- _("visible"),
- _("Display the cell"),
+ P_("visible"),
+ P_("Display the cell"),
TRUE,
G_PARAM_READABLE |
G_PARAM_WRITABLE));
@@ -166,8 +166,8 @@ gtk_cell_renderer_class_init (GtkCellRendererClass *class)
g_object_class_install_property (object_class,
PROP_XALIGN,
g_param_spec_float ("xalign",
- _("xalign"),
- _("The x-align"),
+ P_("xalign"),
+ P_("The x-align"),
0.0,
1.0,
0.0,
@@ -177,8 +177,8 @@ gtk_cell_renderer_class_init (GtkCellRendererClass *class)
g_object_class_install_property (object_class,
PROP_YALIGN,
g_param_spec_float ("yalign",
- _("yalign"),
- _("The y-align"),
+ P_("yalign"),
+ P_("The y-align"),
0.0,
1.0,
0.5,
@@ -188,8 +188,8 @@ gtk_cell_renderer_class_init (GtkCellRendererClass *class)
g_object_class_install_property (object_class,
PROP_XPAD,
g_param_spec_uint ("xpad",
- _("xpad"),
- _("The xpad"),
+ P_("xpad"),
+ P_("The xpad"),
0,
100,
2,
@@ -199,8 +199,8 @@ gtk_cell_renderer_class_init (GtkCellRendererClass *class)
g_object_class_install_property (object_class,
PROP_YPAD,
g_param_spec_uint ("ypad",
- _("ypad"),
- _("The ypad"),
+ P_("ypad"),
+ P_("The ypad"),
0,
100,
2,
@@ -210,8 +210,8 @@ gtk_cell_renderer_class_init (GtkCellRendererClass *class)
g_object_class_install_property (object_class,
PROP_WIDTH,
g_param_spec_int ("width",
- _("width"),
- _("The fixed width"),
+ P_("width"),
+ P_("The fixed width"),
-1,
100,
-1,
@@ -221,8 +221,8 @@ gtk_cell_renderer_class_init (GtkCellRendererClass *class)
g_object_class_install_property (object_class,
PROP_HEIGHT,
g_param_spec_int ("height",
- _("height"),
- _("The fixed height"),
+ P_("height"),
+ P_("The fixed height"),
-1,
100,
-1,
@@ -232,8 +232,8 @@ gtk_cell_renderer_class_init (GtkCellRendererClass *class)
g_object_class_install_property (object_class,
PROP_IS_EXPANDER,
g_param_spec_boolean ("is_expander",
- _("Is Expander"),
- _("Row has children"),
+ P_("Is Expander"),
+ P_("Row has children"),
FALSE,
G_PARAM_READABLE |
G_PARAM_WRITABLE));
@@ -242,8 +242,8 @@ gtk_cell_renderer_class_init (GtkCellRendererClass *class)
g_object_class_install_property (object_class,
PROP_IS_EXPANDED,
g_param_spec_boolean ("is_expanded",
- _("Is Expanded"),
- _("Row is an expander row, and is expanded"),
+ P_("Is Expanded"),
+ P_("Row is an expander row, and is expanded"),
FALSE,
G_PARAM_READABLE |
G_PARAM_WRITABLE));
@@ -251,16 +251,16 @@ gtk_cell_renderer_class_init (GtkCellRendererClass *class)
g_object_class_install_property (object_class,
PROP_CELL_BACKGROUND,
g_param_spec_string ("cell_background",
- _("Cell background color name"),
- _("Cell background color as a string"),
+ P_("Cell background color name"),
+ P_("Cell background color as a string"),
NULL,
G_PARAM_WRITABLE));
g_object_class_install_property (object_class,
PROP_CELL_BACKGROUND_GDK,
g_param_spec_boxed ("cell_background_gdk",
- _("Cell background color"),
- _("Cell background color as a GdkColor"),
+ P_("Cell background color"),
+ P_("Cell background color as a GdkColor"),
GDK_TYPE_COLOR,
G_PARAM_READABLE | G_PARAM_WRITABLE));
@@ -268,8 +268,8 @@ gtk_cell_renderer_class_init (GtkCellRendererClass *class)
#define ADD_SET_PROP(propname, propval, nick, blurb) g_object_class_install_property (object_class, propval, g_param_spec_boolean (propname, nick, blurb, FALSE, G_PARAM_READABLE | G_PARAM_WRITABLE))
ADD_SET_PROP ("cell_background_set", PROP_CELL_BACKGROUND_SET,
- _("Cell background set"),
- _("Whether this tag affects the cell background color"));
+ P_("Cell background set"),
+ P_("Whether this tag affects the cell background color"));
g_type_class_add_private (object_class, sizeof (GtkCellRendererPrivate));
}