[Commits] [SCM] claws branch, master, updated. 3.11.1-214-g988ae8b

ticho at claws-mail.org ticho at claws-mail.org
Thu Jul 16 13:37:24 CEST 2015


The branch, master has been updated
       via  988ae8b83fbba2968b327a57baa148113ba69233 (commit)
      from  e2d116a25f8aa0105c1319b7669af7e9723eff16 (commit)

Summary of changes:
 src/addr_compl.c |   11 ++---------
 1 file changed, 2 insertions(+), 9 deletions(-)


- Log -----------------------------------------------------------------
commit 988ae8b83fbba2968b327a57baa148113ba69233
Author: Andrej Kacian <ticho at claws-mail.org>
Date:   Thu Jul 16 13:36:26 2015 +0200

    Fix address autocompletion popup not displaying on Plasma5.
    
    Closes bug #3466.

diff --git a/src/addr_compl.c b/src/addr_compl.c
index 4ca55d5..c3ffefb 100644
--- a/src/addr_compl.c
+++ b/src/addr_compl.c
@@ -950,14 +950,7 @@ static void addrcompl_resize_window( CompletionWindow *cw ) {
 	gdk_window_get_geometry( gtk_widget_get_window( cw->window ), &x, &y, &width, &height );
 #endif
 
-	/* simple _hide breaks size requisition !? */
-#if !GTK_CHECK_VERSION(3, 0, 0)
-	gtk_widget_hide_all( cw->window );
-	gtk_widget_show_all( cw->window );
-#else
-	gtk_widget_hide( cw->window );
-	gtk_widget_show( cw->window );
-#endif
+	gtk_widget_queue_resize_no_redraw(cw->list_view);
 	gtk_widget_size_request( cw->list_view, &r );
 
 	/* Adjust window height to available screen space */
@@ -1595,7 +1588,7 @@ static gboolean completion_window_key_press(GtkWidget *widget,
 			(GTK_TREE_VIEW(list_view),
 			 event->keyval == GDK_KEY_Down ||
 			 event->keyval == GDK_KEY_Page_Down ? TRUE : FALSE);
-		return FALSE;
+		return TRUE;
 	}		
 
 	/* make tab move to next field */

-----------------------------------------------------------------------


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list