-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This reverts commit bd33be6.
- Loading branch information
Showing
5 changed files
with
107 additions
and
7 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 |
---|---|---|
|
@@ -5,7 +5,8 @@ HOME-DESTDIR = $(HOME)/.local/share/gnome-shell/extensions/$(UUID) | |
UUID = [email protected] | ||
|
||
DIST-EXTRA-SRC = LICENSE-GPL2 LICENSE-MPL2 | ||
UIDEFS = $(wildcard ui/*.ui) | ||
BLUEPRINTS = $(wildcard ui/*.blp) | ||
UIDEFS = $(addsuffix .ui,$(basename $(BLUEPRINTS))) | ||
|
||
.PHONY: dist | ||
dist: compile | ||
|
@@ -77,3 +78,6 @@ check: lint check-types | |
.PHONY: fix | ||
fix: format | ||
pnpm lint --fix | ||
|
||
$(UIDEFS): %.ui: %.blp | ||
blueprint-compiler compile --output $@ $< |
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 |
---|---|---|
@@ -0,0 +1,72 @@ | ||
using Gtk 4.0; | ||
using Adw 1; | ||
|
||
template $TypescriptTemplateAboutPage : Adw.PreferencesPage { | ||
title: _("About"); | ||
icon-name: "dialog-information-symbolic"; | ||
|
||
Adw.PreferencesGroup { | ||
valign: fill; | ||
halign: fill; | ||
|
||
Box { | ||
orientation: vertical; | ||
halign: center; | ||
margin-bottom: 15; | ||
|
||
Label extensionName { | ||
label: "The name of this extension"; | ||
margin-bottom: 5; | ||
styles ["title-1"] | ||
} | ||
|
||
Label extensionVersion { | ||
label: "0.0.0"; | ||
styles ["caption"] | ||
} | ||
} | ||
|
||
Box { | ||
orientation: vertical; | ||
halign: center; | ||
margin-bottom: 5; | ||
|
||
Label extensionDescription { | ||
label: "Description of this extension"; | ||
justify: center; | ||
} | ||
} | ||
|
||
Box { | ||
halign: center; | ||
|
||
LinkButton linkGithub { | ||
label: C_("about link", "Github"); | ||
|
||
} | ||
|
||
LinkButton linkIssues { | ||
label: C_("about link", "Issue tracker"); | ||
} | ||
} | ||
|
||
Box { | ||
orientation: vertical; | ||
vexpand: true; | ||
hexpand: true; | ||
|
||
ScrolledWindow { | ||
margin-top: 24; | ||
vexpand: true; | ||
hexpand: true; | ||
|
||
TextView extensionLicense { | ||
editable: false; | ||
cursor-visible: false; | ||
wrap-mode: word; | ||
justification: center; | ||
} | ||
} | ||
} | ||
} | ||
} |
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
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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
using Gtk 4.0; | ||
using Adw 1; | ||
|
||
template $TypescriptTemplateGeneralPage : Adw.PreferencesPage { | ||
title: _("General"); | ||
icon_name: "dialog-information-symbolic"; | ||
|
||
Adw.PreferencesGroup { | ||
Adw.SwitchRow sayHello { | ||
title: _("Say hello"); | ||
subtitle: _("Whether to say hello"); | ||
} | ||
} | ||
} |
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