[Commits] [SCM] clawsker branch, master, updated. 1.2.0-41-g690514b

mones at claws-mail.org mones at claws-mail.org
Sun Nov 18 11:57:49 CET 2018


The branch, master has been updated
       via  690514baf175314bb9adc20b948adf36a3574d93 (commit)
      from  cd65b1a420865029b16250b2773438128bd445c4 (commit)

Summary of changes:
 clawsker |   21 +++++++++------------
 1 file changed, 9 insertions(+), 12 deletions(-)


- Log -----------------------------------------------------------------
commit 690514baf175314bb9adc20b948adf36a3574d93
Author: Ricardo Mones <ricardo at mones.org>
Date:   Sun Nov 18 11:56:34 2018 +0100

    Gather some more constants

diff --git a/clawsker b/clawsker
index 52a6fd9..b99b656 100755
--- a/clawsker
+++ b/clawsker
@@ -273,12 +273,17 @@ use constant {
     # constants for GUI spacing
     HBOX_PAD => 5,
     GRID_SPC => 10,
+    # for data references indexing
+    VALUE => 0,
+    IVALUE => 1,
+    # hotkey list store columns
+    C_LABEL => 0,
+    C_HOTKEY => 1,
+    C_GROUP => 2,
+    C_ACCEL => 3,
+    C_ODDITY => 4,
 };
 
-# for data references indexing
-use constant VALUE => 0;
-use constant IVALUE => 1;
-
 # version functions
 
 sub version_greater_or_equal {
@@ -2076,14 +2081,6 @@ sub new_plugins_page() {
     ]);
 }
 
-use constant {
-    C_LABEL => 0,
-    C_HOTKEY => 1,
-    C_GROUP => 2,
-    C_ACCEL => 3,
-    C_ODDITY => 4,
-};
-
 sub new_hotkeys_list_label {
     my $renderer = Gtk3::CellRendererText->new ();
     $renderer->set_property('alignment' => 'left');

-----------------------------------------------------------------------


hooks/post-receive
-- 
Hidden preferences editor for Claws Mail


More information about the Commits mailing list