Skip to content

Commit c644bee

Browse files
authored
Merge pull request #18769 from victoryforce/deactivate-deprecated-modules-group
Deactivate deprecated modules group for now
2 parents 4b7bbfe + 29f24d8 commit c644bee

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

src/libs/modulegroups.c

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
22
This file is part of darktable,
3-
Copyright (C) 2011-2024 darktable developers.
3+
Copyright (C) 2011-2025 darktable developers.
44
55
darktable is free software: you can redistribute it and/or modify
66
it under the terms of the GNU General Public License as published by
@@ -1780,9 +1780,16 @@ void init_presets(dt_lib_module_t *self)
17801780
dt_lib_presets_add(_("search only"),
17811781
self->plugin_name, self->version(), tx, strlen(tx), TRUE, 0);
17821782

1783-
// this is a special preset for all newly deprecated modules
1784-
// so users still have a chance to access them until next release (with warning messages)
1785-
// this modules are deprecated in 3.4 and should be removed from this group in 3.8 (1 year later)
1783+
// There is no need for the deprecated modules group now, as there have been
1784+
// no new module deprecations for a long time. The group is not for access
1785+
// to all once deprecated modules, it should only contain deprecated modules
1786+
// temporarily (planned for 1 year) to prepare users of these modules for
1787+
// the need to learn the replacement modules.
1788+
// We are not removing the following code, just commenting it out for possible
1789+
// updating if we decide to deprecate any modules again in the future.
1790+
#if 0
1791+
// This is a special preset for all newly deprecated modules, so users still
1792+
// have a chance to access them until next release (with warning messages)
17861793
SNQA();
17871794
SMG(C_("modulegroup", "deprecated"), "basic");
17881795
// these modules are deprecated in 4.4 and should be removed in 4.8 (1 year later)
@@ -1791,6 +1798,7 @@ void init_presets(dt_lib_module_t *self)
17911798

17921799
dt_lib_presets_add(_(DEPRECATED_PRESET_NAME),
17931800
self->plugin_name, self->version(), tx, strlen(tx), TRUE, 0);
1801+
#endif
17941802

17951803
g_free(tx);
17961804

0 commit comments

Comments
 (0)