dillo_viewer.c: fixed bug where it was impossible to view more than 1 text/html per...
authorMelvin Hadasht <melvin.hadasht@free.fr>
Sun, 16 Mar 2003 09:09:35 +0000 (09:09 +0000)
committerMelvin Hadasht <melvin.hadasht@free.fr>
Sun, 16 Mar 2003 09:09:35 +0000 (09:09 +0000)
ChangeLog.claws
configure.ac
src/plugins/dillo_viewer/dillo_viewer.c

index b86e98f..a11f356 100644 (file)
@@ -1,3 +1,10 @@
+2003-03-16 [melvin]    0.8.11claws16
+
+       * src/plugins/dillo_viewer.c
+               Fixed bug where it was not possible to view more than
+               one text/html attachment per message (bug discovered
+               by Christoph Hohmann).
+
 2003-03-15 [melvin]    0.8.11claws15
 
        * src/prefs_actions.c
index e37f2e4..1996f24 100644 (file)
@@ -11,7 +11,7 @@ MINOR_VERSION=8
 MICRO_VERSION=11
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=claws15
+EXTRA_VERSION=claws16
 VERSION=$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION$EXTRA_VERSION
 
 dnl set $target
index eb0e8ac..fa222f7 100644 (file)
@@ -71,6 +71,8 @@ static void dillo_show_mimepart(MimeViewer *_viewer, const gchar *infile, MimeIn
        
        if (!(procmime_get_part(viewer->filename, infile, partinfo) < 0)) {
                gchar *cmd;
+               if (viewer->socket)
+                       gtk_widget_destroy(viewer->socket);
                viewer->socket = gtk_socket_new();
                debug_print("Adding dillo socket %p", viewer->socket);
                gtk_container_add(GTK_CONTAINER(viewer->widget),