public GtkNotificationAreaBox (BaseClientWindow window)
        {
            Visible = false;
            IconName = (IconThemeUtils.HasIcon ("banshee-panel")) ?
                "banshee-panel" : Banshee.ServiceStack.Application.IconName;

            Tooltip = window.Title;
            window.TitleChanged += delegate { Tooltip = window.Title; };
        }
        public GtkNotificationAreaBox(BaseClientWindow window)
        {
            Visible = false;
            IconName = (IconThemeUtils.HasIcon ("banshee-panel")) ?
                "banshee-panel" : Banshee.ServiceStack.Application.IconName;

            HasTooltip = true;
            base.Activate += delegate {OnActivated ();};
            base.PopupMenu += delegate {OnPopupMenuEvent ();};
            popup = new TrackInfoPopup ();
        }
Exemple #3
0
        public MiniMode(BaseClientWindow defaultMainWindow)
            : base(Catalog.GetString ("Banshee Media Player"),
                  new WindowConfiguration (WidthSchema, HeightSchema, XPosSchema, YPosSchema, MaximizedSchema))
        {
            default_main_window = defaultMainWindow;

            BorderWidth = 12;
            Resizable = false;

            Build ();
            ShowAll ();

            SetHeightLimit ();
        }
Exemple #4
0
        public MiniMode (BaseClientWindow defaultMainWindow) : base (Catalog.GetString ("Banshee Media Player"), "minimode", 0, 0)
        {
            default_main_window = defaultMainWindow;

            BorderWidth = 12;
            Resizable = false;

            tooltip_host = TooltipSetter.CreateHost ();

            Build ();
            ShowAll ();

            SetHeightLimit ();
        }