make toolbar refresh smoother
authorPaul Mangan <paul@claws-mail.org>
Tue, 12 Feb 2002 23:05:32 +0000 (23:05 +0000)
committerPaul Mangan <paul@claws-mail.org>
Tue, 12 Feb 2002 23:05:32 +0000 (23:05 +0000)
ChangeLog.claws
configure.in
src/mainwindow.c

index 20a7008..b5d8d2e 100644 (file)
@@ -1,3 +1,10 @@
+2002-02-12 [paul]      0.7.0claws70
+
+       * src/mainwindow.c
+               cosmetic, relating to pixmap themes: on toolbar make 
+               updating of 'Exec' and 'Compose news/Compose email'
+               icons faster.
+
 2002-02-12 [carsten]   0.7.0claws69
        * src/folderview.c
          src/mainwindow.[ch]
index bb4966f..37c68c0 100644 (file)
@@ -8,7 +8,7 @@ MINOR_VERSION=7
 MICRO_VERSION=0
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=claws69
+EXTRA_VERSION=claws70
 VERSION=$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION$EXTRA_VERSION
 
 dnl set $target
index 12191d5..8bdf562 100644 (file)
@@ -1087,16 +1087,10 @@ void main_window_reflect_prefs_all(void)
                mainwin->toolbar = NULL;
                main_window_toolbar_create(mainwin, mainwin->handlebox);
                set_toolbar_style(mainwin);
+               activate_compose_button(mainwin, prefs_common.toolbar_style, mainwin->compose_btn_type);
                folderview_reflect_prefs_pixmap_theme(mainwin->folderview);
                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);
-
-               activate_compose_button(mainwin, prefs_common.toolbar_style, mainwin->compose_btn_type);
-
                summary_redisplay_msg(mainwin->summaryview);
                headerview_set_visibility(mainwin->messageview->headerview,
                                          prefs_common.display_header_pane);
@@ -3017,6 +3011,11 @@ 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);
        }
 }