fcf0d98380
If not set, then gtk3 will show the image if there is no text, but only the text if there's an image. For simplicity sake just enforce it as true if an image is referenced. Change-Id: Id4bb9140ba83e7e07e0d8ec5e3c29aece49b9087 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/125200 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
462 lines
22 KiB
XML
462 lines
22 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!-- Generated with glade 3.38.2 -->
|
|
<interface domain="cui">
|
|
<requires lib="gtk+" version="3.20"/>
|
|
<object class="GtkImage" id="imCopy">
|
|
<property name="visible">True</property>
|
|
<property name="can-focus">False</property>
|
|
<property name="icon-name">edit-copy</property>
|
|
</object>
|
|
<object class="GtkDialog" id="AboutDialog">
|
|
<property name="can-focus">False</property>
|
|
<property name="border-width">6</property>
|
|
<property name="title" translatable="yes" context="aboutdialog|AboutDialog">About %PRODUCTNAME</property>
|
|
<property name="resizable">False</property>
|
|
<property name="modal">True</property>
|
|
<property name="window-position">center-on-parent</property>
|
|
<property name="type-hint">dialog</property>
|
|
<child internal-child="vbox">
|
|
<object class="GtkBox">
|
|
<property name="can-focus">False</property>
|
|
<property name="orientation">vertical</property>
|
|
<property name="spacing">12</property>
|
|
<child internal-child="action_area">
|
|
<object class="GtkButtonBox">
|
|
<property name="can-focus">False</property>
|
|
<property name="margin-top">12</property>
|
|
<property name="hexpand">True</property>
|
|
<property name="layout-style">end</property>
|
|
<child>
|
|
<object class="GtkButton" id="btnClose">
|
|
<property name="label" translatable="yes" context="stock">_Close</property>
|
|
<property name="visible">True</property>
|
|
<property name="can-focus">True</property>
|
|
<property name="receives-default">True</property>
|
|
<property name="use-underline">True</property>
|
|
</object>
|
|
<packing>
|
|
<property name="expand">True</property>
|
|
<property name="fill">True</property>
|
|
<property name="pack-type">end</property>
|
|
<property name="position">3</property>
|
|
</packing>
|
|
</child>
|
|
</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>
|
|
<!-- n-columns=2 n-rows=7 -->
|
|
<object class="GtkGrid">
|
|
<property name="visible">True</property>
|
|
<property name="can-focus">False</property>
|
|
<property name="hexpand">True</property>
|
|
<property name="vexpand">True</property>
|
|
<property name="row-spacing">6</property>
|
|
<child>
|
|
<object class="GtkImage" id="imAbout">
|
|
<property name="visible">True</property>
|
|
<property name="can-focus">False</property>
|
|
<property name="halign">center</property>
|
|
<property name="valign">center</property>
|
|
<property name="margin-start">12</property>
|
|
<property name="margin-end">24</property>
|
|
<property name="hexpand">True</property>
|
|
<property name="vexpand">True</property>
|
|
</object>
|
|
<packing>
|
|
<property name="left-attach">0</property>
|
|
<property name="top-attach">0</property>
|
|
<property name="height">7</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkImage" id="imBrand">
|
|
<property name="visible">True</property>
|
|
<property name="can-focus">False</property>
|
|
<property name="halign">start</property>
|
|
<property name="valign">center</property>
|
|
<property name="margin-top">24</property>
|
|
<property name="margin-bottom">24</property>
|
|
<property name="hexpand">True</property>
|
|
<property name="vexpand">True</property>
|
|
</object>
|
|
<packing>
|
|
<property name="left-attach">1</property>
|
|
<property name="top-attach">0</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<!-- n-columns=2 n-rows=6 -->
|
|
<object class="GtkGrid">
|
|
<property name="visible">True</property>
|
|
<property name="can-focus">False</property>
|
|
<property name="halign">start</property>
|
|
<property name="margin-start">6</property>
|
|
<property name="column-spacing">12</property>
|
|
<child>
|
|
<object class="GtkLabel" id="lbVersion">
|
|
<property name="visible">True</property>
|
|
<property name="can-focus">False</property>
|
|
<property name="hexpand">True</property>
|
|
<property name="label" translatable="yes" context="aboutdialog|lbVersion">Version:</property>
|
|
<property name="wrap">True</property>
|
|
<property name="xalign">0</property>
|
|
<accessibility>
|
|
<relation type="label-for" target="lbVersionString"/>
|
|
</accessibility>
|
|
</object>
|
|
<packing>
|
|
<property name="left-attach">0</property>
|
|
<property name="top-attach">0</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkLabel" id="lbBuild">
|
|
<property name="visible">True</property>
|
|
<property name="can-focus">False</property>
|
|
<property name="hexpand">True</property>
|
|
<property name="label" translatable="yes" context="aboutdialog|lbBuild">Build:</property>
|
|
<property name="xalign">0</property>
|
|
<accessibility>
|
|
<relation type="label-for" target="lbBuildString"/>
|
|
</accessibility>
|
|
</object>
|
|
<packing>
|
|
<property name="left-attach">0</property>
|
|
<property name="top-attach">1</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkLabel" id="lbEnvironment">
|
|
<property name="visible">True</property>
|
|
<property name="can-focus">False</property>
|
|
<property name="hexpand">True</property>
|
|
<property name="label" translatable="yes" context="aboutdialog|lbEnvironment">Environment:</property>
|
|
<property name="xalign">0</property>
|
|
<accessibility>
|
|
<relation type="label-for" target="lbEnvString"/>
|
|
</accessibility>
|
|
</object>
|
|
<packing>
|
|
<property name="left-attach">0</property>
|
|
<property name="top-attach">2</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkLabel" id="lbVersionString">
|
|
<property name="visible">True</property>
|
|
<property name="can-focus">False</property>
|
|
<property name="label">7.0</property>
|
|
<property name="wrap">True</property>
|
|
<property name="max-width-chars">40</property>
|
|
<property name="xalign">0</property>
|
|
<accessibility>
|
|
<relation type="labelled-by" target="lbVersion"/>
|
|
</accessibility>
|
|
</object>
|
|
<packing>
|
|
<property name="left-attach">1</property>
|
|
<property name="top-attach">0</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkLabel" id="lbEnvString">
|
|
<property name="visible">True</property>
|
|
<property name="can-focus">False</property>
|
|
<property name="label">8 cores</property>
|
|
<property name="wrap">True</property>
|
|
<property name="max-width-chars">40</property>
|
|
<property name="xalign">0</property>
|
|
<accessibility>
|
|
<relation type="labelled-by" target="lbEnvironment"/>
|
|
</accessibility>
|
|
</object>
|
|
<packing>
|
|
<property name="left-attach">1</property>
|
|
<property name="top-attach">2</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkLinkButton" id="lbBuildString">
|
|
<property name="label">0815</property>
|
|
<property name="visible">True</property>
|
|
<property name="can-focus">True</property>
|
|
<property name="receives-default">True</property>
|
|
<property name="relief">none</property>
|
|
<property name="xalign">0</property>
|
|
<accessibility>
|
|
<relation type="labelled-by" target="lbBuild"/>
|
|
</accessibility>
|
|
<style>
|
|
<class name="small-button"/>
|
|
</style>
|
|
</object>
|
|
<packing>
|
|
<property name="left-attach">1</property>
|
|
<property name="top-attach">1</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkLabel" id="lbMisc">
|
|
<property name="visible">True</property>
|
|
<property name="can-focus">False</property>
|
|
<property name="hexpand">True</property>
|
|
<property name="label" translatable="yes" context="aboutdialog|lbExtra">Misc:</property>
|
|
<property name="xalign">0</property>
|
|
<property name="yalign">0</property>
|
|
<accessibility>
|
|
<relation type="label-for" target="lbMiscString"/>
|
|
</accessibility>
|
|
</object>
|
|
<packing>
|
|
<property name="left-attach">0</property>
|
|
<property name="top-attach">5</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkLabel" id="lbMiscString">
|
|
<property name="visible">True</property>
|
|
<property name="can-focus">False</property>
|
|
<property name="label">Calc</property>
|
|
<property name="wrap">True</property>
|
|
<property name="max-width-chars">40</property>
|
|
<property name="xalign">0</property>
|
|
<accessibility>
|
|
<relation type="labelled-by" target="lbMisc"/>
|
|
</accessibility>
|
|
</object>
|
|
<packing>
|
|
<property name="left-attach">1</property>
|
|
<property name="top-attach">5</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkLabel" id="lbLocale">
|
|
<property name="visible">True</property>
|
|
<property name="can-focus">False</property>
|
|
<property name="hexpand">True</property>
|
|
<property name="label" translatable="yes" context="aboutdialog|lbLocale">Locale:</property>
|
|
<property name="xalign">0</property>
|
|
<accessibility>
|
|
<relation type="label-for" target="lbLocaleString"/>
|
|
</accessibility>
|
|
</object>
|
|
<packing>
|
|
<property name="left-attach">0</property>
|
|
<property name="top-attach">4</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkLabel" id="lbLocaleString">
|
|
<property name="visible">True</property>
|
|
<property name="can-focus">False</property>
|
|
<property name="label">English</property>
|
|
<property name="wrap">True</property>
|
|
<property name="max-width-chars">40</property>
|
|
<property name="xalign">0</property>
|
|
<accessibility>
|
|
<relation type="labelled-by" target="lbLocale"/>
|
|
</accessibility>
|
|
</object>
|
|
<packing>
|
|
<property name="left-attach">1</property>
|
|
<property name="top-attach">4</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkLabel" id="lbUI">
|
|
<property name="visible">True</property>
|
|
<property name="can-focus">False</property>
|
|
<property name="label" translatable="yes" context="aboutdialog|lbUI">User Interface:</property>
|
|
<property name="xalign">0</property>
|
|
<accessibility>
|
|
<relation type="label-for" target="lbUIString"/>
|
|
</accessibility>
|
|
</object>
|
|
<packing>
|
|
<property name="left-attach">0</property>
|
|
<property name="top-attach">3</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkLabel" id="lbUIString">
|
|
<property name="visible">True</property>
|
|
<property name="can-focus">False</property>
|
|
<property name="label">VCL: gtk</property>
|
|
<property name="wrap">True</property>
|
|
<property name="max-width-chars">40</property>
|
|
<property name="xalign">0</property>
|
|
<accessibility>
|
|
<relation type="labelled-by" target="lbUI"/>
|
|
</accessibility>
|
|
</object>
|
|
<packing>
|
|
<property name="left-attach">1</property>
|
|
<property name="top-attach">3</property>
|
|
</packing>
|
|
</child>
|
|
</object>
|
|
<packing>
|
|
<property name="left-attach">1</property>
|
|
<property name="top-attach">6</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkLabel" id="lbAbout">
|
|
<property name="visible">True</property>
|
|
<property name="can-focus">False</property>
|
|
<property name="valign">end</property>
|
|
<property name="hexpand">True</property>
|
|
<property name="vexpand">True</property>
|
|
<property name="label" translatable="yes" context="aboutdialog|description">%PRODUCTNAME is a modern, easy-to-use, open source productivity suite for word processing, spreadsheets, presentations and more.</property>
|
|
<property name="wrap">True</property>
|
|
<property name="max-width-chars">60</property>
|
|
<property name="xalign">0</property>
|
|
</object>
|
|
<packing>
|
|
<property name="left-attach">1</property>
|
|
<property name="top-attach">1</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkLabel" id="lbCopyright">
|
|
<property name="visible">True</property>
|
|
<property name="can-focus">False</property>
|
|
<property name="valign">start</property>
|
|
<property name="hexpand">True</property>
|
|
<property name="vexpand">True</property>
|
|
<property name="label" context="aboutdialog|copyright">%COPYRIGHT</property>
|
|
<property name="wrap">True</property>
|
|
<property name="max-width-chars">60</property>
|
|
<property name="xalign">0</property>
|
|
</object>
|
|
<packing>
|
|
<property name="left-attach">1</property>
|
|
<property name="top-attach">3</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkBox">
|
|
<property name="visible">True</property>
|
|
<property name="can-focus">False</property>
|
|
<property name="spacing">12</property>
|
|
<child>
|
|
<object class="GtkLinkButton" id="btnCredits">
|
|
<property name="label" translatable="yes" context="aboutdialog|credits">Credits</property>
|
|
<property name="name">lbCredit</property>
|
|
<property name="visible">True</property>
|
|
<property name="can-focus">True</property>
|
|
<property name="receives-default">True</property>
|
|
<property name="relief">none</property>
|
|
<property name="xalign">0</property>
|
|
</object>
|
|
<packing>
|
|
<property name="expand">False</property>
|
|
<property name="fill">True</property>
|
|
<property name="position">0</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkLinkButton" id="btnWebsite">
|
|
<property name="label" translatable="yes" context="aboutdialog|website">Website</property>
|
|
<property name="visible">True</property>
|
|
<property name="can-focus">True</property>
|
|
<property name="receives-default">True</property>
|
|
<property name="relief">none</property>
|
|
<property name="xalign">0</property>
|
|
<property name="uri">https://www.libreoffice.org/</property>
|
|
</object>
|
|
<packing>
|
|
<property name="expand">False</property>
|
|
<property name="fill">True</property>
|
|
<property name="position">1</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkLinkButton" id="btnReleaseNotes">
|
|
<property name="label" translatable="yes" context="aboutdialog|releasenotes">Release Notes</property>
|
|
<property name="visible">True</property>
|
|
<property name="can-focus">True</property>
|
|
<property name="receives-default">True</property>
|
|
<property name="relief">none</property>
|
|
<property name="xalign">0</property>
|
|
</object>
|
|
<packing>
|
|
<property name="expand">False</property>
|
|
<property name="fill">True</property>
|
|
<property name="position">2</property>
|
|
</packing>
|
|
</child>
|
|
</object>
|
|
<packing>
|
|
<property name="left-attach">1</property>
|
|
<property name="top-attach">4</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkBox">
|
|
<property name="visible">True</property>
|
|
<property name="can-focus">False</property>
|
|
<property name="spacing">12</property>
|
|
<child>
|
|
<object class="GtkLabel" id="lbVersionInfo">
|
|
<property name="visible">True</property>
|
|
<property name="can-focus">False</property>
|
|
<property name="label" translatable="yes" context="aboutdialog|lbVersionInfo">Version Information</property>
|
|
<property name="use-underline">True</property>
|
|
<property name="mnemonic-widget">btnCopyVersion</property>
|
|
<property name="xalign">0</property>
|
|
<attributes>
|
|
<attribute name="weight" value="bold"/>
|
|
</attributes>
|
|
</object>
|
|
<packing>
|
|
<property name="expand">False</property>
|
|
<property name="fill">True</property>
|
|
<property name="position">0</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<object class="GtkButton" id="btnCopyVersion">
|
|
<property name="visible">True</property>
|
|
<property name="can-focus">True</property>
|
|
<property name="receives-default">True</property>
|
|
<property name="tooltip-text" translatable="yes" context="aboutdialog|btnCopyVersionTooltip">Copy all version information in English</property>
|
|
<property name="image">imCopy</property>
|
|
<property name="always-show-image">True</property>
|
|
<accelerator key="c" signal="clicked" modifiers="GDK_CONTROL_MASK"/>
|
|
</object>
|
|
<packing>
|
|
<property name="expand">False</property>
|
|
<property name="fill">True</property>
|
|
<property name="position">1</property>
|
|
</packing>
|
|
</child>
|
|
</object>
|
|
<packing>
|
|
<property name="left-attach">1</property>
|
|
<property name="top-attach">5</property>
|
|
</packing>
|
|
</child>
|
|
<child>
|
|
<placeholder/>
|
|
</child>
|
|
</object>
|
|
<packing>
|
|
<property name="expand">False</property>
|
|
<property name="fill">True</property>
|
|
<property name="position">1</property>
|
|
</packing>
|
|
</child>
|
|
</object>
|
|
</child>
|
|
<action-widgets>
|
|
<action-widget response="-7">btnClose</action-widget>
|
|
</action-widgets>
|
|
</object>
|
|
</interface>
|