[PATCH v2 4/9] kconfig: gconf: rename gconf.glade to gconf.ui

Masahiro Yamada posted 9 patches 3 months, 1 week ago
[PATCH v2 4/9] kconfig: gconf: rename gconf.glade to gconf.ui
Posted by Masahiro Yamada 3 months, 1 week ago
The next commit will convert this file to GtkBuilder format. Rename
it in advance to reflect the intended format.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
---

(no changes since v1)

 scripts/kconfig/gconf.c                   | 6 +++---
 scripts/kconfig/{gconf.glade => gconf.ui} | 0
 2 files changed, 3 insertions(+), 3 deletions(-)
 rename scripts/kconfig/{gconf.glade => gconf.ui} (100%)

diff --git a/scripts/kconfig/gconf.c b/scripts/kconfig/gconf.c
index bc25924a1adf..6cf58fe5bcfe 100644
--- a/scripts/kconfig/gconf.c
+++ b/scripts/kconfig/gconf.c
@@ -1325,11 +1325,11 @@ int main(int ac, char *av[])
 	/* Determine GUI path */
 	env = getenv(SRCTREE);
 	if (env)
-		glade_file = g_strconcat(env, "/scripts/kconfig/gconf.glade", NULL);
+		glade_file = g_strconcat(env, "/scripts/kconfig/gconf.ui", NULL);
 	else if (av[0][0] == '/')
-		glade_file = g_strconcat(av[0], ".glade", NULL);
+		glade_file = g_strconcat(av[0], ".ui", NULL);
 	else
-		glade_file = g_strconcat(g_get_current_dir(), "/", av[0], ".glade", NULL);
+		glade_file = g_strconcat(g_get_current_dir(), "/", av[0], ".ui", NULL);
 
 	/* Conf stuffs */
 	if (ac > 1 && av[1][0] == '-') {
diff --git a/scripts/kconfig/gconf.glade b/scripts/kconfig/gconf.ui
similarity index 100%
rename from scripts/kconfig/gconf.glade
rename to scripts/kconfig/gconf.ui
-- 
2.43.0
Re: [PATCH v2 4/9] kconfig: gconf: rename gconf.glade to gconf.ui
Posted by Randy Dunlap 3 months, 1 week ago

On 6/29/25 11:43 AM, Masahiro Yamada wrote:
> The next commit will convert this file to GtkBuilder format. Rename
> it in advance to reflect the intended format.
> 
> Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>

Acked-by: Randy Dunlap <rdunlap@infradead.org>
Tested-by: Randy Dunlap <rdunlap@infradead.org>

> ---
> 
> (no changes since v1)
> 
>  scripts/kconfig/gconf.c                   | 6 +++---
>  scripts/kconfig/{gconf.glade => gconf.ui} | 0
>  2 files changed, 3 insertions(+), 3 deletions(-)
>  rename scripts/kconfig/{gconf.glade => gconf.ui} (100%)
> 
> diff --git a/scripts/kconfig/gconf.c b/scripts/kconfig/gconf.c
> index bc25924a1adf..6cf58fe5bcfe 100644
> --- a/scripts/kconfig/gconf.c
> +++ b/scripts/kconfig/gconf.c
> @@ -1325,11 +1325,11 @@ int main(int ac, char *av[])
>  	/* Determine GUI path */
>  	env = getenv(SRCTREE);
>  	if (env)
> -		glade_file = g_strconcat(env, "/scripts/kconfig/gconf.glade", NULL);
> +		glade_file = g_strconcat(env, "/scripts/kconfig/gconf.ui", NULL);
>  	else if (av[0][0] == '/')
> -		glade_file = g_strconcat(av[0], ".glade", NULL);
> +		glade_file = g_strconcat(av[0], ".ui", NULL);
>  	else
> -		glade_file = g_strconcat(g_get_current_dir(), "/", av[0], ".glade", NULL);
> +		glade_file = g_strconcat(g_get_current_dir(), "/", av[0], ".ui", NULL);
>  
>  	/* Conf stuffs */
>  	if (ac > 1 && av[1][0] == '-') {
> diff --git a/scripts/kconfig/gconf.glade b/scripts/kconfig/gconf.ui
> similarity index 100%
> rename from scripts/kconfig/gconf.glade
> rename to scripts/kconfig/gconf.ui

-- 
~Randy