From 7b268f6965245d39a8cf63d0bcdd7caefa06730f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jean-Fran=C3=A7ois=20Fortin=20Tam?= Date: Sat, 16 Mar 2013 13:13:14 -0400 Subject: [PATCH] frei0r: improve readability of RGB and XY property nickname strings Also fix the Y prop nickname string being incorrect. https://bugzilla.gnome.org/show_bug.cgi?id=695884 --- gst/frei0r/gstfrei0r.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/gst/frei0r/gstfrei0r.c b/gst/frei0r/gstfrei0r.c index 73cf9a2bbd..a1bf03bf9c 100644 --- a/gst/frei0r/gstfrei0r.c +++ b/gst/frei0r/gstfrei0r.c @@ -137,7 +137,7 @@ gst_frei0r_klass_install_properties (GObjectClass * gobject_class, if (!(def <= 1.0 && def >= 0.0)) def = 0.0; prop_name_full = g_strconcat (prop_name, "-r", NULL); - prop_nick_full = g_strconcat (param_info->name, "-R", NULL); + prop_nick_full = g_strconcat (param_info->name, " (R)", NULL); g_object_class_install_property (gobject_class, count++, g_param_spec_float (prop_name_full, prop_nick_full, param_info->explanation, 0.0, 1.0, def, @@ -150,7 +150,7 @@ gst_frei0r_klass_install_properties (GObjectClass * gobject_class, if (!(def <= 1.0 && def >= 0.0)) def = 0.0; prop_name_full = g_strconcat (prop_name, "-g", NULL); - prop_nick_full = g_strconcat (param_info->name, "-G", NULL); + prop_nick_full = g_strconcat (param_info->name, " (G)", NULL); g_object_class_install_property (gobject_class, count++, g_param_spec_float (prop_name_full, prop_nick_full, param_info->explanation, 0.0, 1.0, def, @@ -163,7 +163,7 @@ gst_frei0r_klass_install_properties (GObjectClass * gobject_class, if (!(def <= 1.0 && def >= 0.0)) def = 0.0; prop_name_full = g_strconcat (prop_name, "-b", NULL); - prop_nick_full = g_strconcat (param_info->name, "-B", NULL); + prop_nick_full = g_strconcat (param_info->name, " (B)", NULL); g_object_class_install_property (gobject_class, count++, g_param_spec_float (prop_name_full, prop_nick_full, param_info->explanation, 0.0, 1.0, def, @@ -184,7 +184,7 @@ gst_frei0r_klass_install_properties (GObjectClass * gobject_class, if (!(def <= 1.0 && def >= 0.0)) def = 0.0; prop_name_full = g_strconcat (prop_name, "-x", NULL); - prop_nick_full = g_strconcat (param_info->name, "-X", NULL); + prop_nick_full = g_strconcat (param_info->name, " (X)", NULL); g_object_class_install_property (gobject_class, count++, g_param_spec_double (prop_name_full, prop_nick_full, param_info->explanation, 0.0, 1.0, def, @@ -197,7 +197,7 @@ gst_frei0r_klass_install_properties (GObjectClass * gobject_class, if (!(def <= 1.0 && def >= 0.0)) def = 0.0; prop_name_full = g_strconcat (prop_name, "-Y", NULL); - prop_nick_full = g_strconcat (param_info->name, "-X", NULL); + prop_nick_full = g_strconcat (param_info->name, " (Y)", NULL); g_object_class_install_property (gobject_class, count++, g_param_spec_double (prop_name_full, prop_nick_full, param_info->explanation, 0.0, 1.0, def,