[Commits] mainwindow.c 1.274.2.333 1.274.2.334

colin at claws-mail.org colin at claws-mail.org
Sun Nov 6 22:21:23 CET 2011


Update of /home/claws-mail/claws/src
In directory claws-mail:/tmp/cvs-serv23798/src

Modified Files:
      Tag: gtk2
	mainwindow.c 
Log Message:
2011-11-06 [colin]	3.7.10cvs75

	* src/mainwindow.c
		Don't iconify/deiconify. Instead, just show nothing
		before asked to.

Index: mainwindow.c
===================================================================
RCS file: /home/claws-mail/claws/src/mainwindow.c,v
retrieving revision 1.274.2.333
retrieving revision 1.274.2.334
diff -u -d -r1.274.2.333 -r1.274.2.334
--- mainwindow.c	28 Oct 2011 23:46:49 -0000	1.274.2.333
+++ mainwindow.c	6 Nov 2011 21:21:21 -0000	1.274.2.334
@@ -2278,12 +2278,6 @@
 
 	ADD_MENU_ACCEL_GROUP_TO_WINDOW(summaryview->popupmenu, mainwin->window);
 	
-#ifndef GENERIC_UMPC
-#ifdef G_OS_UNIX
-	gtk_window_iconify(GTK_WINDOW(mainwin->window));
-#endif
-#endif
-
 	g_signal_connect(G_OBJECT(window), "window_state_event",
 			 G_CALLBACK(mainwindow_state_event_cb), mainwin);
 	g_signal_connect(G_OBJECT(window), "visibility_notify_event",
@@ -3612,14 +3606,11 @@
 		gtk_window_maximize(GTK_WINDOW(mainwin->window));
 
 	if (first_start) {
-#ifdef G_OS_UNIX
-		gtk_window_deiconify(GTK_WINDOW(mainwin->window));
-		gtk_window_present(GTK_WINDOW(mainwin->window));
-#endif
 		first_start = FALSE;
 	} else {
 		gtkut_window_popup(mainwin->window);
 	}
+
 	if (prefs_common.layout_mode == SMALL_LAYOUT) {
 		if (mainwin->in_folder) {
 			mainwindow_enter_folder(mainwin);



More information about the Commits mailing list