Add About/Info dialog (implement #26)

This commit is contained in:
coderkun 2017-04-25 12:52:20 +02:00
commit e555956c95
4 changed files with 93 additions and 1 deletions

View file

@ -1307,4 +1307,49 @@
<class name="bg-texture"/>
</style>
</object>
<object class="GtkAboutDialog" id="info-dialog">
<property name="can_focus">False</property>
<property name="resizable">False</property>
<property name="modal">True</property>
<property name="window_position">center</property>
<property name="type_hint">dialog</property>
<property name="gravity">center</property>
<property name="transient_for">appwindow</property>
<property name="program_name">CoverGrid</property>
<property name="version">0.6</property>
<property name="comments" translatable="yes">CoverGrid is a client for the Music Player Daemon, focused on albums instead of single tracks.</property>
<property name="website">http://www.coderkun.de/codes/mcg</property>
<property name="logo">mcg.svg</property>
<property name="license_type">gpl-3-0</property>
<child internal-child="vbox">
<object class="GtkBox">
<property name="can_focus">False</property>
<property name="orientation">vertical</property>
<property name="spacing">2</property>
<child internal-child="action_area">
<object class="GtkButtonBox">
<property name="can_focus">False</property>
<property name="layout_style">end</property>
<child>
<placeholder/>
</child>
<child>
<placeholder/>
</child>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">False</property>
<property name="position">0</property>
</packing>
</child>
<child>
<placeholder/>
</child>
</object>
</child>
<child>
<placeholder/>
</child>
</object>
</interface>

View file

@ -47,6 +47,11 @@
</item>
</section>
<section>
<item>
<attribute name="action">app.info</attribute>
<attribute name="label" translatable="yes">Info</attribute>
<attribute name="accel">&lt;Primary&gt;i</attribute>
</item>
<item>
<attribute name="action">app.quit</attribute>
<attribute name="label" translatable="yes">_Quit</attribute>