fix hiding of exec_btn
authorPaul Mangan <paul@claws-mail.org>
Mon, 17 Jun 2002 19:28:35 +0000 (19:28 +0000)
committerPaul Mangan <paul@claws-mail.org>
Mon, 17 Jun 2002 19:28:35 +0000 (19:28 +0000)
ChangeLog.claws
configure.in
src/mainwindow.c

index c92b677897b01a4dc5d07621fc347f7ae7ba1f9a..f8f536fa35e4f2c1f5d2b641e3c81e5ced8ff5ee 100644 (file)
@@ -1,3 +1,8 @@
+2002-06-17 [paul]      0.7.8claws6
+
+       * src/mainwindow.c
+               fix hiding of exec_btn
+
 2002-06-17 [paul]      0.7.8claws5
 
        * src/pop.c
index 5e4065b809ed707fb2cca60402de5c56b1c34d3e..45eb6ad14603989bb30a89f618975ebd7eae1e77 100644 (file)
@@ -8,7 +8,7 @@ MINOR_VERSION=7
 MICRO_VERSION=8
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=claws5
+EXTRA_VERSION=claws6
 VERSION=$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION$EXTRA_VERSION
 
 dnl set $target
index 2a1c24bbfd4749e50be72920a375eb41f29eedcd..af7ea287b61f449c5d73beab976812c32d32dcbd 100644 (file)
@@ -1185,6 +1185,11 @@ void main_window_reflect_prefs_all_real(gboolean pixmap_theme_changed)
                        summary_reflect_prefs_pixmap_theme(mainwin->summaryview);
                }
                
+               if (prefs_common.immediate_exec)
+                       gtk_widget_hide(mainwin->exec_btn);
+               else
+                       gtk_widget_show(mainwin->exec_btn);
+
                summary_redisplay_msg(mainwin->summaryview);
                headerview_set_visibility(mainwin->messageview->headerview,
                                          prefs_common.display_header_pane);
@@ -3366,11 +3371,6 @@ static void set_toolbar_style(MainWindow *mainwin)
        if (prefs_common.toolbar_style != TOOLBAR_NONE) {
                gtk_widget_show(mainwin->handlebox);
                gtk_widget_queue_resize(mainwin->handlebox);
-
-               if (prefs_common.immediate_exec)
-                       gtk_widget_hide(mainwin->exec_btn);
-               else
-                       gtk_widget_show(mainwin->exec_btn);
        }
 }