]> sigrok.org Git - sigrok-meter.git/commitdiff
Add an About dialog.
authorUwe Hermann <redacted>
Tue, 16 Apr 2013 18:19:17 +0000 (20:19 +0200)
committerUwe Hermann <redacted>
Tue, 16 Apr 2013 18:04:10 +0000 (20:04 +0200)
sigrok-meter.glade

index 1648297a428acb51365fa2c7f5a6f9efde4c63f0..3c648989d6766927a1f9123cbec9df09489d7601 100644 (file)
@@ -1,6 +1,41 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <interface>
   <!-- interface-requires gtk+ 3.0 -->
+  <object class="GtkAboutDialog" id="aboutdialog">
+    <property name="can_focus">False</property>
+    <property name="border_width">5</property>
+    <property name="title" translatable="yes">About</property>
+    <property name="icon">sigrok-logo-notext.png</property>
+    <property name="type_hint">dialog</property>
+    <property name="program_name">sigrok-meter</property>
+    <property name="version">0.1.0</property>
+    <property name="website">http://www.sigrok.org</property>
+    <property name="license" translatable="yes">GNU GPL, version 3 or later</property>
+    <property name="logo">sigrok-logo-notext.png</property>
+    <property name="license_type">gpl-3-0</property>
+    <child internal-child="vbox">
+      <object class="GtkBox" id="aboutdialog-vbox1">
+        <property name="can_focus">False</property>
+        <property name="orientation">vertical</property>
+        <property name="spacing">2</property>
+        <child internal-child="action_area">
+          <object class="GtkButtonBox" id="aboutdialog-action_area1">
+            <property name="can_focus">False</property>
+            <property name="layout_style">end</property>
+          </object>
+          <packing>
+            <property name="expand">False</property>
+            <property name="fill">True</property>
+            <property name="pack_type">end</property>
+            <property name="position">0</property>
+          </packing>
+        </child>
+        <child>
+          <placeholder/>
+        </child>
+      </object>
+    </child>
+  </object>
   <object class="GtkWindow" id="main-window">
     <property name="can_focus">False</property>
     <property name="title" translatable="yes">sigrok-meter</property>