Skip to content

Commit

Permalink
glade-files: Replace other inline formattings with stylesheets
Browse files Browse the repository at this point in the history
use gnc-class-title instead of <span weight="bold" size="larger">
and gnc-class-emphasis instead of <span style="italic">
  • Loading branch information
CWehli committed Jun 1, 2024
1 parent 3a01654 commit 13f62b2
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 8 deletions.
20 changes: 16 additions & 4 deletions gnucash/gtkbuilder/assistant-qif-import.glade
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,10 @@ You will have the opportunity to load as many files as you wish, so don't worry
<object class="GtkLabel" id="load_progress_primary">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="label">&lt;span weight="bold" size="larger"&gt;Primary text&lt;/span&gt;</property>
<property name="label">Primary text</property>
<style>
<class name="gnc-class-title"/>
</style>
<property name="use-markup">True</property>
<property name="wrap">True</property>
</object>
Expand Down Expand Up @@ -165,7 +168,10 @@ You will have the opportunity to load as many files as you wish, so don't worry
<object class="GtkLabel" id="load_progress_sub">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="label">&lt;span style="italic"&gt;Sub-operation text&lt;/span&gt;</property>
<property name="label">Sub-operation text</property>
<style>
<class name="gnc-class-emphasis"/>
</style>
<property name="use-markup">True</property>
<property name="wrap">True</property>
</object>
Expand Down Expand Up @@ -1063,7 +1069,10 @@ If you don't see your exchange listed, or none of the available choices are appr
<object class="GtkLabel" id="convert_progress_primary">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="label">&lt;span weight="bold" size="larger"&gt;Primary text&lt;/span&gt;</property>
<property name="label">Primary text</property>
<style>
<class name="gnc-class-title"/>
</style>
<property name="use-markup">True</property>
<property name="wrap">True</property>
</object>
Expand Down Expand Up @@ -1107,7 +1116,10 @@ If you don't see your exchange listed, or none of the available choices are appr
<object class="GtkLabel" id="convert_progress_sub">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="label">&lt;span style="italic"&gt;Sub-operation text&lt;/span&gt;</property>
<property name="label">Sub-operation text</property>
<style>
<class name="gnc-class-emphasis"/>
</style>
<property name="use-markup">True</property>
<property name="wrap">True</property>
</object>
Expand Down
10 changes: 8 additions & 2 deletions gnucash/gtkbuilder/dialog-new-user.glade
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,10 @@
<object class="GtkLabel" id="label">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="label" translatable="yes">&lt;span weight="bold" size="larger"&gt;Display Welcome Dialog Again?&lt;/span&gt;</property>
<property name="label" translatable="yes">Display Welcome Dialog Again?</property>
<style>
<class name="gnc-class-title"/>
</style>
<property name="use-markup">True</property>
</object>
<packing>
Expand Down Expand Up @@ -207,7 +210,10 @@
<object class="GtkLabel" id="label2">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="label" translatable="yes">&lt;span size="larger" weight="bold"&gt;Welcome to GnuCash!&lt;/span&gt;</property>
<property name="label" translatable="yes">Welcome to GnuCash!</property>
<style>
<class name="gnc-class-title"/>
</style>
<property name="use-markup">True</property>
</object>
<packing>
Expand Down
10 changes: 8 additions & 2 deletions gnucash/gtkbuilder/dialog-progress.glade
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,10 @@
<object class="GtkLabel" id="primary_label">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="label">&lt;span weight="bold" size="larger"&gt;Primary text&lt;/span&gt;</property>
<property name="label">Primary text</property>
<style>
<class name="gnc-class-title"/>
</style>
<property name="use-markup">True</property>
<property name="wrap">True</property>
</object>
Expand Down Expand Up @@ -68,7 +71,10 @@
<object class="GtkLabel" id="sub_label">
<property name="visible">True</property>
<property name="can-focus">False</property>
<property name="label">&lt;span style="italic"&gt;Sub-operation text&lt;/span&gt;</property>
<property name="label">Sub-operation text</property>
<style>
<class name="gnc-class-emphasis"/>
</style>
<property name="use-markup">True</property>
<property name="wrap">True</property>
</object>
Expand Down

0 comments on commit 13f62b2

Please sign in to comment.