-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #24 from swsnr/gnome46/date-menu
Update dateMenu for GNOME 46
- Loading branch information
Showing
1 changed file
with
4 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,9 @@ | ||
// https://gitlab.gnome.org/GNOME/gnome-shell/-/blob/main/js/ui/dateMenu.js | ||
|
||
import type Clutter from "@girs/clutter-14"; | ||
import type St from "@girs/st-14"; | ||
|
||
import type { EventSourceBase } from "./calendar.js"; | ||
import type { Button } from "./panelMenu.js"; | ||
|
||
export class TodayButton extends St.Button { | ||
setDate(date: Date): void; | ||
} | ||
|
||
export class EventsSection extends St.Button { | ||
setDate(date: Date): void; | ||
|
||
setEventSource(eventSource: EventSourceBase): void; | ||
} | ||
|
||
export class WordClocksSection extends St.Button {} | ||
|
||
export class WeatherSection extends St.Button {} | ||
|
||
export class MessagesIndicator extends St.Icon {} | ||
|
||
export class FreezableBinLayout extends Clutter.BinLayout {} | ||
|
||
export class CalendarColumnLayout extends Clutter.BoxLayout {} | ||
|
||
export class DateMenuButton extends Button {} | ||
/** | ||
* @version 46 | ||
*/ | ||
export class DateMenuButton extends Button {} |