[iagno/arnaudb/wip/gtk4: 11/54] Adapt to Button API.



commit fb62b7437019d6add113603cd9f4216152277c7c
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date:   Fri Feb 14 05:41:40 2020 +0100

    Adapt to Button API.

 src/overlayed-list.vala | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/overlayed-list.vala b/src/overlayed-list.vala
index ef5db6f..9cc2a49 100644
--- a/src/overlayed-list.vala
+++ b/src/overlayed-list.vala
@@ -58,8 +58,8 @@ private abstract class OverlayedList : Overlay, AdaptativeWidget
             leave_edit_mode_button.set_detailed_action_name (value + ".set-edit-mode(false)");
         }
     }
-    [CCode (notify = false)] public string first_mode_name   { protected set { leave_edit_mode_button.text = 
value; }}
-    [CCode (notify = false)] public string second_mode_name  { protected set { enter_edit_mode_button.text = 
value; }}
+    [CCode (notify = false)] public string first_mode_name   { protected set { leave_edit_mode_button.label 
= value; }}
+    [CCode (notify = false)] public string second_mode_name  { protected set { enter_edit_mode_button.label 
= value; }}
 
     [CCode (notify = false)] public bool needs_shadows
     {


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