Add an automatic help overlay to gtk3-widget-factory

This is just to verify that the resource loading works.
The help overlay still needs to get populated properly.
This commit is contained in:
Matthias Clasen
2015-10-21 00:14:38 -04:00
parent 2867a7dfa3
commit 0d1cbcda6e
3 changed files with 26 additions and 0 deletions

View File

@@ -64,6 +64,7 @@ EXTRA_DIST += \
widget-factory.ui \
widget-factory.css \
menus.ui \
help-overlay.ui \
widget-factory.gresource.xml \
data/source.svg \
data/symbolic-source.svg

View File

@@ -0,0 +1,22 @@
<interface>
<object class="GtkShortcutsWindow" id="help_overlay">
<child>
<object class="GtkShortcutsSection">
<property name="visible">1</property>
<child>
<object class="GtkShortcutsGroup">
<property name="visible">1</property>
<property name="title">Group</property>
<child>
<object class="GtkShortcutsShortcut">
<property name="visible">1</property>
<property name="accelerator">1</property>
<property name="title">One</property>
</object>
</child>
</object>
</child>
</object>
</child>
</object>
</interface>

View File

@@ -9,4 +9,7 @@
<gresource prefix="/org/gtk/WidgetFactory/gtk">
<file preprocess="xml-stripblanks">menus.ui</file>
</gresource>
<gresource prefix="/org/gtk/WidgetFactory/gtk">
<file preprocess="xml-stripblanks">help-overlay.ui</file>
</gresource>
</gresources>