2008-07-16 [colin] 3.5.0cvs24
authorColin Leroy <colin@colino.net>
Wed, 16 Jul 2008 06:36:21 +0000 (06:36 +0000)
committerColin Leroy <colin@colino.net>
Wed, 16 Jul 2008 06:36:21 +0000 (06:36 +0000)
* src/mainwindow.c
Fix folderview's scrolbar when starting minimised
to tray, and popping up the mainwindow by calling
claws-mail from the command line

ChangeLog
PATCHSETS
configure.ac
src/mainwindow.c

index 9e4928b..18913a9 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2008-07-16 [colin]     3.5.0cvs24
+
+       * src/mainwindow.c
+               Fix folderview's scrolbar when starting minimised
+               to tray, and popping up the mainwindow by calling
+               claws-mail from the command line
+
 2008-07-08 [colin]     3.5.0cvs23
 
        * src/compose.c
index f96e314..39bd9fb 100644 (file)
--- a/PATCHSETS
+++ b/PATCHSETS
 ( cvs diff -u -r 1.274.2.251 -r 1.274.2.252 src/mainwindow.c;  ) > 3.5.0cvs21.patchset
 ( cvs diff -u -r 1.207.2.201 -r 1.207.2.202 src/folderview.c;  cvs diff -u -r 1.395.2.372 -r 1.395.2.373 src/summaryview.c;  ) > 3.5.0cvs22.patchset
 ( cvs diff -u -r 1.382.2.455 -r 1.382.2.456 src/compose.c;  ) > 3.5.0cvs23.patchset
+( cvs diff -u -r 1.274.2.252 -r 1.274.2.253 src/mainwindow.c;  ) > 3.5.0cvs24.patchset
index 24ba429..a9758da 100644 (file)
@@ -11,7 +11,7 @@ MINOR_VERSION=5
 MICRO_VERSION=0
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=23
+EXTRA_VERSION=24
 EXTRA_RELEASE=
 EXTRA_GTK2_VERSION=
 
index 640f19f..fb58083 100644 (file)
@@ -3216,6 +3216,18 @@ static void mailing_list_compose (GtkWidget *w, gpointer *data)
        open_uri (mailto, prefs_common_get_uri_cmd());
 } 
        
+static void fix_folderview_scroll(MainWindow *mainwin)
+{
+       static gboolean fix_done = FALSE;
+
+       if (fix_done)
+               return;
+
+       gtk_widget_queue_resize(mainwin->folderview->ctree);
+
+       fix_done = TRUE;
+}
+
 void main_window_popup(MainWindow *mainwin)
 {
        static gboolean first_start = TRUE;
@@ -3239,6 +3251,7 @@ void main_window_popup(MainWindow *mainwin)
                        mainwindow_exit_folder(mainwin);
                }
        }
+       fix_folderview_scroll(mainwin);
 }
 
 void main_window_show(MainWindow *mainwin)