Skip to content

Commit

Permalink
Verify modelDialog for GNOME 47
Browse files Browse the repository at this point in the history
  • Loading branch information
swsnr committed Sep 21, 2024
1 parent cb3dc38 commit a2eda2d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/gnome-shell/src/ui/modalDialog.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import type { ButtonInfo, Dialog } from './dialog.js';

/**
* @see https://gitlab.gnome.org/GNOME/gnome-shell/-/blob/main/js/ui/modalDialog.js#L19
* @version 46
* @version 47
*/
export enum State {
OPENED = 0,
Expand All @@ -21,7 +21,7 @@ export enum State {

/**
* @see https://gitlab.gnome.org/GNOME/gnome-shell/-/blob/main/js/ui/modalDialog.js#L27
* @version 46
* @version 47
*/
export namespace ModalDialog {
export interface ConstructorProps extends St.Widget.ConstructorProps {
Expand All @@ -35,7 +35,7 @@ export namespace ModalDialog {

/**
* @see https://gitlab.gnome.org/GNOME/gnome-shell/-/blob/main/js/ui/modalDialog.js#L37
* @version 46
* @version 47
*/
export class ModalDialog extends St.Widget {
protected _state: State;
Expand All @@ -55,7 +55,7 @@ export class ModalDialog extends St.Widget {
public dialogLayout: Dialog;
public contentLayout: Dialog['contentLayout'];
public buttonLayout: Dialog['buttonLayout'];
public state: State;
public readonly state: State;

constructor(params?: Partial<ModalDialog.ConstructorProps>);

Expand Down

0 comments on commit a2eda2d

Please sign in to comment.