define shortcut key 'o' for 'Open with...'
authorPaul Mangan <paul@claws-mail.org>
Fri, 21 Nov 2003 17:53:33 +0000 (17:53 +0000)
committerPaul Mangan <paul@claws-mail.org>
Fri, 21 Nov 2003 17:53:33 +0000 (17:53 +0000)
ChangeLog.claws
configure.ac
src/mimeview.c

index 5bcac301bf2a215a993ccd9fec91b3741b57057e..b17a370f38fb7fc8a60f8e29b7375763fa311fb7 100644 (file)
@@ -1,3 +1,8 @@
+2003-11-21 [paul]      0.9.6claws87
+
+       * src/mimeview.c
+               define shortcut key 'o' for 'Open with...'
+
 2003-11-21 [alfons]    0.9.6claws86
 
        * src/messageview.c
index b9f7abb9bbe1ecf00f35af2f2a70a1ff50a381f1..571f7b4dd5c1592194fe07d0a31381c0db30539b 100644 (file)
@@ -11,7 +11,7 @@ MINOR_VERSION=9
 MICRO_VERSION=6
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=86
+EXTRA_VERSION=87
 if test $EXTRA_VERSION -eq 0; then
     VERSION=${MAJOR_VERSION}.${MINOR_VERSION}.${MICRO_VERSION}claws
 else
index 3f5b7811de1b0992b549282b39f7960afe5311d0..5bd28b45e02d78221c6ad1238cfeb8163fb397e7 100644 (file)
@@ -902,6 +902,11 @@ static gint mimeview_key_pressed(GtkWidget *widget, GdkEventKey *event,
                KEY_PRESS_EVENT_STOP();
                mimeview_launch(mimeview);
                return TRUE;
+       case GDK_o:
+               BREAK_ON_MODIFIER_KEY();
+               KEY_PRESS_EVENT_STOP();
+               mimeview_open_with(mimeview);
+               return TRUE;
        default:
                break;
        }
@@ -1370,6 +1375,11 @@ static gint icon_key_pressed(GtkWidget *button, GdkEventKey *event,
                KEY_PRESS_EVENT_STOP();
                mimeview_launch(mimeview);
                return TRUE;
+       case GDK_o:
+               BREAK_ON_MODIFIER_KEY();
+               KEY_PRESS_EVENT_STOP();
+               mimeview_open_with(mimeview);
+               return TRUE;
        default:
                break;
        }