* src/mimeview.c
authorLuke Plant <L.Plant.98@cantab.net>
Fri, 25 Jul 2003 12:39:29 +0000 (12:39 +0000)
committerLuke Plant <L.Plant.98@cantab.net>
Fri, 25 Jul 2003 12:39:29 +0000 (12:39 +0000)
o icon toggles set correctly on leaving ctree mimeview

ChangeLog.claws
configure.ac
src/mimeview.c

index 252e78a..26cf489 100644 (file)
@@ -1,3 +1,8 @@
+2003-07-25 [luke]      0.9.3claws52
+
+       * src/mimeview.c
+               o icon toggles set correctly on leaving ctree mimeview
+
 2003-07-25 [paul]      0.9.3claws51
 
        * partial sync with 0.9.3cvs21 [src/main.c]
index ca824b2..fa29ead 100644 (file)
@@ -11,7 +11,7 @@ MINOR_VERSION=9
 MICRO_VERSION=3
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=51
+EXTRA_VERSION=52
 VERSION=${MAJOR_VERSION}.${MINOR_VERSION}.${MICRO_VERSION}claws${EXTRA_VERSION}
 
 dnl set $target
index 5cc4b4f..6927453 100644 (file)
@@ -1570,6 +1570,10 @@ static void mime_toggle_button_cb (GtkWidget *button, MimeView *mimeview)
                gtk_box_pack_start(GTK_BOX(mimeview->icon_mainbox), 
                                   button, FALSE, FALSE, 0);
                gtk_box_reorder_child(GTK_BOX(button->parent), button, 0);
+               if (mimeview->opened)
+                       icon_list_toggle_by_mime_info
+                               (mimeview, gtk_ctree_node_get_row_data(GTK_CTREE(mimeview->ctree), 
+                                                                      mimeview->opened));
 
        }
        gtk_widget_grab_focus(button);