[gimp/wip/Jehan/layers-dockable-refresh: 97/105] app: add a preferences for choosing your prefered search pattern format.




commit 97dcd00ce663e2fe254acf325c86dc37d3b748f3
Author: Jehan <jehan girinstud io>
Date:   Tue Oct 5 01:56:51 2021 +0200

    app: add a preferences for choosing your prefered search pattern format.
    
    The 3 available formats are: simple text search, regular expressions and
    glob patterns (cf. previous commit). I did a small step back from
    previous commit by getting "is-pattern" property back in GimpItemList
    instead of having this case as a value of GimpSelectMethod. The reason
    is that it would render a useless value in the Preferences combo box.
    
    Text search is the default.

 app/core/core-enums.c | 2 --
 1 file changed, 2 deletions(-)
---
diff --git a/app/core/core-enums.c b/app/core/core-enums.c
index 6e00303505..c42d8258ac 100644
--- a/app/core/core-enums.c
+++ b/app/core/core-enums.c
@@ -1462,7 +1462,6 @@ gimp_select_method_get_type (void)
 {
   static const GEnumValue values[] =
   {
-    { GIMP_SELECT_FIXED, "GIMP_SELECT_FIXED", "fixed" },
     { GIMP_SELECT_PLAIN_TEXT, "GIMP_SELECT_PLAIN_TEXT", "plain-text" },
     { GIMP_SELECT_REGEX_PATTERN, "GIMP_SELECT_REGEX_PATTERN", "regex-pattern" },
     { GIMP_SELECT_GLOB_PATTERN, "GIMP_SELECT_GLOB_PATTERN", "glob-pattern" },
@@ -1471,7 +1470,6 @@ gimp_select_method_get_type (void)
 
   static const GimpEnumDesc descs[] =
   {
-    { GIMP_SELECT_FIXED, NC_("select-method", "Selection of fixed list of items"), NULL },
     { GIMP_SELECT_PLAIN_TEXT, NC_("select-method", "Selection by basic text search"), NULL },
     { GIMP_SELECT_REGEX_PATTERN, NC_("select-method", "Selection by regular expression search"), NULL },
     { GIMP_SELECT_GLOB_PATTERN, NC_("select-method", "Selection by glob pattern search"), NULL },


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]