talons

Fork of Claws Mail https://www.claws-mail
Log | Files | Refs | README | LICENSE

commit 7eb36783851709ac69bc70b187f8734635173bea
parent d4d2d540b9ecc9fc9a0b1a748a38aea4e5bb0962
Author: Colin Leroy <colin@colino.net>
Date:   Fri,  7 Mar 2008 22:34:02 +0000

2008-03-07 [colin]	3.3.1cvs19

	* src/mainwindow.c
		Fix blinking of the taskbar entry

Diffstat:
MChangeLog | 5+++++
MPATCHSETS | 1+
Mconfigure.ac | 2+-
Msrc/mainwindow.c | 10++++++++--
4 files changed, 15 insertions(+), 3 deletions(-)

diff --git a/ChangeLog b/ChangeLog @@ -1,3 +1,8 @@ +2008-03-07 [colin] 3.3.1cvs19 + + * src/mainwindow.c + Fix blinking of the taskbar entry + 2008-03-07 [colin] 3.3.1cvs18 * src/mainwindow.c diff --git a/PATCHSETS b/PATCHSETS @@ -3253,3 +3253,4 @@ ( cvs diff -u -r 1.274.2.233 -r 1.274.2.234 src/mainwindow.c; cvs diff -u -r 1.39.2.43 -r 1.39.2.44 src/mainwindow.h; cvs diff -u -r 1.395.2.357 -r 1.395.2.358 src/summaryview.c; cvs diff -u -r 1.68.2.44 -r 1.68.2.45 src/summaryview.h; cvs diff -u -r 1.43.2.95 -r 1.43.2.96 src/toolbar.c; ) > 3.3.1cvs16.patchset ( cvs diff -u -r 1.1.2.46 -r 1.1.2.47 src/gtk/authors.h; ) > 3.3.1cvs17.patchset ( cvs diff -u -r 1.274.2.234 -r 1.274.2.235 src/mainwindow.c; ) > 3.3.1cvs18.patchset +( cvs diff -u -r 1.274.2.235 -r 1.274.2.236 src/mainwindow.c; ) > 3.3.1cvs19.patchset diff --git a/configure.ac b/configure.ac @@ -11,7 +11,7 @@ MINOR_VERSION=3 MICRO_VERSION=1 INTERFACE_AGE=0 BINARY_AGE=0 -EXTRA_VERSION=18 +EXTRA_VERSION=19 EXTRA_RELEASE= EXTRA_GTK2_VERSION= diff --git a/src/mainwindow.c b/src/mainwindow.c @@ -3132,14 +3132,20 @@ static void mailing_list_compose (GtkWidget *w, gpointer *data) void main_window_popup(MainWindow *mainwin) { + static gboolean first_start = TRUE; + if (!GTK_WIDGET_VISIBLE(GTK_WIDGET(mainwin->window))) main_window_show(mainwin); if (prefs_common.mainwin_maximised) gtk_window_maximize(GTK_WINDOW(mainwin->window)); - gtkut_window_popup(mainwin->window); - + if (first_start) { + gtk_window_deiconify(GTK_WINDOW(mainwin->window)); + first_start = FALSE; + } else { + gtkut_window_popup(mainwin->window); + } if (prefs_common.layout_mode == SMALL_LAYOUT) { if (mainwin->in_folder) { mainwindow_enter_folder(mainwin);