[gnome-builder] libide/tweaks: rename action-target to value



commit 14cc56d912e795cd37c4966eb8696c0639feacc6
Author: Christian Hergert <chergert redhat com>
Date:   Wed Aug 24 14:57:25 2022 -0700

    libide/tweaks: rename action-target to value
    
    Since these are going to eventually go through the IdeTweaksBinding, we
    want to remove naming that has to do with "actions" perse since that
    isn't necessarily going to coincide with how they are bound.

 src/libide/tweaks/ide-tweaks-choice.c    | 40 ++++++++++++++++----------------
 src/libide/tweaks/ide-tweaks-choice.h    | 20 ++++++++--------
 src/libide/tweaks/ide-tweaks-combo-row.c |  2 +-
 src/libide/tweaks/ide-tweaks-combo.c     |  2 +-
 src/libide/tweaks/ide-tweaks-radio.c     | 38 +++++++++++++++---------------
 src/libide/tweaks/ide-tweaks-radio.h     | 26 ++++++++++-----------
 src/plugins/buildui/tweaks.ui            | 26 ++++++++++-----------
 src/plugins/editorui/tweaks-language.ui  |  4 ++--
 src/plugins/editorui/tweaks.ui           | 26 ++++++++++-----------
 src/plugins/platformui/tweaks.ui         |  4 ++--
 src/plugins/projectui/tweaks.ui          | 14 +++++------
 src/plugins/rust-analyzer/tweaks.ui      |  4 ++--
 src/plugins/sysprof/tweaks.ui            |  4 ++--
 src/plugins/valgrind/tweaks.ui           |  6 ++---
 src/plugins/vim/tweaks.ui                |  2 +-
 15 files changed, 109 insertions(+), 109 deletions(-)
---
diff --git a/src/libide/tweaks/ide-tweaks-choice.c b/src/libide/tweaks/ide-tweaks-choice.c
index b43fba338..68b2d494f 100644
--- a/src/libide/tweaks/ide-tweaks-choice.c
+++ b/src/libide/tweaks/ide-tweaks-choice.c
@@ -29,14 +29,14 @@ struct _IdeTweaksChoice
   IdeTweaksItem parent_instance;
   char *title;
   char *subtitle;
-  GVariant *action_target;
+  GVariant *value;
 };
 
 enum {
   PROP_0,
-  PROP_ACTION_TARGET,
   PROP_SUBTITLE,
   PROP_TITLE,
+  PROP_VALUE,
   N_PROPS
 };
 
@@ -51,7 +51,7 @@ ide_tweaks_choice_dispose (GObject *object)
 
   g_clear_pointer (&self->title, g_free);
   g_clear_pointer (&self->subtitle, g_free);
-  g_clear_pointer (&self->action_target, g_variant_unref);
+  g_clear_pointer (&self->value, g_variant_unref);
 
   G_OBJECT_CLASS (ide_tweaks_choice_parent_class)->dispose (object);
 }
