예제 #1
0
        public OrangeUI()
        {
            // 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 OrangeSetup ();
            EventLog   = new OrangeEventLog ();
            About      = new OrangeAbout ();
            Bubbles    = new OrangeBubbles ();
            StatusIcon = new OrangeStatusIcon ();

            Program.Controller.UIHasLoaded ();
        }
예제 #2
0
        public OrangeUI()
        {
            Application.Init ();

            // Use translations
            Catalog.Init (Defines.GETTEXT_PACKAGE, Defines.LOCALE_DIR);

            Setup      = new OrangeSetup ();
            EventLog   = new OrangeEventLog ();
            About      = new OrangeAbout ();
            Bubbles    = new OrangeBubbles ();
            StatusIcon = new OrangeStatusIcon ();

            Program.Controller.UIHasLoaded ();
        }
예제 #3
0
        public OrangeUI()
        {
            using (var a = new NSAutoreleasePool ())
            {
                Catalog.Init ("sparkleshare",
                    Path.Combine (NSBundle.MainBundle.ResourcePath, "Translations"));

                GrowlApplicationBridge.WeakDelegate = this;
                GrowlApplicationBridge.Delegate     = new OrangeGrowlDelegate ();

                NSApplication.SharedApplication.ApplicationIconImage =
                    NSImage.ImageNamed ("sparkleshare.icns");

                SetFolderIcon ();

                Setup      = new OrangeSetup ();
                EventLog   = new OrangeEventLog ();
                About      = new OrangeAbout ();
                Bubbles    = new OrangeBubbles ();
                StatusIcon = new OrangeStatusIcon ();

                Program.Controller.UIHasLoaded ();
            }
        }