[gnome-flashback] system-indicators: fix nested IBus submenus



commit e323660e3581db7a50878970c8cd8a4b193cda8b
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date:   Thu Jan 2 01:19:54 2020 +0200

    system-indicators: fix nested IBus submenus

 system-indicators/si-input-sources.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/system-indicators/si-input-sources.c b/system-indicators/si-input-sources.c
index 6cbc09c..ff474f4 100644
--- a/system-indicators/si-input-sources.c
+++ b/system-indicators/si-input-sources.c
@@ -685,7 +685,7 @@ append_properties_to_menu (SiInputSources *self,
         }
 
       gtk_menu_item_set_label (GTK_MENU_ITEM (item), label);
-      gtk_widget_set_tooltip_text (item , tooltip);
+      gtk_widget_set_tooltip_text (item, tooltip);
 
       if (g_strcmp0 (type, "menu") == 0)
         {
@@ -737,7 +737,7 @@ append_properties_to_menu (SiInputSources *self,
                             self);
         }
 
-      gtk_menu_shell_append (GTK_MENU_SHELL (self->menu), item);
+      gtk_menu_shell_append (GTK_MENU_SHELL (menu), item);
       gtk_widget_show (item);
 
       g_variant_dict_unref (dict);


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