~vcs-imports/media-applet/branch

« back to all changes in this revision

Viewing changes to src/media_application.vala

  • Committer: christian.martellini
  • Date: 2009-03-25 20:17:56 UTC
  • Revision ID: vcs-imports@canonical.com-20090325201756-o0c428pj8ncl110y

Show diffs side-by-side

added added

removed removed

Lines of Context:
34
34
        base;
35
35
 
36
36
                /*window allocation*/
37
 
        this.app_window.size_allocate += (w,rect) => {stderr.printf("FUCK RELIGION\n");this.reposition();};
 
37
        this.app_window.size_allocate += (w,rect) => {this.reposition();};
38
38
                
39
39
        /*status icon*/
40
40
        this.icon = new Gtk.StatusIcon.from_icon_name("drive-harddisk");
131
131
    }
132
132
        
133
133
        private void show_or_hide_systray() {
 
134
                stderr.printf("attached devices:%d\n",(int)base.app_monitor.count_attached_devices());
134
135
                bool val = base.app_monitor.count_attached_devices() == 0 ? false : true ;
135
136
                this.icon.set_visible(val);
136
137
                if( val == false) {