[gnome-music/wip/jfelder/gtk4-v3: 49/98] 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: 49/98] ui/playlistdialog: Port headerbar to title-widget property
- Date: Thu, 3 Feb 2022 05:35:50 +0000 (UTC)
commit 1f039a60236496d808620b8562522f03578fddca
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]