From: Christian Heller Date: Fri, 27 Sep 2024 03:20:05 +0000 (+0200) Subject: Browser: Use markup for box titles rather than "** … **". X-Git-Url: https://plomlompom.com/repos/?a=commitdiff_plain;h=e32be401b79ec15fe7b070096b891545c2422c72;p=stable_plom Browser: Use markup for box titles rather than "** … **". --- diff --git a/browser.py b/browser.py index 0af99a3..63cff44 100755 --- a/browser.py +++ b/browser.py @@ -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='sort order', 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='metadata', use_markup=True)) metadata_box.append(text_view) return metadata_box