Exemplo n.º 1
0
        /// <summary>
        /// Unsets this <see cref="Docky.Items.FileApplicationProvider"/> as the window manager.
        /// </summary>
        public void UnsetWindowManager()
        {
            if (WindowManager != this)
            {
                return;
            }

            WindowManager = null;
            OnWindowManagerChanged();
        }
Exemplo n.º 2
0
        /// <summary>
        /// Sets this <see cref="Docky.Items.FileApplicationProvider"/> as the window manager.
        /// </summary>
        public void SetWindowManager()
        {
            if (WindowManager == this)
            {
                return;
            }

            if (WindowManager != null)
            {
                WindowManager.UnsetWindowManager();
            }

            WindowManager = this;
            OnWindowManagerChanged();
        }
		/// <summary>
		/// Unsets this <see cref="Docky.Items.FileApplicationProvider"/> as the window manager.
		/// </summary>
		public void UnsetWindowManager ()
		{
			if (WindowManager != this)
				return;
			
			WindowManager = null;
			OnWindowManagerChanged ();
		}
		/// <summary>
		/// Sets this <see cref="Docky.Items.FileApplicationProvider"/> as the window manager.
		/// </summary>
		public void SetWindowManager ()
		{
			if (WindowManager == this)
				return;
			
			if (WindowManager != null)
				WindowManager.UnsetWindowManager ();
			
			WindowManager = this;
			OnWindowManagerChanged ();
		}