[gnome-builder] about: show the application channel when not "other"
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] about: show the application channel when not "other"
- Date: Sun, 18 Jun 2017 20:59:08 +0000 (UTC)
commit 25460a6d997c4ac4fae1b072f9782ec25e3fb9b0
Author: Christian Hergert <chergert redhat com>
Date: Sun Jun 18 13:58:43 2017 -0700
about: show the application channel when not "other"
libide/application/ide-application-actions.c | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/libide/application/ide-application-actions.c b/libide/application/ide-application-actions.c
index 013c9f4..3b94fb6 100644
--- a/libide/application/ide-application-actions.c
+++ b/libide/application/ide-application-actions.c
@@ -121,10 +121,8 @@ ide_application_actions_about (GSimpleAction *action,
else
g_string_append (version, PACKAGE_VERSION);
-#ifdef CHANNEL
- if (g_strcmp0 (CHANNEL, "distro") != 0)
- g_string_append (version, " ("CHANNEL")");
-#endif
+ if (g_strcmp0 (IDE_BUILD_CHANNEL, "other") != 0)
+ g_string_append (version, "\n" IDE_BUILD_CHANNEL);
dialog = g_object_new (GTK_TYPE_ABOUT_DIALOG,
"artists", ide_application_credits_artists,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]