From fbeaace607d5ecdd207d49a4523025335d1d97fb Mon Sep 17 00:00:00 2001 From: Scott Gilbertson Date: Sun, 25 Feb 2024 10:14:10 -0500 Subject: [PATCH] Change literal to G_FILE_ATTRIBUTE_TIME_MODIFIED, change line spacing in template help --- rtgui/batchqueue.cc | 2 +- rtgui/batchqueuepanel.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/rtgui/batchqueue.cc b/rtgui/batchqueue.cc index ab9c14c7c..3a82ef511 100644 --- a/rtgui/batchqueue.cc +++ b/rtgui/batchqueue.cc @@ -1030,7 +1030,7 @@ Glib::ustring BatchQueue::calcAutoFileNameBase (const Glib::ustring& origFileNam { Glib::RefPtr file = Gio::File::create_for_path(origFileName); if (file) { - Glib::RefPtr info = file->query_info("time::modified"); + Glib::RefPtr info = file->query_info(G_FILE_ATTRIBUTE_TIME_MODIFIED); if (info) { dateTime = info->get_modification_date_time(); } diff --git a/rtgui/batchqueuepanel.cc b/rtgui/batchqueuepanel.cc index b74998738..619a5f896 100644 --- a/rtgui/batchqueuepanel.cc +++ b/rtgui/batchqueuepanel.cc @@ -381,7 +381,7 @@ void BatchQueuePanel::populateTemplateHelpBuffer(Glib::RefPtr b #else auto exampleFilePath = M("QUEUE_LOCATION_TEMPLATE_HELP_PATHS_EXAMPLE_LINUX"); #endif - pos = buffer->insert_markup(pos, Glib::ustring::format("\n ", exampleFilePath, "\n")); + pos = buffer->insert_markup(pos, Glib::ustring::format("\n ", exampleFilePath, "\n\n")); pos = buffer->insert_markup(pos, M("QUEUE_LOCATION_TEMPLATE_HELP_PATHS_BODY_2")); // Examples are generated from exampleFilePath using the actual template processing function Options savedOptions = options; // to be restored after generating example results