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 b86e98fd8b653b777fa9313e6d5d474c15619456..a11f3567e85cb088dc5501a98e0298c17b12f46f 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
 2003-03-15 [melvin]    0.8.11claws15
 
        * src/prefs_actions.c
index e37f2e4a51de3f8652d20b5baf0d9fbe5850757e..1996f24d3903f96fad16676874ca303c045ebb9a 100644 (file)
@@ -11,7 +11,7 @@ MINOR_VERSION=8
 MICRO_VERSION=11
 INTERFACE_AGE=0
 BINARY_AGE=0
 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
 VERSION=$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION$EXTRA_VERSION
 
 dnl set $target
index eb0e8ac44b4e8111514661f177b1a33fcbbe8eda..fa222f741c02d2f85b38c5c7c8dc36d61b14a045 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 (!(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),
                viewer->socket = gtk_socket_new();
                debug_print("Adding dillo socket %p", viewer->socket);
                gtk_container_add(GTK_CONTAINER(viewer->widget),