~nonamenoname/slingshot/fix-1084101

« back to all changes in this revision

Viewing changes to src/Settings.vala

  • Committer: RabbitBot
  • Author(s): Corentin Noël
  • Date: 2014-01-14 13:05:03 UTC
  • mfrom: (396.1.1 slingshot)
  • Revision ID: rabbitbot-20140114130503-vl01yvhtdlu0dvs4
* Removed every using statement
* Changed VWidgets and HWidgets to Widgets with the corresponding orientation (Gtk deprecation)
* Ported Zeitgeist parts to version 2.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
//  along with this program.  If not, see <http://www.gnu.org/licenses/>.
17
17
//
18
18
 
19
 
using Granite.Services;
20
 
 
21
 
namespace Slingshot {
22
 
 
23
 
    public class Settings : Granite.Services.Settings {
24
 
 
25
 
        protected class GalaSettings : Granite.Services.Settings {
26
 
 
27
 
            public string hotcorner_topleft { get; set; }
28
 
 
29
 
            public GalaSettings () {
30
 
                base ("org.pantheon.desktop.gala.behavior");
31
 
            }
32
 
        }
33
 
 
34
 
        public int columns { get; set; }
35
 
        public int rows { get; set; }
36
 
        public int icon_size { get; set; }
37
 
        public bool show_category_filter { get; set; }
38
 
        public bool use_category { get; set; }
39
 
        public string screen_resolution { get; set; }
40
 
        public GalaSettings gala_settings;
41
 
 
42
 
        public Settings () {
43
 
            base ("org.pantheon.desktop.slingshot");
44
 
            gala_settings = new GalaSettings ();
45
 
        }
46
 
 
 
19
public class Slingshot.Settings : Granite.Services.Settings {
 
20
 
 
21
    protected class GalaSettings : Granite.Services.Settings {
 
22
 
 
23
        public string hotcorner_topleft { get; set; }
 
24
 
 
25
        public GalaSettings () {
 
26
            base ("org.pantheon.desktop.gala.behavior");
 
27
        }
 
28
    }
 
29
 
 
30
    public int columns { get; set; }
 
31
    public int rows { get; set; }
 
32
    public int icon_size { get; set; }
 
33
    public bool show_category_filter { get; set; }
 
34
    public bool use_category { get; set; }
 
35
    public string screen_resolution { get; set; }
 
36
    public GalaSettings gala_settings;
 
37
 
 
38
    public Settings () {
 
39
        base ("org.pantheon.desktop.slingshot");
 
40
        gala_settings = new GalaSettings ();
47
41
    }
48
42
 
49
43
}