Skip to content

Commit

Permalink
Added icon to about dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
gnunn1 committed Feb 23, 2016
1 parent 4b68895 commit 8318bc1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions source/gx/terminix/application.d
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
3 changes: 2 additions & 1 deletion source/gx/terminix/constants.d
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [
Expand Down

0 comments on commit 8318bc1

Please sign in to comment.