restore double-clicking of the [application/pgp-signature (Select 'Check signature...
authorPaul Mangan <paul@claws-mail.org>
Sat, 26 Apr 2003 12:01:41 +0000 (12:01 +0000)
committerPaul Mangan <paul@claws-mail.org>
Sat, 26 Apr 2003 12:01:41 +0000 (12:01 +0000)
ChangeLog.claws
configure.ac
src/mimeview.c

index 46ae379..e111296 100644 (file)
@@ -1,3 +1,10 @@
+2003-04-26 [paul]      0.8.11claws115
+
+       * src/mimeview.c
+               restore double-clicking of the [application/pgp-signature 
+               (Select "Check signature" to check)] line in the message view,
+               broken in recent sync
+
 2003-04-26 [christoph] 0.8.11claws114
 
        * src/folder.c
index a7e58aa..56cc619 100644 (file)
@@ -11,7 +11,7 @@ MINOR_VERSION=8
 MICRO_VERSION=11
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=claws114
+EXTRA_VERSION=claws115
 VERSION=$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION$EXTRA_VERSION
 
 dnl set $target
index ddeda1f..b4459b7 100644 (file)
@@ -243,7 +243,8 @@ static gboolean mimeview_is_signed(MimeView *mimeview)
 
         debug_print("mimeview_is_signed: file\n" );
 
-       partinfo = mimeview_get_selected_part(mimeview);
+       partinfo = gtk_ctree_node_get_row_data
+               (GTK_CTREE(mimeview->ctree), mimeview->opened);
        g_return_val_if_fail(partinfo != NULL, FALSE);
 
        /* walk the tree and see whether there is a signature somewhere */
@@ -1119,7 +1120,8 @@ void mimeview_check_signature(MimeView *mimeview)
        g_return_if_fail (mimeview_is_signed(mimeview));
        g_return_if_fail (gpg_started);
 
-       mimeinfo = mimeview_get_selected_part(mimeview);
+       mimeinfo = gtk_ctree_node_get_row_data
+               (GTK_CTREE(mimeview->ctree), mimeview->opened);
        g_return_if_fail(mimeinfo != NULL);
        g_return_if_fail(mimeview->file != NULL);