summaryrefslogtreecommitdiff
path: root/gtk/gtktoolbar.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/gtktoolbar.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/gtktoolbar.c')
-rw-r--r--gtk/gtktoolbar.c48
1 files changed, 24 insertions, 24 deletions
diff --git a/gtk/gtktoolbar.c b/gtk/gtktoolbar.c
index d4af5cc1c8..eabd4d9b58 100644
--- a/gtk/gtktoolbar.c
+++ b/gtk/gtktoolbar.c
@@ -438,8 +438,8 @@ gtk_toolbar_class_init (GtkToolbarClass *klass)
g_object_class_install_property (gobject_class,
PROP_ORIENTATION,
g_param_spec_enum ("orientation",
- _("Orientation"),
- _("The orientation of the toolbar"),
+ P_("Orientation"),
+ P_("The orientation of the toolbar"),
GTK_TYPE_ORIENTATION,
GTK_ORIENTATION_HORIZONTAL,
G_PARAM_READWRITE));
@@ -447,16 +447,16 @@ gtk_toolbar_class_init (GtkToolbarClass *klass)
g_object_class_install_property (gobject_class,
PROP_TOOLBAR_STYLE,
g_param_spec_enum ("toolbar_style",
- _("Toolbar Style"),
- _("How to draw the toolbar"),
+ P_("Toolbar Style"),
+ P_("How to draw the toolbar"),
GTK_TYPE_TOOLBAR_STYLE,
GTK_TOOLBAR_ICONS,
G_PARAM_READWRITE));
g_object_class_install_property (gobject_class,
PROP_SHOW_ARROW,
g_param_spec_boolean ("show_arrow",
- _("Show Arrow"),
- _("If an arrow should be shown if the toolbar doesn't fit"),
+ P_("Show Arrow"),
+ P_("If an arrow should be shown if the toolbar doesn't fit"),
TRUE,
G_PARAM_READWRITE));
@@ -464,24 +464,24 @@ gtk_toolbar_class_init (GtkToolbarClass *klass)
gtk_container_class_install_child_property (container_class,
CHILD_PROP_EXPAND,
g_param_spec_boolean ("expand",
- _("Expand"),
- _("Whether the item should receive extra space when the toolbar grows"),
+ P_("Expand"),
+ P_("Whether the item should receive extra space when the toolbar grows"),
TRUE,
G_PARAM_READWRITE));
gtk_container_class_install_child_property (container_class,
CHILD_PROP_HOMOGENEOUS,
g_param_spec_boolean ("homogeneous",
- _("Homogeneous"),
- _("Whether the item should be the same size as other homogeneous items"),
+ P_("Homogeneous"),
+ P_("Whether the item should be the same size as other homogeneous items"),
TRUE,
G_PARAM_READWRITE));
/* style properties */
gtk_widget_class_install_style_property (widget_class,
g_param_spec_int ("space_size",
- _("Spacer size"),
- _("Size of spacers"),
+ P_("Spacer size"),
+ P_("Size of spacers"),
0,
G_MAXINT,
DEFAULT_SPACE_SIZE,
@@ -489,8 +489,8 @@ gtk_toolbar_class_init (GtkToolbarClass *klass)
gtk_widget_class_install_style_property (widget_class,
g_param_spec_int ("internal_padding",
- _("Internal padding"),
- _("Amount of border space between the toolbar shadow and the buttons"),
+ P_("Internal padding"),
+ P_("Amount of border space between the toolbar shadow and the buttons"),
0,
G_MAXINT,
DEFAULT_IPADDING,
@@ -498,37 +498,37 @@ gtk_toolbar_class_init (GtkToolbarClass *klass)
gtk_widget_class_install_style_property (widget_class,
g_param_spec_enum ("space_style",
- _("Space style"),
- _("Whether spacers are vertical lines or just blank"),
+ P_("Space style"),
+ P_("Whether spacers are vertical lines or just blank"),
GTK_TYPE_TOOLBAR_SPACE_STYLE,
DEFAULT_SPACE_STYLE,
G_PARAM_READABLE));
gtk_widget_class_install_style_property (widget_class,
g_param_spec_enum ("button_relief",
- _("Button relief"),
- _("Type of bevel around toolbar buttons"),
+ P_("Button relief"),
+ P_("Type of bevel around toolbar buttons"),
GTK_TYPE_RELIEF_STYLE,
GTK_RELIEF_NONE,
G_PARAM_READABLE));
gtk_widget_class_install_style_property (widget_class,
g_param_spec_enum ("shadow_type",
- _("Shadow type"),
- _("Style of bevel around the toolbar"),
+ P_("Shadow type"),
+ P_("Style of bevel around the toolbar"),
GTK_TYPE_SHADOW_TYPE,
GTK_SHADOW_OUT,
G_PARAM_READABLE));
gtk_settings_install_property (g_param_spec_enum ("gtk-toolbar-style",
- _("Toolbar style"),
- _("Whether default toolbars have text only, text and icons, icons only, etc."),
+ P_("Toolbar style"),
+ P_("Whether default toolbars have text only, text and icons, icons only, etc."),
GTK_TYPE_TOOLBAR_STYLE,
DEFAULT_TOOLBAR_STYLE,
G_PARAM_READWRITE));
gtk_settings_install_property (g_param_spec_enum ("gtk-toolbar-icon-size",
- _("Toolbar icon size"),
- _("Size of icons in default toolbars"),
+ P_("Toolbar icon size"),
+ P_("Size of icons in default toolbars"),
GTK_TYPE_ICON_SIZE,
DEFAULT_ICON_SIZE,
G_PARAM_READWRITE));