[gtk+/wip/matthiasc/emoji-picker] More wip



commit a6a7c0922c99d4a8815523902c8d84c0d0d2ced5
Author: Matthias Clasen <mclasen redhat com>
Date:   Tue Aug 8 23:29:51 2017 -0400

    More wip

 tests/gtkemojipicker.c |   15 ++++++++++++++-
 1 files changed, 14 insertions(+), 1 deletions(-)
---
diff --git a/tests/gtkemojipicker.c b/tests/gtkemojipicker.c
index c21f477..eaf4654 100644
--- a/tests/gtkemojipicker.c
+++ b/tests/gtkemojipicker.c
@@ -713,7 +713,13 @@ static EmojiData symbols[] = {
 };
 
 static EmojiData flags[] = {
-  // flag
+  // flags
+  { 0x1f3c1, 0, 0, (const char *[]) { "checkered", "chequered", "racing", NULL } },
+  { 0x1f6a9, 0, 0, (const char *[]) { "post", NULL } },
+  { 0x1f38c, 0, 0, (const char *[]) { "japanese", "celebration", "cross", "crossed", NULL } },
+  { 0x1f3f4, 0, 0, (const char *[]) { "waving", NULL } },
+  { 0x1f3f3, 0, 0, (const char *[]) { "waving", NULL } },
+  { 0x1f3f3, 0, 0x1f308, (const char *[]) { "rainbow", NULL } },
   // country-flag
   // subdivision-flag
 };
@@ -1045,6 +1051,13 @@ search_changed (GtkEntry *entry, gpointer data)
         GtkEmojiPicker *picker = data;
 
         gtk_flow_box_invalidate_filter (GTK_FLOW_BOX (picker->people_box));
+        gtk_flow_box_invalidate_filter (GTK_FLOW_BOX (picker->nature_box));
+        gtk_flow_box_invalidate_filter (GTK_FLOW_BOX (picker->food_box));
+        gtk_flow_box_invalidate_filter (GTK_FLOW_BOX (picker->travel_box));
+        gtk_flow_box_invalidate_filter (GTK_FLOW_BOX (picker->activities_box));
+        gtk_flow_box_invalidate_filter (GTK_FLOW_BOX (picker->objects_box));
+        gtk_flow_box_invalidate_filter (GTK_FLOW_BOX (picker->symbols_box));
+        gtk_flow_box_invalidate_filter (GTK_FLOW_BOX (picker->flags_box));
 }
 
 static void


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]