@@ -74,8 +74,8 @@ ide_tweaks_choice_get_property (GObject    *object,
       g_value_set_string (value, ide_tweaks_choice_get_subtitle (self));
       break;
 
-    case PROP_ACTION_TARGET:
-      g_value_set_variant (value, ide_tweaks_choice_get_action_target (self));
+    case PROP_VALUE:
+      g_value_set_variant (value, ide_tweaks_choice_get_value (self));
       break;
 
     default:
@@ -101,8 +101,8 @@ ide_tweaks_choice_set_property (GObject      *object,
       ide_tweaks_choice_set_subtitle (self, g_value_get_string (value));
       break;
 
-    case PROP_ACTION_TARGET:
-      ide_tweaks_choice_set_action_target (self, g_value_get_variant (value));
+    case PROP_VALUE:
+      ide_tweaks_choice_set_value (self, g_value_get_variant (value));
       break;
 
     default:
@@ -129,8 +129,8 @@ ide_tweaks_choice_class_init (IdeTweaksChoiceClass *klass)
                          NULL,
                          (G_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY | G_PARAM_STATIC_STRINGS));
 
-  properties[PROP_ACTION_TARGET] =
-    g_param_spec_variant ("action-target", NULL, NULL,
+  properties[PROP_VALUE] =
+    g_param_spec_variant ("value", NULL, NULL,
                           G_VARIANT_TYPE_ANY,
                           NULL,
                           (G_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY | G_PARAM_STATIC_STRINGS));
@@ -160,34 +160,34 @@ ide_tweaks_choice_get_subtitle (IdeTweaksChoice *self)
 }
 
 /**
- * ide_tweaks_choice_get_action_target:
+ * ide_tweaks_choice_get_value:
  * @self: a #IdeTweaksChoice
  *
  * Returns: (transfer none) (nullable): A #GVariant or %NULL
  */
 GVariant *
-ide_tweaks_choice_get_action_target (IdeTweaksChoice *self)
+ide_tweaks_choice_get_value (IdeTweaksChoice *self)
 {
   g_return_val_if_fail (IDE_IS_TWEAKS_CHOICE (self), NULL);
 
-  return self->action_target;
+  return self->value;
 }
 
 void
-ide_tweaks_choice_set_action_target (IdeTweaksChoice *self,
-                                     GVariant        *action_target)
+ide_tweaks_choice_set_value (IdeTweaksChoice *self,
+                             GVariant        *value)
 {
   g_return_if_fail (IDE_IS_TWEAKS_CHOICE (self));
 
-  if (action_target == self->action_target)
+  if (value == self->value)
     return;
 
-  if (action_target != NULL)
-    g_variant_ref (action_target);
+  if (value != NULL)
+    g_variant_ref_sink (value);
 
-  g_clear_pointer (&self->action_target, g_variant_unref);
-  self->action_target = action_target;
-  g_object_notify_by_pspec (G_OBJECT (self), properties [PROP_ACTION_TARGET]);
+  g_clear_pointer (&self->value, g_variant_unref);
+  self->value = value;
+  g_object_notify_by_pspec (G_OBJECT (self), properties [PROP_VALUE]);
 }
 
 void
diff --git a/src/libide/tweaks/ide-tweaks-choice.h b/src/libide/tweaks/ide-tweaks-choice.h
index b1cafb003..0a6d7cae0 100644
--- a/src/libide/tweaks/ide-tweaks-choice.h
+++ b/src/libide/tweaks/ide-tweaks-choice.h
@@ -34,21 +34,21 @@ IDE_AVAILABLE_IN_ALL
 G_DECLARE_FINAL_TYPE (IdeTweaksChoice, ide_tweaks_choice, IDE, TWEAKS_CHOICE, IdeTweaksItem)
 
 IDE_AVAILABLE_IN_ALL
-IdeTweaksChoice *ide_tweaks_choice_new               (void);
+IdeTweaksChoice *ide_tweaks_choice_new          (void);
 IDE_AVAILABLE_IN_ALL
-const char      *ide_tweaks_choice_get_title         (IdeTweaksChoice *self);
+const char      *ide_tweaks_choice_get_title    (IdeTweaksChoice *self);
 IDE_AVAILABLE_IN_ALL
-void             ide_tweaks_choice_set_title         (IdeTweaksChoice *self,
-                                                      const char      *title);
+void             ide_tweaks_choice_set_title    (IdeTweaksChoice *self,
+                                                 const char      *title);
 IDE_AVAILABLE_IN_ALL
-const char      *ide_tweaks_choice_get_subtitle      (IdeTweaksChoice *self);
+const char      *ide_tweaks_choice_get_subtitle (IdeTweaksChoice *self);
 IDE_AVAILABLE_IN_ALL
-void             ide_tweaks_choice_set_subtitle      (IdeTweaksChoice *self,
-                                                      const char      *subtitle);
+void             ide_tweaks_choice_set_subtitle (IdeTweaksChoice *self,
+                                                 const char      *subtitle);
 IDE_AVAILABLE_IN_ALL
-GVariant        *ide_tweaks_choice_get_action_target (IdeTweaksChoice *self);
+GVariant        *ide_tweaks_choice_get_value    (IdeTweaksChoice *self);
 IDE_AVAILABLE_IN_ALL
-void             ide_tweaks_choice_set_action_target (IdeTweaksChoice *self,
-                                                      GVariant        *action_target);
+void             ide_tweaks_choice_set_value    (IdeTweaksChoice *self,
+                                                 GVariant        *value);
 
 G_END_DECLS
diff --git a/src/libide/tweaks/ide-tweaks-combo-row.c b/src/libide/tweaks/ide-tweaks-combo-row.c
index 03f0aebe8..dfc015e7a 100644
--- a/src/libide/tweaks/ide-tweaks-combo-row.c
+++ b/src/libide/tweaks/ide-tweaks-combo-row.c
@@ -58,7 +58,7 @@ ide_tweaks_combo_row_notify_selected_item (IdeTweaksComboRow *self,
 
   if ((choice = adw_combo_row_get_selected_item (ADW_COMBO_ROW (self))))
     {
-      GVariant *action_target = ide_tweaks_choice_get_action_target (choice);
+      GVariant *action_target = ide_tweaks_choice_get_value (choice);
 
       ide_settings_set_value (self->settings, self->key, action_target);
     }
diff --git a/src/libide/tweaks/ide-tweaks-combo.c b/src/libide/tweaks/ide-tweaks-combo.c
index c3f211ab8..1ae1c315f 100644
--- a/src/libide/tweaks/ide-tweaks-combo.c
+++ b/src/libide/tweaks/ide-tweaks-combo.c
@@ -79,7 +79,7 @@ ide_tweaks_combo_create_for_item (IdeTweaksWidget *instance,
     {
       if (!_ide_tweaks_item_is_hidden (child, root))
         {
-          GVariant *target = ide_tweaks_choice_get_action_target (IDE_TWEAKS_CHOICE (child));
+          GVariant *target = ide_tweaks_choice_get_value (IDE_TWEAKS_CHOICE (child));
 
           if (g_variant_equal (value, target))
             selected = i;
diff --git a/src/libide/tweaks/ide-tweaks-radio.c b/src/libide/tweaks/ide-tweaks-radio.c
index d56495555..93ae690a5 100644
--- a/src/libide/tweaks/ide-tweaks-radio.c
+++ b/src/libide/tweaks/ide-tweaks-radio.c
@@ -32,7 +32,7 @@ struct _IdeTweaksRadio
   char *title;
   char *subtitle;
   char *action_name;
-  GVariant *action_target;
+  GVariant *value;
 };
 
 enum {
@@ -40,7 +40,7 @@ enum {
   PROP_TITLE,
   PROP_SUBTITLE,
   PROP_ACTION_NAME,
-  PROP_ACTION_TARGET,
+  PROP_VALUE,
   N_PROPS
 };
 
@@ -60,7 +60,7 @@ ide_tweaks_radio_create_for_item (IdeTweaksWidget *instance,
 
   radio = g_object_new (GTK_TYPE_CHECK_BUTTON,
                         "action-name", self->action_name,
-                        "action-target", self->action_target,
+                        "action-target", self->value,
                         "can-target", FALSE,
                         "valign", GTK_ALIGN_CENTER,
                         NULL);
@@ -84,7 +84,7 @@ ide_tweaks_radio_dispose (GObject *object)
   g_clear_pointer (&self->title, g_free);
   g_clear_pointer (&self->subtitle, g_free);
   g_clear_pointer (&self->action_name, g_free);
-  g_clear_pointer (&self->action_target, g_variant_unref);
+  g_clear_pointer (&self->value, g_variant_unref);
 
   G_OBJECT_CLASS (ide_tweaks_radio_parent_class)->dispose (object);
 }
@@ -103,8 +103,8 @@ ide_tweaks_radio_get_property (GObject    *object,
       g_value_set_string (value, ide_tweaks_radio_get_action_name (self));
       break;
 
-    case PROP_ACTION_TARGET:
-      g_value_set_variant (value, ide_tweaks_radio_get_action_target (self));
+    case PROP_VALUE:
+      g_value_set_variant (value, ide_tweaks_radio_get_value (self));
       break;
 
     case PROP_SUBTITLE:
@@ -134,8 +134,8 @@ ide_tweaks_radio_set_property (GObject      *object,
       ide_tweaks_radio_set_action_name (self, g_value_get_string (value));
       break;
 
-    case PROP_ACTION_TARGET:
-      ide_tweaks_radio_set_action_target (self, g_value_get_variant (value));
+    case PROP_VALUE:
+      ide_tweaks_radio_set_value (self, g_value_get_variant (value));
       break;
 
     case PROP_SUBTITLE:
@@ -168,8 +168,8 @@ ide_tweaks_radio_class_init (IdeTweaksRadioClass *klass)
                          NULL,
                          (G_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY | G_PARAM_STATIC_STRINGS));
 
-  properties[PROP_ACTION_TARGET] =
-    g_param_spec_variant ("action-target", NULL, NULL,
+  properties[PROP_VALUE] =
+    g_param_spec_variant ("value", NULL, NULL,
                           G_VARIANT_TYPE_ANY,
                           NULL,
                           (G_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY | G_PARAM_STATIC_STRINGS));
@@ -201,17 +201,17 @@ ide_tweaks_radio_get_action_name (IdeTweaksRadio *self)
 }
 
 /**
- * ide_tweaks_radio_get_action_target:
+ * ide_tweaks_radio_get_value:
  * @self: a #IdeTweaksRadio
  *
  * Returns: (transfer none) (nullable): a #GVariant or %NULL
  */
 GVariant *
-ide_tweaks_radio_get_action_target (IdeTweaksRadio *self)
+ide_tweaks_radio_get_value (IdeTweaksRadio *self)
 {
   g_return_val_if_fail (IDE_IS_TWEAKS_RADIO (self), NULL);
 
-  return self->action_target;
+  return self->value;
 }
 
 const char *
@@ -241,17 +241,17 @@ ide_tweaks_radio_set_action_name (IdeTweaksRadio *self,
 }
 
 void
-ide_tweaks_radio_set_action_target (IdeTweaksRadio *self,
-                                    GVariant       *action_target)
+ide_tweaks_radio_set_value (IdeTweaksRadio *self,
+                            GVariant       *value)
 {
   g_return_if_fail (IDE_IS_TWEAKS_RADIO (self));
 
-  if (action_target == self->action_target)
+  if (value == self->value)
     return;
 
-  g_clear_pointer (&self->action_target, g_variant_unref);
-  self->action_target = action_target ? g_variant_ref_sink (action_target) : NULL;
-  g_object_notify_by_pspec (G_OBJECT (self), properties [PROP_ACTION_TARGET]);
+  g_clear_pointer (&self->value, g_variant_unref);
+  self->value = value ? g_variant_ref_sink (value) : NULL;
+  g_object_notify_by_pspec (G_OBJECT (self), properties [PROP_VALUE]);
 }
 
 void
diff --git a/src/libide/tweaks/ide-tweaks-radio.h b/src/libide/tweaks/ide-tweaks-radio.h
index 41531ecf6..cb191d29a 100644
--- a/src/libide/tweaks/ide-tweaks-radio.h
+++ b/src/libide/tweaks/ide-tweaks-radio.h
@@ -30,26 +30,26 @@ IDE_AVAILABLE_IN_ALL
 G_DECLARE_FINAL_TYPE (IdeTweaksRadio, ide_tweaks_radio, IDE, TWEAKS_RADIO, IdeTweaksWidget)
 
 IDE_AVAILABLE_IN_ALL
-IdeTweaksRadio *ide_tweaks_radio_new               (void);
+IdeTweaksRadio *ide_tweaks_radio_new             (void);
 IDE_AVAILABLE_IN_ALL
-const char     *ide_tweaks_radio_get_title         (IdeTweaksRadio *self);
+const char     *ide_tweaks_radio_get_title       (IdeTweaksRadio *self);
 IDE_AVAILABLE_IN_ALL
-void            ide_tweaks_radio_set_title         (IdeTweaksRadio *self,
-                                                    const char     *title);
+void            ide_tweaks_radio_set_title       (IdeTweaksRadio *self,
+                                                  const char     *title);
 IDE_AVAILABLE_IN_ALL
-const char     *ide_tweaks_radio_get_subtitle      (IdeTweaksRadio *self);
+const char     *ide_tweaks_radio_get_subtitle    (IdeTweaksRadio *self);
 IDE_AVAILABLE_IN_ALL
-void            ide_tweaks_radio_set_subtitle      (IdeTweaksRadio *self,
-                                                    const char     *subtitle);
+void            ide_tweaks_radio_set_subtitle    (IdeTweaksRadio *self,
+                                                  const char     *subtitle);
 IDE_AVAILABLE_IN_ALL
-const char     *ide_tweaks_radio_get_action_name   (IdeTweaksRadio *self);
+const char     *ide_tweaks_radio_get_action_name (IdeTweaksRadio *self);
 IDE_AVAILABLE_IN_ALL
-void            ide_tweaks_radio_set_action_name   (IdeTweaksRadio *self,
-                                                    const char     *action_name);
+void            ide_tweaks_radio_set_action_name (IdeTweaksRadio *self,
+                                                  const char     *action_name);
 IDE_AVAILABLE_IN_ALL
-GVariant       *ide_tweaks_radio_get_action_target (IdeTweaksRadio *self);
+GVariant       *ide_tweaks_radio_get_value       (IdeTweaksRadio *self);
 IDE_AVAILABLE_IN_ALL
-void            ide_tweaks_radio_set_action_target (IdeTweaksRadio *self,
-                                                    GVariant       *action_target);
+void            ide_tweaks_radio_set_value       (IdeTweaksRadio *self,
+                                                  GVariant       *value);
 
 G_END_DECLS
diff --git a/src/plugins/buildui/tweaks.ui b/src/plugins/buildui/tweaks.ui
index 276eca6c2..0d2ae9385 100644
--- a/src/plugins/buildui/tweaks.ui
+++ b/src/plugins/buildui/tweaks.ui
@@ -48,79 +48,79 @@
                         <child>
                           <object class="IdeTweaksChoice">
                             <property name="title" translatable="yes">Default</property>
-                            <property name="action-target">-1</property>
+                            <property name="value">-1</property>
                           </object>
                         </child>
                         <child>
                           <object class="IdeTweaksChoice">
                             <property name="title" translatable="yes">1 per CPU</property>
-                            <property name="action-target">0</property>
+                            <property name="value">0</property>
                           </object>
                         </child>
                         <child>
                           <object class="IdeTweaksChoice">
                             <property name="title" translatable="yes">1</property>
-                            <property name="action-target">1</property>
+                            <property name="value">1</property>
                           </object>
                         </child>
                         <child>
                           <object class="IdeTweaksChoice">
                             <property name="title" translatable="yes">2</property>
-                            <property name="action-target">2</property>
+                            <property name="value">2</property>
                           </object>
                         </child>
                         <child>
                           <object class="IdeTweaksChoice">
                             <property name="title" translatable="yes">4</property>
-                            <property name="action-target">2</property>
+                            <property name="value">2</property>
                           </object>
                         </child>
                         <child>
                           <object class="IdeTweaksChoice">
                             <property name="title" translatable="yes">6</property>
-                            <property name="action-target">2</property>
+                            <property name="value">2</property>
                           </object>
                         </child>
                         <child>
                           <object class="IdeTweaksChoice">
                             <property name="title" translatable="yes">8</property>
-                            <property name="action-target">2</property>
+                            <property name="value">2</property>
                           </object>
                         </child>
                         <child>
                           <object class="IdeTweaksChoice">
                             <property name="title" translatable="yes">16</property>
-                            <property name="action-target">2</property>
+                            <property name="value">2</property>
                           </object>
                         </child>
                         <child>
                           <object class="IdeTweaksChoice">
                             <property name="title" translatable="yes">32</property>
-                            <property name="action-target">2</property>
+                            <property name="value">2</property>
                           </object>
                         </child>
                         <child>
                           <object class="IdeTweaksChoice">
                             <property name="title" translatable="yes">64</property>
-                            <property name="action-target">2</property>
+                            <property name="value">2</property>
                           </object>
                         </child>
                         <child>
                           <object class="IdeTweaksChoice">
                             <property name="title" translatable="yes">128</property>
-                            <property name="action-target">2</property>
+                            <property name="value">2</property>
                           </object>
                         </child>
                         <child>
                           <object class="IdeTweaksChoice">
                             <property name="title" translatable="yes">256</property>
-                            <property name="action-target">2</property>
+                            <property name="value">2</property>
                           </object>
                         </child>
                         <child>
                           <object class="IdeTweaksChoice">
                             <property name="title" translatable="yes">512</property>
-                            <property name="action-target">2</property>
+                            <property name="value">2</property>
                           </object>
                         </child>
                       </object>
diff --git a/src/plugins/editorui/tweaks-language.ui b/src/plugins/editorui/tweaks-language.ui
index 24e9ed499..db2b27a9b 100644
--- a/src/plugins/editorui/tweaks-language.ui
+++ b/src/plugins/editorui/tweaks-language.ui
@@ -61,13 +61,13 @@
                                 <child>
                                   <object class="IdeTweaksChoice" id="tab_choice">
                                     <property name="title" translatable="yes">Tab</property>
-                                    <property name="action-target">false</property>
+                                    <property name="value">false</property>
                                   </object>
                                 </child>
                                 <child>
                                   <object class="IdeTweaksChoice" id="space_choice">
                                     <property name="title" translatable="yes">Spaces</property>
-                                    <property name="action-target">true</property>
+                                    <property name="value">true</property>
                                   </object>
                                 </child>
                               </object>
diff --git a/src/plugins/editorui/tweaks.ui b/src/plugins/editorui/tweaks.ui
index 73a433688..89b795c72 100644
--- a/src/plugins/editorui/tweaks.ui
+++ b/src/plugins/editorui/tweaks.ui
@@ -90,19 +90,19 @@
                             <child>
                               <object class="IdeTweaksChoice">
                                 <property name="title" translatable="yes">Never</property>
-                                <property name="action-target">'never'</property>
+                                <property name="value">'never'</property>
                               </object>
                             </child>
                             <child>
                               <object class="IdeTweaksChoice">
                                 <property name="title" translatable="yes">At Spaces</property>
-                                <property name="action-target">'whitespace'</property>
+                                <property name="value">'whitespace'</property>
                               </object>
                             </child>
                             <child>
                               <object class="IdeTweaksChoice">
                                 <property name="title" translatable="yes">Anywhere</property>
-                                <property name="action-target">'always'</property>
+                                <property name="value">'always'</property>
                               </object>
                             </child>
                           </object>
@@ -120,13 +120,13 @@
                             <child>
                               <object class="IdeTweaksChoice">
                                 <property name="title" translatable="yes">No Pattern</property>
-                                <property name="action-target">false</property>
+                                <property name="value">false</property>
                               </object>
                             </child>
                             <child>
                               <object class="IdeTweaksChoice">
                                 <property name="title" translatable="yes">Grid Lines</property>
-                                <property name="action-target">true</property>
+                                <property name="value">true</property>
                               </object>
                             </child>
                           </object>
@@ -145,19 +145,19 @@
                             <child>
                               <object class="IdeTweaksChoice">
                                 <property name="title" translatable="yes">Prefer Scrollbars</property>
-                                <property name="action-target">'never'</property>
+                                <property name="value">'never'</property>
                               </object>
                             </child>
                             <child>
                               <object class="IdeTweaksChoice">
                                 <property name="title" translatable="yes">Always On</property>
-                                <property name="action-target">'always'</property>
+                                <property name="value">'always'</property>
                               </object>
                             </child>
                             <child>
                               <object class="IdeTweaksChoice">
                                 <property name="title" translatable="yes">Automatic</property>
-                                <property name="action-target">'auto'</property>
+                                <property name="value">'auto'</property>
                               </object>
                             </child>
                           </object>
@@ -314,7 +314,7 @@
                             <child>
                               <object class="IdeTweaksChoice">
                                 <property name="title" translatable="yes">Builder</property>
-                                <property name="action-target">'default'</property>
+                                <property name="value">'default'</property>
                               </object>
                             </child>
                           </object>
@@ -340,25 +340,25 @@
                             <child>
                               <object class="IdeTweaksChoice">
                                 <property name="title" translatable="yes">Before line boundaries</property>
-                                <property name="action-target">'before'</property>
+                                <property name="value">'before'</property>
                               </object>
                             </child>
                             <child>
                               <object class="IdeTweaksChoice">
                                 <property name="title" translatable="yes">After line boundaries</property>
-                                <property name="action-target">'after'</property>
+                                <property name="value">'after'</property>
                               </object>
                             </child>
                             <child>
                               <object class="IdeTweaksChoice">
                                 <property name="title" translatable="yes">Instead of line 
boundaries</property>
-                                <property name="action-target">'always'</property>
+                                <property name="value">'always'</property>
                               </object>
                             </child>
                             <child>
                               <object class="IdeTweaksChoice">
                                 <property name="title" translatable="yes">Disabled</property>
-                                <property name="action-target">'disabled'</property>
+                                <property name="value">'disabled'</property>
                               </object>
                             </child>
                           </object>
diff --git a/src/plugins/platformui/tweaks.ui b/src/plugins/platformui/tweaks.ui
index b9e138180..848e968b9 100644
--- a/src/plugins/platformui/tweaks.ui
+++ b/src/plugins/platformui/tweaks.ui
@@ -31,13 +31,13 @@
                     <child>
                       <object class="IdeTweaksChoice">
                         <property name="title" translatable="yes">Tab Bar</property>
-                        <property name="action-target">'tab-bar'</property>
+                        <property name="value">'tab-bar'</property>
                       </object>
                     </child>
                     <child>
                       <object class="IdeTweaksChoice">
                         <property name="title" translatable="yes">Drop Down</property>
-                        <property name="action-target">'drop-down'</property>
+                        <property name="value">'drop-down'</property>
                       </object>
                     </child>
                   </object>
diff --git a/src/plugins/projectui/tweaks.ui b/src/plugins/projectui/tweaks.ui
index 739572475..0b32f667c 100644
--- a/src/plugins/projectui/tweaks.ui
+++ b/src/plugins/projectui/tweaks.ui
@@ -46,43 +46,43 @@
                     <child>
                       <object class="IdeTweaksChoice">
                         <property name="title">AGPL-3.0-or-later</property>
-                        <property name="action-target">'AGPL-3.0-or-later'</property>
+                        <property name="value">'AGPL-3.0-or-later'</property>
                       </object>
                     </child>
                     <child>
                       <object class="IdeTweaksChoice">
                         <property name="title">Apache-2.0</property>
-                        <property name="action-target">'Apache-2.0'</property>
+                        <property name="value">'Apache-2.0'</property>
                       </object>
                     </child>
                     <child>
                       <object class="IdeTweaksChoice">
                         <property name="title">GPL-2.0-or-later</property>
-                        <property name="action-target">'GPL-2.0-or-later'</property>
+                        <property name="value">'GPL-2.0-or-later'</property>
                       </object>
                     </child>
                     <child>
                       <object class="IdeTweaksChoice">
                         <property name="title">GPL-3.0-or-later</property>
-                        <property name="action-target">'GPL-3.0-or-later'</property>
+                        <property name="value">'GPL-3.0-or-later'</property>
                       </object>
                     </child>
                     <child>
                       <object class="IdeTweaksChoice">
                         <property name="title">LGPL-2.1-or-later</property>
-                        <property name="action-target">'LGPL-2.1-or-later'</property>
+                        <property name="value">'LGPL-2.1-or-later'</property>
                       </object>
                     </child>
                     <child>
                       <object class="IdeTweaksChoice">
                         <property name="title">LGPL-3.0-or-later</property>
-                        <property name="action-target">'LGPL-3.0-or-later'</property>
+                        <property name="value">'LGPL-3.0-or-later'</property>
                       </object>
                     </child>
                     <child>
                       <object class="IdeTweaksChoice">
                         <property name="title" translatable="yes">No License</property>
-                        <property name="action-target">'No License'</property>
+                        <property name="value">'No License'</property>
                       </object>
                     </child>
                   </object>
diff --git a/src/plugins/rust-analyzer/tweaks.ui b/src/plugins/rust-analyzer/tweaks.ui
index 03f9d5b9a..d0ef0aff9 100644
--- a/src/plugins/rust-analyzer/tweaks.ui
+++ b/src/plugins/rust-analyzer/tweaks.ui
@@ -27,13 +27,13 @@
                         <child>
                           <object class="IdeTweaksChoice">
                             <property name="title">check</property>
-                            <property name="action-target">'check'</property>
+                            <property name="value">'check'</property>
                           </object>
                         </child>
                         <child>
                           <object class="IdeTweaksChoice">
                             <property name="title">clippy</property>
-                            <property name="action-target">'clippy'</property>
+                            <property name="value">'clippy'</property>
                           </object>
                         </child>
                       </object>
diff --git a/src/plugins/sysprof/tweaks.ui b/src/plugins/sysprof/tweaks.ui
index 9c72c3bee..22e4fb5b0 100644
--- a/src/plugins/sysprof/tweaks.ui
+++ b/src/plugins/sysprof/tweaks.ui
@@ -41,13 +41,13 @@
                         <child>
                           <object class="IdeTweaksChoice">
                             <property name="title" translatable="yes">Don't Change Governor</property>
-                            <property name="action-target">true</property>
+                            <property name="value">true</property>
                           </object>
                         </child>
                         <child>
                           <object class="IdeTweaksChoice">
                             <property name="title" translatable="yes">Force Performance Mode</property>
-                            <property name="action-target">false</property>
+                            <property name="value">false</property>
                           </object>
                         </child>
                       </object>
diff --git a/src/plugins/valgrind/tweaks.ui b/src/plugins/valgrind/tweaks.ui
index 1f86c7485..837a98d9f 100644
--- a/src/plugins/valgrind/tweaks.ui
+++ b/src/plugins/valgrind/tweaks.ui
@@ -70,19 +70,19 @@
                         <child>
                           <object class="IdeTweaksChoice">
                             <property name="title">No</property>
-                            <property name="action-target">'no'</property>
+                            <property name="value">'no'</property>
                           </object>
                         </child>
                         <child>
                           <object class="IdeTweaksChoice">
                             <property name="title">Summary</property>
-                            <property name="action-target">'summary'</property>
+                            <property name="value">'summary'</property>
                           </object>
                         </child>
                         <child>
                           <object class="IdeTweaksChoice">
                             <property name="title">Full</property>
-                            <property name="action-target">'full'</property>
+                            <property name="value">'full'</property>
                           </object>
                         </child>
                       </object>
diff --git a/src/plugins/vim/tweaks.ui b/src/plugins/vim/tweaks.ui
index e5787fe09..327a95dd5 100644
--- a/src/plugins/vim/tweaks.ui
+++ b/src/plugins/vim/tweaks.ui
@@ -16,7 +16,7 @@
                             <child>
                               <object class="IdeTweaksChoice">
                                 <property name="title" translatable="yes">Vim</property>
-                                <property name="action-target">'vim'</property>
+                                <property name="value">'vim'</property>
                               </object>
                             </child>
                           </object>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]