[gnome-builder] omnibar: add operation list to template



commit 2e17ba2be459e39716d49c8146d9cefb754dd2a7
Author: Christian Hergert <chergert redhat com>
Date:   Sun Jul 23 22:39:39 2017 -0700

    omnibar: add operation list to template

 libide/workbench/ide-omni-bar.c  |    2 ++
 libide/workbench/ide-omni-bar.ui |    2 +-
 2 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/libide/workbench/ide-omni-bar.c b/libide/workbench/ide-omni-bar.c
index 079d32f..44a92f3 100644
--- a/libide/workbench/ide-omni-bar.c
+++ b/libide/workbench/ide-omni-bar.c
@@ -121,6 +121,7 @@ struct _IdeOmniBar
   GtkButton            *cancel_button;
   GtkLabel             *config_name_label;
   GtkStack             *message_stack;
+  GtkListBox           *operations_list;
   GtkPopover           *popover;
   GtkLabel             *popover_branch_label;
   GtkLabel             *popover_config_label;
@@ -497,6 +498,7 @@ ide_omni_bar_class_init (IdeOmniBarClass *klass)
   gtk_widget_class_bind_template_child (widget_class, IdeOmniBar, config_name_label);
   gtk_widget_class_bind_template_child (widget_class, IdeOmniBar, event_box);
   gtk_widget_class_bind_template_child (widget_class, IdeOmniBar, message_stack);
+  gtk_widget_class_bind_template_child (widget_class, IdeOmniBar, operations_list);
   gtk_widget_class_bind_template_child (widget_class, IdeOmniBar, popover);
   gtk_widget_class_bind_template_child (widget_class, IdeOmniBar, popover_branch_label);
   gtk_widget_class_bind_template_child (widget_class, IdeOmniBar, popover_build_result_label);
diff --git a/libide/workbench/ide-omni-bar.ui b/libide/workbench/ide-omni-bar.ui
index 51b9aae..948a021 100644
--- a/libide/workbench/ide-omni-bar.ui
+++ b/libide/workbench/ide-omni-bar.ui
@@ -512,7 +512,7 @@
                 <property name="hexpand">true</property>
                 <property name="visible">false</property>
                 <child>
-                  <object class="GtkListBoxRow">
+                  <object class="GtkListBoxRow" id="operations_list">
                     <property name="visible">true</property>
                     <child>
                       <object class="GtkGrid">


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