~gotwig/gazette/global-service-states

« back to all changes in this revision

Viewing changes to lib/Service.vala

  • Committer: Santiago Ocamica
  • Date: 2013-05-12 22:48:36 UTC
  • Revision ID: santi6982@gmail.com-20130512224836-6phjsq5c56w8ypcj
Separated the plug from gazette code. Made the welcome message optional.

Show diffs side-by-side

added added

removed removed

Lines of Context:
7
7
        ShadowedLabel _title;
8
8
        ShadowedLabel reload;
9
9
        Clutter.Actor contents;
10
 
        unowned Gazette.Plugin parent;
 
10
        unowned Gazette.Plugin.Base parent;
11
11
        const int MARGIN = 30;
12
12
        public double scale { get { return this.scale_x; } set { this.scale_x = this.scale_y = value; } }
13
13
        public string title { 
15
15
            set { _title.label = value; contents.y = reload.y = _title.y + _title.height;}
16
16
        }
17
17
        
18
 
            public Service (Gazette.Plugin parent) {
 
18
            public Service (Gazette.Plugin.Base parent) {
19
19
                    opacity = 0;
20
20
                    reactive = true;
21
21
                    scale_gravity = Clutter.Gravity.NORTH_WEST;