2004-08-21 [colin] 0.9.12cvs71
authorColin Leroy <colin@colino.net>
Sat, 21 Aug 2004 14:56:00 +0000 (14:56 +0000)
committerColin Leroy <colin@colino.net>
Sat, 21 Aug 2004 14:56:00 +0000 (14:56 +0000)
* src/summaryview.c
Fix bug 494 (Messages are always opened in summary
view when right clicked.)

ChangeLog.claws
PATCHSETS
configure.ac
src/summaryview.c

index 67633d3..df16bbb 100644 (file)
@@ -1,3 +1,9 @@
+2004-08-21 [colin]     0.9.12cvs71
+
+       * src/summaryview.c
+               Fix bug 494 (Messages are always opened in summary 
+               view when right clicked.)
+
 2004-08-21 [colin]     0.9.12cvs70
 
        * src/compose.c
index 06e04a8..339c0c0 100644 (file)
--- a/PATCHSETS
+++ b/PATCHSETS
@@ -53,3 +53,4 @@
 ( cvs diff -u -r 1.433 -r 1.434 src/compose.c; ) > 0.9.12cvs68.patchset
 ( cvs diff -u -r 1.434 -r 1.435 src/compose.c; ) > 0.9.12cvs69.patchset
 ( cvs diff -u -r 1.435 -r 1.436 src/compose.c; ) > 0.9.12cvs70.patchset
+( cvs diff -u -r 1.442 -r 1.443 src/summaryview.c; ) > 0.9.12cvs71.patchset
index 83b3c08..3603e28 100644 (file)
@@ -11,7 +11,7 @@ MINOR_VERSION=9
 MICRO_VERSION=12
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=70
+EXTRA_VERSION=71
 EXTRA_RELEASE=
 
 if test \( $EXTRA_VERSION -eq 0 \) -o \( "x$EXTRA_RELEASE" != "x" \); then
index 5466623..afeeb9d 100644 (file)
@@ -4273,12 +4273,12 @@ static void summary_button_pressed(GtkWidget *ctree, GdkEventButton *event,
        if (!event) return;
 
        if (event->button == 3) {
-               summaryview->display_msg = TRUE;
+               summaryview->display_msg = messageview_is_visible(summaryview->messageview);
                /* right clicked */
                gtk_menu_popup(GTK_MENU(summaryview->popupmenu), NULL, NULL,
                               NULL, NULL, event->button, event->time);
        } else if (event->button == 2) {
-               summaryview->display_msg = TRUE;
+               summaryview->display_msg = messageview_is_visible(summaryview->messageview);
        } else if (event->button == 1) {
                if (!prefs_common.emulate_emacs &&
                    messageview_is_visible(summaryview->messageview))