show VERSION and PREFIX in UI>About

parent 8b64f4c8
......@@ -7193,21 +7193,6 @@ lsb = show branches by last activity</property>
<property name="top_attach">5</property>
</packing>
</child>
<child>
<object class="GtkLabel" id="about.i18n-label">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="halign">start</property>
<property name="label" translatable="yes">Translations</property>
<attributes>
<attribute name="weight" value="bold"/>
</attributes>
</object>
<packing>
<property name="left_attach">0</property>
<property name="top_attach">6</property>
</packing>
</child>
<child>
<object class="GtkImage" id="about.image">
<property name="visible">True</property>
......@@ -7281,6 +7266,78 @@ lsb = show branches by last activity</property>
<property name="top_attach">6</property>
</packing>
</child>
<child>
<object class="GtkLabel" id="about.i18n-label">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="halign">start</property>
<property name="label" translatable="yes">Translations</property>
<attributes>
<attribute name="weight" value="bold"/>
</attributes>
</object>
<packing>
<property name="left_attach">0</property>
<property name="top_attach">6</property>
</packing>
</child>
<child>
<object class="GtkLabel" id="about.version-label">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="halign">start</property>
<property name="label" translatable="yes">BashStyle-NG Version</property>
<attributes>
<attribute name="weight" value="bold"/>
</attributes>
</object>
<packing>
<property name="left_attach">0</property>
<property name="top_attach">7</property>
</packing>
</child>
<child>
<object class="GtkLabel" id="about.prefix-label">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="halign">start</property>
<property name="label" translatable="yes">BashStyle-NG Prefix</property>
<attributes>
<attribute name="weight" value="bold"/>
</attributes>
</object>
<packing>
<property name="left_attach">0</property>
<property name="top_attach">8</property>
</packing>
</child>
<child>
<object class="GtkLabel" id="about.version">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="halign">start</property>
<property name="xpad">20</property>
<property name="label" translatable="yes">VERSION</property>
</object>
<packing>
<property name="left_attach">1</property>
<property name="top_attach">7</property>
</packing>
</child>
<child>
<object class="GtkLabel" id="about.prefix">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="halign">start</property>
<property name="xpad">20</property>
<property name="label" translatable="yes">PREFIX</property>
<property name="ellipsize">end</property>
</object>
<packing>
<property name="left_attach">1</property>
<property name="top_attach">8</property>
</packing>
</child>
</object>
<packing>
<property name="position">12</property>
......
......@@ -164,3 +164,6 @@ class IconBook(object):
notebook.set_current_page(13)
main_label.set_text(_("Category: ") + _("BashStyle-NG StartUp"))
load_label("about.prefix", os.getenv('BSNG_UI_PREFIX'))
load_label("about.version", os.getenv('BSNG_UI_VERSION'))
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment