mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-10-02 00:32:43 +00:00
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
This commit is contained in:
parent
53d33062e1
commit
7b268f6965
1 changed files with 5 additions and 5 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue