From 8318bc1a9fa18c8248105fbf881e8a87eb3ffa31 Mon Sep 17 00:00:00 2001 From: gnunn1 Date: Mon, 22 Feb 2016 18:57:56 -0700 Subject: [PATCH] Added icon to about dialog --- source/gx/terminix/application.d | 1 + source/gx/terminix/constants.d | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/source/gx/terminix/application.d b/source/gx/terminix/application.d index b81b48ed..3a54fcd4 100644 --- a/source/gx/terminix/application.d +++ b/source/gx/terminix/application.d @@ -183,6 +183,7 @@ private: setTranslatorCredits(APPLICATION_TRANSLATORS); setLicense(APPLICATION_LICENSE); addCreditSection(_("Credits"), APPLICATION_CREDITS); + setLogoIconName(APPLICATION_ICON_NAME); addOnResponse(delegate(int responseId, Dialog sender) { if (responseId == ResponseType.CANCEL || responseId == ResponseType.DELETE_EVENT) diff --git a/source/gx/terminix/constants.d b/source/gx/terminix/constants.d index fc42dc69..a57406fc 100644 --- a/source/gx/terminix/constants.d +++ b/source/gx/terminix/constants.d @@ -23,11 +23,12 @@ enum APPLICATION_ID = "com.gexperts.Terminix"; // Application values used in About Dialog enum APPLICATION_NAME = "Terminix"; -enum APPLICATION_VERSION = "0.50.1"; +enum APPLICATION_VERSION = "0.50.2"; enum APPLICATION_AUTHOR = "Gerald Nunn"; enum APPLICATION_COPYRIGHT = "Copyright \xc2\xa9 2016 " ~ APPLICATION_AUTHOR; enum APPLICATION_COMMENTS = "A VTE based terminal emulator for Linux"; enum APPLICATION_LICENSE = "This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/."; +enum APPLICATION_ICON_NAME = "utilities-terminal"; immutable string[] APPLICATION_AUTHORS = ["Gerald Nunn"]; string[] APPLICATION_CREDITS = [