[gnome-sudoku] Show earmark picker on right-click and Ctrl-Click



commit 15c33fae284e7a67a8eb86cec6297be2219b9d18
Author: Parin Porecha <parinporecha gmail com>
Date:   Thu May 29 12:23:47 2014 +0530

    Show earmark picker on right-click and Ctrl-Click
    
    and show earmarked numbers inline across the top
    
    https://bugzilla.gnome.org/show_bug.cgi?id=633464

 src/sudoku-view.vala |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/sudoku-view.vala b/src/sudoku-view.vala
index 31ac45c..42ce32c 100644
--- a/src/sudoku-view.vala
+++ b/src/sudoku-view.vala
@@ -203,14 +203,14 @@ private class SudokuCellView : Gtk.DrawingArea
             return false;
         }
 
-        if (event.button == 1)            // Primary-Click
+        if (event.button == 1)            // Left-Click
         {
             if (!_show_possibilities && (event.state & ModifierType.CONTROL_MASK) > 0)
                 show_earmark_picker ();
             else
                 show_number_picker ();
         }
-        else if (!_show_possibilities && event.button == 3)         // Secondary-Click
+        else if (!_show_possibilities && event.button == 3)         // Right-Click
             show_earmark_picker ();
 
         return false;


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