[evince] Unbind the default binding for the GtkIconView



commit 6188aa2985ef78397d45038efddc87247c5a9f76
Author: Anuj Khare <khareanuj18 gmail com>
Date:   Sun Feb 23 13:35:20 2014 +0530

    Unbind the default binding for the GtkIconView
    
    The "<Control>p" binding/event is expected to launch the print dialog
    but is currently being eaten by the IconView. Unbind to stop this
    occurring. Unbind "<Control>n" for consistency.
    
    Based on Michael Wood's patch.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=705846

 shell/evince.css |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)
---
diff --git a/shell/evince.css b/shell/evince.css
index d86b48d..4996403 100644
--- a/shell/evince.css
+++ b/shell/evince.css
@@ -39,3 +39,12 @@ EvSidebarThumbnails.page-thumbnail {
 EvSidebarThumbnails.page-thumbnail.inverted {
     background-color: black;
 }
+
+ binding-set MoveCursor {
+    unbind "<Control>p";
+    unbind "<Control>n";
+}
+
+GtkIconView {
+    gtk-key-bindings: MoveCursor;
+}


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