~ubuntu-branches/ubuntu/trusty/gnome-do/trusty

« back to all changes in this revision

Viewing changes to Do/src/CorePreferences.cs

  • Committer: Package Import Robot
  • Author(s): Christopher James Halse Rogers
  • Date: 2012-03-26 11:12:21 UTC
  • mfrom: (0.1.12 sid)
  • Revision ID: package-import@ubuntu.com-20120326111221-1jk143fy37zxi3e4
Tags: 0.9-1
* New upstream version no longer uses deprecated internal glib headers.
  (Closes: #665537)
* [59fa37b9] Fix watch file
* [63486516] Imported Upstream version 0.9
* [8c636d84] Disable testsuite for now; requires running dbus and gconf daemons
* [e46de4b9] Remove inaccurate README.Source
* [4591d677] Add git-buildpackage configuration to default to pristine-tar

Show diffs side-by-side

added added

removed removed

Lines of Context:
35
35
                const string QuietStartKey = "QuietStart";
36
36
                const string StartAtLoginKey = "StartAtLogin";
37
37
                const string AlwaysShowResultsKey = "AlwaysShowResults";
 
38
                const string ForceClassicWindowKey = "ForceClassicWindow";
38
39
 
39
40
                const string ThemeDefaultValue = "Classic";
40
41
                const bool QuietStartDefaultValue = false;
41
42
                const bool StartAtLoginDefaultValue = false;
42
43
                const bool AlwaysShowResultsDefaultValue = false;
 
44
                const bool ForceClassicWindowDefaultValue = false;
43
45
                const string TextModeKeybindingDefaultValue = "period";
44
46
                const string SummonKeybindingDefaultValue = "<Super>space";
45
47
 
91
93
                        set { if (AlwaysShowResults != value) Preferences.Set (AlwaysShowResultsKey, value); }
92
94
                }
93
95
                
 
96
                public bool ForceClassicWindow {
 
97
                        get { return Preferences.Get (ForceClassicWindowKey, ForceClassicWindowDefaultValue); }
 
98
                        set { if (ForceClassicWindow != value) Preferences.Set (ForceClassicWindowKey, value); }
 
99
                }
 
100
                
94
101
                static bool HasOption (string option)
95
102
                {
96
103
                        return Env.GetCommandLineArgs ().Contains (option);