Commit e9e4ed5f authored by Matthias Clasen's avatar Matthias Clasen

file chooser dialog: Show a subtitle

Use the new "subtitle" property of the file chooser widget
to display a subtitle in the headerbar, if we have one.
parent 10f5076b
......@@ -517,6 +517,9 @@ setup_search (GtkFileChooserDialog *dialog)
g_object_bind_property (button, "active",
dialog->priv->widget, "search-mode",
G_BINDING_BIDIRECTIONAL);
g_object_bind_property (dialog->priv->widget, "subtitle",
header, "subtitle",
G_BINDING_SYNC_CREATE);
gtk_container_forall (GTK_CONTAINER (header), add_button, dialog);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment