[Commits] alertpanel.c 1.17.2.45 1.17.2.46 mainwindow.c 1.274.2.332 1.274.2.333

colin at claws-mail.org colin at claws-mail.org
Sat Oct 29 01:46:51 CEST 2011


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

Modified Files:
      Tag: gtk2
	alertpanel.c mainwindow.c 
Log Message:
2011-10-28 [colin]	3.7.10cvs55

	* src/alertpanel.c
	* src/mainwindow.c
		Fix a bit the focus problem on Gnome shell

Index: alertpanel.c
===================================================================
RCS file: /home/claws-mail/claws/src/alertpanel.c,v
retrieving revision 1.17.2.45
retrieving revision 1.17.2.46
diff -u -d -r1.17.2.45 -r1.17.2.46
--- alertpanel.c	7 Oct 2011 09:17:48 -0000	1.17.2.45
+++ alertpanel.c	28 Oct 2011 23:46:49 -0000	1.17.2.46
@@ -204,6 +204,7 @@
 {
 	gtk_window_set_modal(GTK_WINDOW(dialog), TRUE);
 	manage_window_set_transient(GTK_WINDOW(dialog));
+	gtk_widget_show_all(dialog);
 	value = G_ALERTWAIT;
 
 	if (gdk_pointer_is_grabbed())

Index: mainwindow.c
===================================================================
RCS file: /home/claws-mail/claws/src/mainwindow.c,v
retrieving revision 1.274.2.332
retrieving revision 1.274.2.333
diff -u -d -r1.274.2.332 -r1.274.2.333
--- mainwindow.c	22 Oct 2011 17:09:03 -0000	1.274.2.332
+++ mainwindow.c	28 Oct 2011 23:46:49 -0000	1.274.2.333
@@ -2949,7 +2949,7 @@
 		prefs_common.folderview_width  = allocation.width;
 		prefs_common.folderview_height = allocation.height;
 	}
-
+	
 	gtk_widget_get_allocation(GTK_WIDGET_PTR(mainwin->messageview), &allocation);
 	if (allocation.width > 1 && allocation.height > 1 &&
 	    !prefs_common.mainwin_fullscreen) {
@@ -3614,6 +3614,7 @@
 	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 {
@@ -3637,7 +3638,7 @@
         gtk_window_move(GTK_WINDOW(mainwin->window),
                                  prefs_common.mainwin_x,
                                  prefs_common.mainwin_y);
-
+	
 	gtk_widget_set_size_request(GTK_WIDGET_PTR(mainwin->folderview),
 			     prefs_common.folderview_width,
 			     prefs_common.folderview_height);



More information about the Commits mailing list