Updated version of Collect Helper
Reworded the button text to better match with the rest of darktable's buttons
This commit is contained in:
@@ -152,27 +152,27 @@ end
|
|||||||
|
|
||||||
-- GUI --
|
-- GUI --
|
||||||
dt.gui.libs.image.register_action(
|
dt.gui.libs.image.register_action(
|
||||||
"Return to Previous Collection",
|
"collect: previous",
|
||||||
function() PreviousCollection() end,
|
function() PreviousCollection() end,
|
||||||
"Sets the Collect parameters to be the previously active parameters"
|
"Sets the Collect parameters to be the previously active parameters"
|
||||||
)
|
)
|
||||||
if dt.preferences.read('module_CollectHelper','folder','bool') then
|
if dt.preferences.read('module_CollectHelper','folder','bool') then
|
||||||
dt.gui.libs.image.register_action(
|
dt.gui.libs.image.register_action(
|
||||||
"Collect on image's Folder",
|
"collect: folder",
|
||||||
function() CollectOnFolder() end,
|
function() CollectOnFolder() end,
|
||||||
"Sets the Collect parameters to be the selected images's folder"
|
"Sets the Collect parameters to be the selected images's folder"
|
||||||
)
|
)
|
||||||
end
|
end
|
||||||
if dt.preferences.read('module_CollectHelper','colors','bool') then
|
if dt.preferences.read('module_CollectHelper','colors','bool') then
|
||||||
dt.gui.libs.image.register_action(
|
dt.gui.libs.image.register_action(
|
||||||
"Collect on image's Color Label(s)",
|
"collect: color label(s)",
|
||||||
function() CollectOnColors() end,
|
function() CollectOnColors() end,
|
||||||
"Sets the Collect parameters to be the selected images's color label(s)"
|
"Sets the Collect parameters to be the selected images's color label(s)"
|
||||||
)
|
)
|
||||||
end
|
end
|
||||||
if dt.preferences.read('module_CollectHelper','all_and','bool') then
|
if dt.preferences.read('module_CollectHelper','all_and','bool') then
|
||||||
dt.gui.libs.image.register_action(
|
dt.gui.libs.image.register_action(
|
||||||
"Collect on All (AND)",
|
"collect: all (AND)",
|
||||||
function() CollectOnAll_AND() end,
|
function() CollectOnAll_AND() end,
|
||||||
"Sets the Collect parameters based on all activated CollectHelper options"
|
"Sets the Collect parameters based on all activated CollectHelper options"
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user