[chronojump/FS-TFT-Menu] Fixed: Cancel and Accept have the same icon (on generic window when there's only one widget)



commit 677a68cba5497035fd5b48a4ea8118695cd13714
Author: Xavier de Blas <xaviblas gmail com>
Date:   Thu Apr 21 17:05:27 2022 +0200

    Fixed: Cancel and Accept have the same icon (on generic window when there's only one widget)

 src/gui/genericWindow.cs | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/src/gui/genericWindow.cs b/src/gui/genericWindow.cs
index 605f2829c..fa5e00c9d 100644
--- a/src/gui/genericWindow.cs
+++ b/src/gui/genericWindow.cs
@@ -201,6 +201,9 @@ public class GenericWindow
 
                GenericWindowBox.hideWidgets();
 
+               GenericWindowBox.image_button_cancel.Pixbuf = new Pixbuf (null, Util.GetImagePath(false) + 
"image_cancel.png");
+               GenericWindowBox.image_button_accept.Pixbuf = new Pixbuf (null, Util.GetImagePath(false) + 
"image_done_blue.png");
+
                GenericWindowBox.showWidget(stuff, sensitive);
                GenericWindowBox.generic_window.Show ();
                


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