示例#1
0
        public PryanetUI()
        {
            Application.Init ();

            Setup      = new PryanetSetup ();
            EventLog   = new PryanetEventLog ();
            About      = new PryanetAbout ();
            Bubbles    = new PryanetBubbles ();
            StatusIcon = new PryanetStatusIcon ();

            Program.Controller.UIHasLoaded ();
        }
示例#2
0
        public PryanetUI()
        {
            // FIXME: The second time windows are shown, the windows
            // don't have the smooth ease in animation, but appear abruptly.
            // The ease out animation always seems to work
            Setup      = new PryanetSetup ();
            EventLog   = new PryanetEventLog ();
            About      = new PryanetAbout ();
            Bubbles    = new PryanetBubbles ();
            StatusIcon = new PryanetStatusIcon ();

            Program.Controller.UIHasLoaded ();
        }
示例#3
0
        public PryanetUI()
        {
            Program.Controller.Invoke (() => {
                NSWorkspace.SharedWorkspace.SetIconforFile (
                    NSImage.ImageNamed ("pryanetshare-folder.icns"), Program.Controller.FoldersPath, 0);

                NSApplication.SharedApplication.ApplicationIconImage = NSImage.ImageNamed ("pryanetshare-app.icns");

                Setup      = new PryanetSetup ();
                EventLog   = new PryanetEventLog ();
                About      = new PryanetAbout ();
                Bubbles    = new PryanetBubbles ();
                StatusIcon = new PryanetStatusIcon ();
            });

            Program.Controller.UIHasLoaded ();
        }