summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>2021-09-14 19:42:21 -0300
committerGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>2021-09-16 14:52:08 -0300
commit3103b3fe1850f3a2b298e2a69e1afc0a75d8dc1a (patch)
treef3407f26a08714f6d6f9aab68f64caf560fe71b2
parentc5bea306bbd0b7bcd7c3a2436f658b29d5c85702 (diff)
downloadgnome-todo-3103b3fe1850f3a2b298e2a69e1afc0a75d8dc1a.tar.gz
build: Stop appending "(Development)" to the app name
The development status is already communicated through the icon, and the headerbar.
-rw-r--r--meson.build2
-rw-r--r--src/gui/gtd-application.c3
-rw-r--r--src/main.c4
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));