home · contact · privacy
Browser: Use <b> markup for box titles rather than "** … **".
authorChristian Heller <c.heller@plomlompom.de>
Fri, 27 Sep 2024 03:20:05 +0000 (05:20 +0200)
committerChristian Heller <c.heller@plomlompom.de>
Fri, 27 Sep 2024 03:20:05 +0000 (05:20 +0200)
browser.py

index 0af99a3dd796f743e1bf0ec433c576793922bf61..63cff44ec632712e1005cbbcb39f48d79db6168f 100755 (executable)
@@ -140,7 +140,7 @@ class Sorting():
         factory.connect('bind', bind_sort_order_item)
         self.view = Gtk.ListView(model=self.selection, factory=factory)
         self.box = Gtk.Box(orientation=OR_V)
-        self.box.append(Gtk.Label(label='** sort order **'))
+        self.box.append(Gtk.Label(label='<b>sort order</b>', use_markup=True))
         self.box.append(self.view)
         self.btn_activate = Gtk.Button(label='activate')
         self.btn_activate.props.sensitive = False
@@ -737,7 +737,8 @@ class MainWindow(Gtk.Window):
             text_view.set_size_request(300, -1)
             self.metadata = text_view.get_buffer()
             metadata_box = Gtk.Box(orientation=OR_V)
-            metadata_box.append(Gtk.Label(label='** metadata **'))
+            metadata_box.append(
+                    Gtk.Label(label='<b>metadata</b>', use_markup=True))
             metadata_box.append(text_view)
             return metadata_box