This commit adds an `onpopuphidden` event handler to the gradient generator panel, which calls the `gZenThemePicker.handlePanelClose()` function when the panel is hidden. This ensures that the theme picker is properly updated and handles the panel's closing behavior.
This commit adds a new `onpopuphidden` attribute to the `<panel>` element that defines the workspace panel. This attribute triggers the `ZenWorkspaces.handlePanelHidden()` function when the panel is hidden.
This change is necessary to allow the application to properly handle the case when the workspace panel is hidden so that the reorder mode can be disabled.
The following changes were made:
- Added the `onpopuphidden` attribute to the `<panel>` element in `zen-popupset.inc.xhtml`.
- Added a new CSS class `.zen-workspace-last-place-drop-target` to `zen-workspaces.css`.
- Modified the `zen-workspaces.css` file to display the `.zen-workspace-last-place-drop-target` class only in reorder mode.
This commit introduces a new reorder mode to the Workspaces panel, allowing users to easily rearrange their workspaces. The following changes were made:
- Added a "reorder mode" toggle button to the Workspaces panel.
- Implemented functionality to enable/disable reorder mode.
- Updated the Workspaces panel to display reorder controls for each workspace when reorder mode is enabled.
- Added visual cues to indicate the current active workspace and reorder mode status.
These changes enhance the usability of the Workspaces panel by providing a convenient way to manage and organize workspaces.