summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarlos Soriano <csoriano@gnome.org>2018-01-04 17:55:39 +0100
committerErnestas Kulik <ernestask@gnome.org>2018-03-24 20:12:13 +0200
commit8b6433ffec26659de4117f9c24259cbabdf795c0 (patch)
tree07ec43d00afe0df2a10f671ce8df750807f7f219
parente045e1ca344463769567f37ab1ac13f6567cbf3a (diff)
downloadnautilus-8b6433ffec26659de4117f9c24259cbabdf795c0.tar.gz
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
-rw-r--r--src/resources/ui/nautilus-preferences-window.ui22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/resources/ui/nautilus-preferences-window.ui b/src/resources/ui/nautilus-preferences-window.ui
index fe89e248e..d3e8e47cf 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>
@@ -875,7 +875,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>
@@ -1010,7 +1010,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>