aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2005-11-08 21:10:50 +0800
committerChristian Persch <chpe@src.gnome.org>2005-11-08 21:10:50 +0800
commit0081e3e7afcb59c78529f6871cbf4f2802319c43 (patch)
treee5222b73ca5c317e30419d3336ee4b642e6a5d69
parent9bd86937bbf9842ed7884077a04f76757a086734 (diff)
downloadgsoc2013-epiphany-0081e3e7afcb59c78529f6871cbf4f2802319c43.tar
gsoc2013-epiphany-0081e3e7afcb59c78529f6871cbf4f2802319c43.tar.gz
gsoc2013-epiphany-0081e3e7afcb59c78529f6871cbf4f2802319c43.tar.bz2
gsoc2013-epiphany-0081e3e7afcb59c78529f6871cbf4f2802319c43.tar.lz
gsoc2013-epiphany-0081e3e7afcb59c78529f6871cbf4f2802319c43.tar.xz
gsoc2013-epiphany-0081e3e7afcb59c78529f6871cbf4f2802319c43.tar.zst
gsoc2013-epiphany-0081e3e7afcb59c78529f6871cbf4f2802319c43.zip
Don't translate param spec strings.
2005-11-08 Christian Persch <chpe@cvs.gnome.org> * lib/egg/eggstatusicon.c: (egg_status_icon_class_init): * lib/egg/eggtrayicon.c: (egg_tray_icon_class_init): * lib/egg/eggtraymanager.c: (egg_tray_manager_class_init): Don't translate param spec strings.
-rw-r--r--ChangeLog8
-rw-r--r--lib/egg/eggstatusicon.c29
-rw-r--r--lib/egg/eggtrayicon.c5
-rw-r--r--lib/egg/eggtraymanager.c5
4 files changed, 29 insertions, 18 deletions
diff --git a/ChangeLog b/ChangeLog
index bf7eccc7d..d2bd272c9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,13 @@
2005-11-08 Christian Persch <chpe@cvs.gnome.org>
+ * lib/egg/eggstatusicon.c: (egg_status_icon_class_init):
+ * lib/egg/eggtrayicon.c: (egg_tray_icon_class_init):
+ * lib/egg/eggtraymanager.c: (egg_tray_manager_class_init):
+
+ Don't translate param spec strings.
+
+2005-11-08 Christian Persch <chpe@cvs.gnome.org>
+
* embed/ephy-embed-single.c: (ephy_embed_single_iface_init):
* embed/mozilla/mozilla-embed-single.cpp:
diff --git a/lib/egg/eggstatusicon.c b/lib/egg/eggstatusicon.c
index a7c6278ec..b336a6676 100644
--- a/lib/egg/eggstatusicon.c
+++ b/lib/egg/eggstatusicon.c
@@ -39,6 +39,7 @@
#define _(x) x
#define N_(x) x
#endif
+#define P_(x) x
enum{
PROP_0,
@@ -148,40 +149,40 @@ egg_status_icon_class_init (EggStatusIconClass *klass)
g_object_class_install_property (gobject_class,
PROP_PIXBUF,
g_param_spec_object ("pixbuf",
- _("Pixbuf"),
- _("A GdkPixbuf to display"),
+ P_("Pixbuf"),
+ P_("A GdkPixbuf to display"),
GDK_TYPE_PIXBUF,
G_PARAM_READWRITE | G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB));
g_object_class_install_property (gobject_class,
PROP_FILE,
g_param_spec_string ("file",
- _("Filename"),
- _("Filename to load and display"),
+ P_("Filename"),
+ P_("Filename to load and display"),
NULL,
G_PARAM_WRITABLE | G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB));
g_object_class_install_property (gobject_class,
PROP_STOCK,
g_param_spec_string ("stock",
- _("Stock ID"),
- _("Stock ID for a stock image to display"),
+ P_("Stock ID"),
+ P_("Stock ID for a stock image to display"),
NULL,
G_PARAM_READWRITE | G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB));
g_object_class_install_property (gobject_class,
PROP_PIXBUF_ANIMATION,
g_param_spec_object ("pixbuf-animation",
- _("Animation"),
- _("GdkPixbufAnimation to display"),
+ P_("Animation"),
+ P_("GdkPixbufAnimation to display"),
GDK_TYPE_PIXBUF_ANIMATION,
G_PARAM_READWRITE | G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB));
g_object_class_install_property (gobject_class,
PROP_STORAGE_TYPE,
g_param_spec_enum ("image-type",
- _("Image type"),
- _("The representation being used for image data"),
+ P_("Image type"),
+ P_("The representation being used for image data"),
GTK_TYPE_IMAGE_TYPE,
GTK_IMAGE_EMPTY,
G_PARAM_READABLE | G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB));
@@ -189,8 +190,8 @@ egg_status_icon_class_init (EggStatusIconClass *klass)
g_object_class_install_property (gobject_class,
PROP_SIZE,
g_param_spec_int ("size",
- _("Size"),
- _("The size of the icon"),
+ P_("Size"),
+ P_("The size of the icon"),
G_MININT,
G_MAXINT,
0,
@@ -199,8 +200,8 @@ egg_status_icon_class_init (EggStatusIconClass *klass)
g_object_class_install_property (gobject_class,
PROP_BLINKING,
g_param_spec_boolean ("blinking",
- _("Blinking"),
- _("Whether or not the status icon is blinking"),
+ P_("Blinking"),
+ P_("Whether or not the status icon is blinking"),
FALSE,
G_PARAM_READWRITE | G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB));
diff --git a/lib/egg/eggtrayicon.c b/lib/egg/eggtrayicon.c
index eb23d2c5e..2ffa784b7 100644
--- a/lib/egg/eggtrayicon.c
+++ b/lib/egg/eggtrayicon.c
@@ -36,6 +36,7 @@
#define _(x) x
#define N_(x) x
#endif
+#define P_(x) x
#define SYSTEM_TRAY_REQUEST_DOCK 0
#define SYSTEM_TRAY_BEGIN_MESSAGE 1
@@ -117,8 +118,8 @@ egg_tray_icon_class_init (EggTrayIconClass *klass)
g_object_class_install_property (gobject_class,
PROP_ORIENTATION,
g_param_spec_enum ("orientation",
- _("Orientation"),
- _("The orientation of the tray."),
+ P_("Orientation"),
+ P_("The orientation of the tray."),
GTK_TYPE_ORIENTATION,
GTK_ORIENTATION_HORIZONTAL,
G_PARAM_READABLE | G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB));
diff --git a/lib/egg/eggtraymanager.c b/lib/egg/eggtraymanager.c
index cb3b7b2c5..0b9dabf52 100644
--- a/lib/egg/eggtraymanager.c
+++ b/lib/egg/eggtraymanager.c
@@ -40,6 +40,7 @@
#define _(x) x
#define N_(x) x
#endif
+#define P_(x) x
/* Signals */
enum
@@ -142,8 +143,8 @@ egg_tray_manager_class_init (EggTrayManagerClass *klass)
g_object_class_install_property (gobject_class,
PROP_ORIENTATION,
g_param_spec_enum ("orientation",
- _("Orientation"),
- _("The orientation of the tray."),
+ P_("Orientation"),
+ P_("The orientation of the tray."),
GTK_TYPE_ORIENTATION,
GTK_ORIENTATION_HORIZONTAL,
G_PARAM_READWRITE | G_PARAM_STATIC_NAME | G_PARAM_STATIC_NICK | G_PARAM_STATIC_BLURB | G_PARAM_CONSTRUCT));