]> spindle.queued.net Git - midori/commitdiff
Use more common Ctrl + Return to open a new tab from the location
authorDaniel Michalik <dev@blackamp.de>
Mon, 7 Dec 2009 22:58:45 +0000 (23:58 +0100)
committerChristian Dywan <christian@twotoasts.de>
Mon, 7 Dec 2009 22:59:06 +0000 (23:59 +0100)
midori/midori-locationaction.c

index 6c06a0e2d57d421d02fb96030c923524fbd7fa43..d2617db3319431f4a5fc45cd13b99c3ebf2ce5aa 100644 (file)
@@ -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;
         }
     }