[Xfce4-commits] [xfce/exo] 01/01: Disable emoji menu in type-ahead search (bug #15451)

noreply at xfce.org noreply at xfce.org
Sat May 25 23:50:47 CEST 2019


This is an automated email from the git hooks/post-receive script.

b   l   u   e   s   a   b   r   e       p   u   s   h   e   d       a       c   o   m   m   i   t       t   o       b   r   a   n   c   h       m   a   s   t   e   r   
   in repository xfce/exo.

commit f7222bbd9f5f5724f6461300e197e9b2520013cf
Author: Sean Davis <smd.seandavis at gmail.com>
Date:   Sat May 25 17:50:40 2019 -0400

    Disable emoji menu in type-ahead search (bug #15451)
---
 exo/exo-icon-view.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/exo/exo-icon-view.c b/exo/exo-icon-view.c
index 05106e7..060f14f 100644
--- a/exo/exo-icon-view.c
+++ b/exo/exo-icon-view.c
@@ -8902,6 +8902,9 @@ exo_icon_view_search_ensure_directory (ExoIconView *icon_view)
 
   /* allocate the search entry widget */
   icon_view->priv->search_entry = gtk_entry_new ();
+#if GTK_CHECK_VERSION(3, 22, 20)
+  gtk_entry_set_input_hints (GTK_ENTRY (icon_view->priv->search_entry), GTK_INPUT_HINT_NO_EMOJI);
+#endif
   g_signal_connect (G_OBJECT (icon_view->priv->search_entry), "activate", G_CALLBACK (exo_icon_view_search_activate), icon_view);
   gtk_box_pack_start (GTK_BOX (vbox), icon_view->priv->search_entry, TRUE, TRUE, 0);
   gtk_widget_realize (icon_view->priv->search_entry);

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list