[Xfce4-commits] <midori:master> Use more common Ctrl + Return to open a new tab from the location

Christian Dywan noreply at xfce.org
Tue Dec 8 00:02:01 CET 2009


Updating branch refs/heads/master
         to 7c8030764250718ed5e0108ce0380cd24827cdd1 (commit)
       from af4d68b6b00d5acf3975741f9ad09ab51044cb76 (commit)

commit 7c8030764250718ed5e0108ce0380cd24827cdd1
Author: Daniel Michalik <dev at blackamp.de>
Date:   Mon Dec 7 23:58:45 2009 +0100

    Use more common Ctrl + Return to open a new tab from the location

 midori/midori-locationaction.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/midori/midori-locationaction.c b/midori/midori-locationaction.c
index 6c06a0e..d2617db 100644
--- a/midori/midori-locationaction.c
+++ b/midori/midori-locationaction.c
@@ -571,7 +571,7 @@ midori_location_action_key_press_event_cb (GtkEntry*    entry,
         if ((uri = gtk_entry_get_text (entry)) && *uri)
         {
             g_signal_emit (action, signals[SUBMIT_URI], 0, uri,
-                (event->state & GDK_MOD1_MASK) ? TRUE : FALSE);
+                (event->state & GDK_CONTROL_MASK) ? TRUE : FALSE);
             return TRUE;
         }
     }



More information about the Xfce4-commits mailing list