From: Colin Leroy Date: Fri, 28 Oct 2011 23:46:49 +0000 (+0000) Subject: 2011-10-28 [colin] 3.7.10cvs55 X-Git-Tag: REL_3_8_0~60 X-Git-Url: http://git.claws-mail.org/?p=claws.git;a=commitdiff_plain;h=beb43fe948a9860554e544a6306de3acd8a7cedc 2011-10-28 [colin] 3.7.10cvs55 * src/alertpanel.c * src/mainwindow.c Fix a bit the focus problem on Gnome shell --- diff --git a/ChangeLog b/ChangeLog index 6ac47154a..f916c5156 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2011-10-28 [colin] 3.7.10cvs55 + + * src/alertpanel.c + * src/mainwindow.c + Fix a bit the focus problem on Gnome shell + 2011-10-26 [mones] 3.7.10cvs54 * src/compose.c diff --git a/PATCHSETS b/PATCHSETS index 92e4d90c0..330de51d4 100644 --- a/PATCHSETS +++ b/PATCHSETS @@ -4258,3 +4258,4 @@ ( cvs diff -u -r 1.1.2.21 -r 1.1.2.22 src/gtk/gtkcmclist.c; cvs diff -u -r 1.1.2.22 -r 1.1.2.23 src/gtk/gtkcmctree.c; ) > 3.7.10cvs52.patchset ( cvs diff -u -r 1.1.2.22 -r 1.1.2.23 src/gtk/gtkcmclist.c; cvs diff -u -r 1.1.2.23 -r 1.1.2.24 src/gtk/gtkcmctree.c; ) > 3.7.10cvs53.patchset ( cvs diff -u -r 1.382.2.588 -r 1.382.2.589 src/compose.c; ) > 3.7.10cvs54.patchset +( cvs diff -u -r 1.17.2.45 -r 1.17.2.46 src/alertpanel.c; cvs diff -u -r 1.274.2.332 -r 1.274.2.333 src/mainwindow.c; ) > 3.7.10cvs55.patchset diff --git a/configure.ac b/configure.ac index d5eeda51c..e1fbb0f0c 100644 --- a/configure.ac +++ b/configure.ac @@ -12,7 +12,7 @@ MINOR_VERSION=7 MICRO_VERSION=10 INTERFACE_AGE=0 BINARY_AGE=0 -EXTRA_VERSION=54 +EXTRA_VERSION=55 EXTRA_RELEASE= EXTRA_GTK2_VERSION= diff --git a/src/alertpanel.c b/src/alertpanel.c index 34cbd2da5..32020ce62 100644 --- a/src/alertpanel.c +++ b/src/alertpanel.c @@ -204,6 +204,7 @@ static void alertpanel_show(void) { 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()) diff --git a/src/mainwindow.c b/src/mainwindow.c index d22f434ad..c05f070b3 100644 --- a/src/mainwindow.c +++ b/src/mainwindow.c @@ -2949,7 +2949,7 @@ void main_window_get_size(MainWindow *mainwin) 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 @@ void main_window_popup(MainWindow *mainwin) 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 @@ void main_window_show(MainWindow *mainwin) 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);