[chronojump] shortcuts window without icon at left



commit 1ded623573dacfe289e27ec40836b9c4c3008f8e
Author: Xavier de Blas <xaviblas gmail com>
Date:   Thu Apr 2 13:13:46 2020 +0200

    shortcuts window without icon at left

 src/constants.cs           | 2 +-
 src/gui/app1/chronojump.cs | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/constants.cs b/src/constants.cs
index cf781154..365c690d 100644
--- a/src/constants.cs
+++ b/src/constants.cs
@@ -892,7 +892,7 @@ public class Constants
 
        //for dialog windows
        public enum MessageTypes {
-               WARNING, INFO, HELP, INSPECT
+               WARNING, INFO, HELP, INSPECT, NONE
        }
 
        public static string NoStr()
diff --git a/src/gui/app1/chronojump.cs b/src/gui/app1/chronojump.cs
index 6865abdd..34a98dc8 100644
--- a/src/gui/app1/chronojump.cs
+++ b/src/gui/app1/chronojump.cs
@@ -6463,7 +6463,7 @@ LogB.Debug("mc finished 5");
        private void on_menuitem_accelerators_activate (object o, EventArgs args) {
                new DialogMessage(
                                Catalog.GetString("Use these keys in order to work faster."),
-                               Constants.MessageTypes.INFO, 
+                               Constants.MessageTypes.NONE,  //NONE because window is vertically big and the 
INFO icon looks weird there
                                Catalog.GetString("Persons") + ":\n" +
                                "\t<tt><b>CTRL+p</b></tt> " + Catalog.GetString("Edit selected person") + 
"\n" +
                                "\t<tt><b>CTRL+" + Catalog.GetString("CURSOR_UP") + "</b></tt> " + 
Catalog.GetString("Select previous person") + "\n" +


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