Example #1
0
        internal void SetNotificationStatus(PlasticNotification.Status status)
        {
            if (status == mNotificationStatus)
            {
                return;
            }

            mNotificationStatus = status;
            SetupWindowTitle();
            OnNotificationUpdated.Invoke();
        }
Example #2
0
        internal static void SetNotificationStatus(
            PlasticWindow plasticWindow,
            PlasticNotification.Status status)
        {
            sNotificationStatus = status;

            plasticWindow.SetupWindowTitle(status);

            if (OnNotificationUpdated != null)
            {
                OnNotificationUpdated.Invoke();
            }
        }
Example #3
0
        internal void SetNotificationStatus(
            PlasticNotification.Status status,
            string infoText,
            string actionText)
        {
            if (status == mNotificationStatus)
            {
                return;
            }

            mNotificationStatus = status;
            SetupWindowTitle();
            OnNotificationUpdated.Invoke();

            if (mViewSwitcher != null)
            {
                mViewSwitcher.PendingChangesTab.SetNotificationStatus(
                    status,
                    infoText,
                    actionText);
            }
        }