[gnome-music/wip/jfelder/gtk4-v3: 70/208] ui/playlistdialog: Port headerbar to title-widget property
- From: Jean Felder <jfelder src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music/wip/jfelder/gtk4-v3: 70/208] ui/playlistdialog: Port headerbar to title-widget property
- Date: Fri, 11 Feb 2022 11:40:20 +0000 (UTC)
commit 35068c14700c37f8c849b31a705186e75763d6bb
Author: Jean Felder <jfelder src gnome org>
Date: Mon Jan 10 15:23:21 2022 +0100
ui/playlistdialog: Port headerbar to title-widget property
Title property has been removed in Gtk4.
data/ui/PlaylistDialog.ui | 12 +++++++++++-
1 file changed, 11 insertions(+), 1 deletion(-)
---
diff --git a/data/ui/PlaylistDialog.ui b/data/ui/PlaylistDialog.ui
index b70e99361..0967338d2 100644
--- a/data/ui/PlaylistDialog.ui
+++ b/data/ui/PlaylistDialog.ui
@@ -204,7 +204,17 @@
<object class="GtkHeaderBar" id="_title_bar">
<property name="visible">True</property>
<property name="focusable">False</property>
- <property name="title" translatable="yes">Add to Playlist</property>
+ <property name="title-widget">
+ <object class="GtkLabel">
+ <property name="label" translatable="yes">Add to Playlist</property>
+ <property name="single-line-mode">True</property>
+ <property name="ellipsize">end</property>
+ <property name="width-chars">5</property>
+ <style>
+ <class name="title"/>
+ </style>
+ </object>
+ </property>
<child>
<object class="GtkButton" id="_cancel_button">
<property name="label" translatable="yes">_Cancel</property>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]