/// <summary> /// Called when the plugin's display state changes /// </summary> /// <param name="displayState">The new display state</param> public void OnDisplayStateChange(GoogleDesktopDisplayTileDisplayState displayState) { if (displayState == GoogleDesktopDisplayTileDisplayState.GDD_TILE_DISPLAY_STATE_MINIMIZED || displayState == GoogleDesktopDisplayTileDisplayState.GDD_TILE_DISPLAY_STATE_RESTORED) { // switching between minimized and normal mode, so update the title UpdateTitle(); } }
/// <summary> /// Called when the plugin's display state changes /// </summary> /// <param name="displayState">The new display state</param> public void OnDisplayStateChange(GoogleDesktopDisplayTileDisplayState displayState) { if (displayState == GoogleDesktopDisplayTileDisplayState.GDD_TILE_DISPLAY_STATE_MINIMIZED || displayState == GoogleDesktopDisplayTileDisplayState.GDD_TILE_DISPLAY_STATE_RESTORED) { // switching between minimized and normal mode, so update the title UpdateTitle(); } }
/// <summary> /// Called when the plugin's display state changes /// </summary> /// <param name="displayState">The new display state</param> public new void OnDisplayStateChange(GoogleDesktopDisplayTileDisplayState displayState) { Log.Debug("Display State Changed"); if (displayState == GoogleDesktopDisplayTileDisplayState.GDD_TILE_DISPLAY_STATE_MINIMIZED || displayState == GoogleDesktopDisplayTileDisplayState.GDD_TILE_DISPLAY_STATE_RESTORED) { // switching between minimized and normal mode, so update the title UpdateTitle(); } if (displayState == GoogleDesktopDisplayTileDisplayState.GDD_TILE_DISPLAY_STATE_POPPED_OUT || displayState == GoogleDesktopDisplayTileDisplayState.GDD_TILE_DISPLAY_STATE_RESIZED) { ClearAndAddFreshItems(); } }