[nautilus] preferences-window: Use correct bold weight enum
- From: Carlos Soriano <csoriano src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus] preferences-window: Use correct bold weight enum
- Date: Thu, 4 Jan 2018 17:08:41 +0000 (UTC)
commit d74e1a3d2f83104f6623719e77aa68dde0de1757
Author: Carlos Soriano <csoriano gnome org>
Date: Thu Jan 4 17:55:39 2018 +0100
preferences-window: Use correct bold weight enum
We were using "bold" as the weight value, but seems that was not the
documented one, and seems at some point changed and required the proper
enum value, resulting in no bold labels in the preference window.
This commit fixes it by using the correct Pango enum.
Closes #25
https://gitlab.gnome.org/GNOME/nautilus/issues/25
src/resources/ui/nautilus-preferences-window.ui | 22 +++++++++++-----------
1 file changed, 11 insertions(+), 11 deletions(-)
---
diff --git a/src/resources/ui/nautilus-preferences-window.ui b/src/resources/ui/nautilus-preferences-window.ui
index 3c9de33b7..0b7f53613 100644
--- a/src/resources/ui/nautilus-preferences-window.ui
+++ b/src/resources/ui/nautilus-preferences-window.ui
@@ -44,7 +44,7 @@
<property name="label" translatable="yes">Sort</property>
<property name="xalign">0</property>
<attributes>
- <attribute name="weight" value="bold"/>
+ <attribute name="weight" value="PANGO_WEIGHT_BOLD"/>
</attributes>
</object>
<packing>
@@ -90,7 +90,7 @@
<property name="label" translatable="yes">List View</property>
<property name="xalign">0</property>
<attributes>
- <attribute name="weight" value="bold"/>
+ <attribute name="weight" value="PANGO_WEIGHT_BOLD"/>
</attributes>
</object>
<packing>
@@ -136,7 +136,7 @@
<property name="label" translatable="yes">Experimental</property>
<property name="xalign">0</property>
<attributes>
- <attribute name="weight" value="bold"/>
+ <attribute name="weight" value="PANGO_WEIGHT_BOLD"/>
</attributes>
</object>
<packing>
@@ -182,7 +182,7 @@
<property name="label" translatable="yes">Icon View Captions</property>
<property name="xalign">0</property>
<attributes>
- <attribute name="weight" value="bold"/>
+ <attribute name="weight" value="PANGO_WEIGHT_BOLD"/>
</attributes>
</object>
<packing>
@@ -403,7 +403,7 @@
<property name="label" translatable="yes">Open Action</property>
<property name="xalign">0</property>
<attributes>
- <attribute name="weight" value="bold"/>
+ <attribute name="weight" value="PANGO_WEIGHT_BOLD"/>
</attributes>
</object>
<packing>
@@ -468,7 +468,7 @@
<property name="label" translatable="yes">Link Creation</property>
<property name="xalign">0</property>
<attributes>
- <attribute name="weight" value="bold"/>
+ <attribute name="weight" value="PANGO_WEIGHT_BOLD"/>
</attributes>
</object>
<packing>
@@ -514,7 +514,7 @@
<property name="label" translatable="yes">Executable Text Files</property>
<property name="xalign">0</property>
<attributes>
- <attribute name="weight" value="bold"/>
+ <attribute name="weight" value="PANGO_WEIGHT_BOLD"/>
</attributes>
</object>
<packing>
@@ -597,7 +597,7 @@
<property name="label" translatable="yes">Trash</property>
<property name="xalign">0</property>
<attributes>
- <attribute name="weight" value="bold"/>
+ <attribute name="weight" value="PANGO_WEIGHT_BOLD"/>
</attributes>
</object>
<packing>
@@ -752,7 +752,7 @@
<property name="label" translatable="yes">Search</property>
<property name="xalign">0</property>
<attributes>
- <attribute name="weight" value="bold"/>
+ <attribute name="weight" value="PANGO_WEIGHT_BOLD"/>
</attributes>
</object>
<packing>
@@ -845,7 +845,7 @@
<property name="label" translatable="yes">Thumbnails</property>
<property name="xalign">0</property>
<attributes>
- <attribute name="weight" value="bold"/>
+ <attribute name="weight" value="PANGO_WEIGHT_BOLD"/>
</attributes>
</object>
<packing>
@@ -980,7 +980,7 @@
<property name="label" translatable="yes">File count</property>
<property name="xalign">0</property>
<attributes>
- <attribute name="weight" value="bold"/>
+ <attribute name="weight" value="PANGO_WEIGHT_BOLD"/>
</attributes>
</object>
<packing>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]