[Xfce4-commits] [panel-plugins/xfce4-calculator-plugin] 01/01: Disable emoji input

noreply at xfce.org noreply at xfce.org
Sun Jul 28 20:53:19 CEST 2019


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

a   n   d   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 panel-plugins/xfce4-calculator-plugin.

commit 31b7df23a81156d36bdf41a27d73e6dd5099a48a
Author: Andre Miranda <andreldm at xfce.org>
Date:   Sun Jul 28 15:53:04 2019 -0300

    Disable emoji input
---
 panel-plugin/calculator.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/panel-plugin/calculator.c b/panel-plugin/calculator.c
index 72015bc..0a8f30e 100644
--- a/panel-plugin/calculator.c
+++ b/panel-plugin/calculator.c
@@ -243,6 +243,9 @@ static CalcPlugin *calc_new(XfcePanelPlugin *plugin)
 
     gtk_entry_set_max_length(GTK_ENTRY(entry), 50);
     gtk_entry_set_width_chars(GTK_ENTRY(entry), calc->size);
+#if GTK_CHECK_VERSION (3, 22, 20)
+    gtk_entry_set_input_hints (GTK_ENTRY(entry), GTK_INPUT_HINT_NO_EMOJI);
+#endif
 
     return calc;
 }

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


More information about the Xfce4-commits mailing list