[gnome-builder] omnibar: add stubs for operation rows



commit 6cb6fecdccdc96c364ab4be3547f429038c4fdc4
Author: Christian Hergert <chergert redhat com>
Date:   Sun Jul 23 21:54:34 2017 -0700

    omnibar: add stubs for operation rows

 data/themes/Adwaita-shared.css   |    9 +++++
 libide/workbench/ide-omni-bar.ui |   65 ++++++++++++++++++++++++++++++++++++++
 2 files changed, 74 insertions(+), 0 deletions(-)
---
diff --git a/data/themes/Adwaita-shared.css b/data/themes/Adwaita-shared.css
index cae3e43..82d47f5 100644
--- a/data/themes/Adwaita-shared.css
+++ b/data/themes/Adwaita-shared.css
@@ -33,3 +33,12 @@ ideeditorproperties entry:last-child {
   border-right: none;
   border-left: none;
 }
+
+
+popover.messagepopover {
+  padding: 0;
+}
+popover.messagepopover list {
+  border-top: 1px solid @borders;
+  border-radius: 0 0 5px 5px;
+}
diff --git a/libide/workbench/ide-omni-bar.ui b/libide/workbench/ide-omni-bar.ui
index 63336d6..51b9aae 100644
--- a/libide/workbench/ide-omni-bar.ui
+++ b/libide/workbench/ide-omni-bar.ui
@@ -506,6 +506,71 @@
                 </child>
               </object>
             </child>
+            <child>
+              <object class="GtkListBox">
+                <property name="selection-mode">none</property>
+                <property name="hexpand">true</property>
+                <property name="visible">false</property>
+                <child>
+                  <object class="GtkListBoxRow">
+                    <property name="visible">true</property>
+                    <child>
+                      <object class="GtkGrid">
+                        <property name="margin">12</property>
+                        <property name="row-spacing">6</property>
+                        <property name="column-spacing">12</property>
+                        <property name="visible">true</property>
+                        <child>
+                          <object class="GtkLabel">
+                            <property name="hexpand">true</property>
+                            <property name="xalign">0.0</property>
+                            <property name="visible">true</property>
+                            <property name="label">Indexing Source Code</property>
+                            <attributes>
+                              <attribute name="weight" value="bold"/>
+                            </attributes>
+                          </object>
+                          <packing>
+                            <property name="top-attach">0</property>
+                            <property name="left-attach">0</property>
+                          </packing>
+                        </child>
+                        <child>
+                          <object class="GtkLabel">
+                            <property name="hexpand">true</property>
+                            <property name="xalign">0.0</property>
+                            <property name="visible">true</property>
+                            <property name="label">Search, diagnostics and autocompletion may be limited 
until complete.</property>
+                          </object>
+                          <packing>
+                            <property name="top-attach">1</property>
+                            <property name="left-attach">0</property>
+                          </packing>
+                        </child>
+                        <child>
+                          <object class="GtkToggleButton">
+                            <property name="halign">center</property>
+                            <property name="valign">center</property>
+                            <property name="visible">true</property>
+                            <child>
+                              <object class="GtkImage">
+                                <property name="icon-name">media-playback-pause-symbolic</property>
+                                <property name="visible">true</property>
+                              </object>
+                            </child>
+                          </object>
+                          <packing>
+                            <property name="top-attach">0</property>
+                            <property name="left-attach">1</property>
+                            <property name="height">2</property>
+                          </packing>
+                        </child>
+                      </object>
+                    </child>
+                  </object>
+                </child>
+              </object>
+            </child>
           </object>
         </child>
       </object>


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