Skip to content

Commit

Permalink
Code cleanup prior to release
Browse files Browse the repository at this point in the history
  • Loading branch information
gnunn1 committed Jan 1, 2016
1 parent b99efab commit 2a40a3d
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 2 deletions.
3 changes: 3 additions & 0 deletions source/gx/terminix/application.d
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ import gx.terminix.constants;
import gx.terminix.preferences;
import gx.terminix.prefwindow;

/**
* The GTK Application used by Terminix.
*/
class Terminix : Application {

private:
Expand Down
4 changes: 2 additions & 2 deletions source/gx/terminix/preferences.d
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import gio.Settings : GSettings = Settings;

import gx.util.array;

//Preferences
//Preference Constants
enum SETTINGS_ID = "com.gexperts.Terminix.Settings";
enum SETTINGS_BASE_PATH = "/com/gexperts/Terminix";

Expand All @@ -29,7 +29,7 @@ enum SETTINGS_SEARCH_DEFAULT_MATCH_ENTIRE_WORD = "search-default-match-entire-wo
enum SETTINGS_SEARCH_DEFAULT_MATCH_AS_REGEX = "search-default-match-as-regex";
enum SETTINGS_SEARCH_DEFAULT_WRAP_AROUND = "search-default-wrap-around";

//Profiles
//Profile Preference Constants
enum SETTINGS_PROFILE_LIST_ID = "com.gexperts.Terminix.ProfilesList";
enum SETTINGS_PROFILE_ID = "com.gexperts.Terminix.Profile";
enum SETTINGS_PROFILE_PATH = SETTINGS_BASE_PATH ~ "/profiles/";
Expand Down
3 changes: 3 additions & 0 deletions source/gx/terminix/prefwindow.d
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,9 @@ import gx.terminix.preferences;
import gx.terminix.profilewindow;
import gx.util.array;

/**
* UI for managing Terminix preferences
*/
class PreferenceWindow : ApplicationWindow {

private:
Expand Down
3 changes: 3 additions & 0 deletions source/gx/terminix/profilewindow.d
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ import gx.i18n.l10n;
import gx.terminix.colorschemes;
import gx.terminix.preferences;

/**
* UI used for managing preferences for a specific profile
*/
class ProfileWindow : ApplicationWindow {

private:
Expand Down

0 comments on commit 2a40a3d

Please sign in to comment.