[gnome-todo] build: Stop appending "(Development)" to the app name
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-todo] build: Stop appending "(Development)" to the app name
- Date: Thu, 16 Sep 2021 17:52:22 +0000 (UTC)
commit 3103b3fe1850f3a2b298e2a69e1afc0a75d8dc1a
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date: Tue Sep 14 19:42:21 2021 -0300
build: Stop appending "(Development)" to the app name
The development status is already communicated through the icon, and
the headerbar.
meson.build | 2 --
src/gui/gtd-application.c | 3 +--
src/main.c | 4 +---
3 files changed, 2 insertions(+), 7 deletions(-)
---
diff --git a/meson.build b/meson.build
index 5ba9f264..89bc9534 100644
--- a/meson.build
+++ b/meson.build
@@ -39,7 +39,6 @@ cc = meson.get_compiler('c')
if get_option('profile') == 'development'
profile = 'Devel'
- name_suffix = ' (Development)'
application_id = 'org.gnome.Todo.Devel'
else
profile = ''
@@ -63,7 +62,6 @@ config_h.set('NDEBUG', not gnome_todo_debug)
set_defines = [
['APPLICATION_ID', application_id],
['AUTOSTART_FILE', application_id + '.Autostart.desktop'],
- ['NAME_SUFFIX', name_suffix],
['PACKAGE', meson.project_name()],
['PACKAGE_BUGREPORT', 'https://gitlab.gnome.org/GNOME/' + meson.project_name() + '/issues/new'],
['PACKAGE_NAME', meson.project_name()],
diff --git a/src/gui/gtd-application.c b/src/gui/gtd-application.c
index 83a760c0..1d36d13c 100644
--- a/src/gui/gtd-application.c
+++ b/src/gui/gtd-application.c
@@ -127,9 +127,8 @@ gtd_application_show_about (GSimpleAction *simple,
self = GTD_APPLICATION (user_data);
- g_autofree gchar *program_name = g_strconcat (_("To Do"), NAME_SUFFIX, NULL);
gtk_show_about_dialog (GTK_WINDOW (self->window),
- "program-name", program_name,
+ "program-name", _("To Do"),
"version", GTD_VCS_TAG,
"copyright", _("Copyright \xC2\xA9 2015–2020 The To Do authors"),
"license-type", GTK_LICENSE_GPL_3_0,
diff --git a/src/main.c b/src/main.c
index 52f43d3a..6f47752a 100644
--- a/src/main.c
+++ b/src/main.c
@@ -27,7 +27,6 @@ main (gint argc,
gchar **argv)
{
g_autoptr (GtdApplication) app = NULL;
- g_autofree gchar *program_name = NULL;
gtd_ensure_types ();
@@ -35,8 +34,7 @@ main (gint argc,
bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
textdomain (GETTEXT_PACKAGE);
- program_name = g_strconcat (_("To Do"), NAME_SUFFIX, NULL);
- g_set_application_name (program_name);
+ g_set_application_name (_("To Do"));
app = gtd_application_new ();
g_application_set_default (G_APPLICATION (app));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]