Skip to content

Commit

Permalink
Update links to Adwaita docs
Browse files Browse the repository at this point in the history
Fixes #494
  • Loading branch information
sonnyp committed Sep 17, 2023
1 parent 8cbcaba commit 0fdfbae
Show file tree
Hide file tree
Showing 26 changed files with 40 additions and 40 deletions.
2 changes: 1 addition & 1 deletion data/app.metainfo.xml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
</screenshots>
<content_rating type="oars-1.1" />
<releases>
<release version="45" date="2023-09-15">
<release version="45" date="2023-09-20">
<description>
<ul>
<li>Use GNOME 45</li>
Expand Down
2 changes: 1 addition & 1 deletion src/Library/demos/About Window/code.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ fn on_button_clicked() {

dialog.add_link(
"Documentation",
"https://gnome.pages.gitlab.gnome.org/libadwaita/doc/main/class.AboutWindow.html",
"https://gnome.pages.gitlab.gnome.org/libadwaita/doc/1.4/class.AboutWindow.html",
);

dialog.add_legal_section(
Expand Down
2 changes: 1 addition & 1 deletion src/Library/demos/About Window/main.blp
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ Adw.StatusPage {

LinkButton {
label: "API Reference";
uri: "https://gnome.pages.gitlab.gnome.org/libadwaita/doc/1.3/class.AboutWindow.html";
uri: "https://gnome.pages.gitlab.gnome.org/libadwaita/doc/1.4/class.AboutWindow.html";
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/Library/demos/About Window/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ function openAboutWindow() {

dialog.add_link(
_("Documentation"),
"https://gnome.pages.gitlab.gnome.org/libadwaita/doc/main/class.AboutWindow.html",
"https://gnome.pages.gitlab.gnome.org/libadwaita/doc/1.4/class.AboutWindow.html",
);

dialog.add_legal_section(
Expand Down
4 changes: 2 additions & 2 deletions src/Library/demos/About Window/main.vala
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public void on_button_clicked () {
};
dialog.add_link (
"Documentation",
"https://gnome.pages.gitlab.gnome.org/libadwaita/doc/main/class.AboutWindow.html"
"https://gnome.pages.gitlab.gnome.org/libadwaita/doc/1.4/class.AboutWindow.html"
);
dialog.add_legal_section (
"Fonts",
Expand All @@ -37,6 +37,6 @@ public void on_button_clicked () {
);

dialog.add_acknowledgement_section ("Special thanks to", { "My cat" } );

dialog.present();
}
4 changes: 2 additions & 2 deletions src/Library/demos/Advanced Buttons/main.blp
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ Adw.StatusPage {
LinkButton {
margin-bottom: 36;
label: "API Reference";
uri: "https://gnome.pages.gitlab.gnome.org/libadwaita/doc/1.3/class.SplitButton.html";
uri: "https://gnome.pages.gitlab.gnome.org/libadwaita/doc/1.4/class.SplitButton.html";
}

Box {
Expand Down Expand Up @@ -153,7 +153,7 @@ Adw.StatusPage {

LinkButton {
label: "API Reference";
uri: "https://gnome.pages.gitlab.gnome.org/libadwaita/doc/1.3/class.ButtonContent.html";
uri: "https://gnome.pages.gitlab.gnome.org/libadwaita/doc/1.4/class.ButtonContent.html";
}
}
}
Expand Down
4 changes: 2 additions & 2 deletions src/Library/demos/Animation/main.blp
Original file line number Diff line number Diff line change
Expand Up @@ -132,11 +132,11 @@ Adw.Clamp {
}
LinkButton {
label: "Timed Animation";
uri: "https://gnome.pages.gitlab.gnome.org/libadwaita/doc/1.3/class.TimedAnimation.html";
uri: "https://gnome.pages.gitlab.gnome.org/libadwaita/doc/1.4/class.TimedAnimation.html";
}
LinkButton {
label: "Spring Animation";
uri: "https://gnome.pages.gitlab.gnome.org/libadwaita/doc/1.3/class.SpringAnimation.html";
uri: "https://gnome.pages.gitlab.gnome.org/libadwaita/doc/1.4/class.SpringAnimation.html";
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/Library/demos/Avatar/main.blp
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ Adw.StatusPage {

LinkButton {
label: "API Reference";
uri: "https://gnome.pages.gitlab.gnome.org/libadwaita/doc/1.3/class.Avatar.html";
uri: "https://gnome.pages.gitlab.gnome.org/libadwaita/doc/1.4/class.Avatar.html";
}
}
}
2 changes: 1 addition & 1 deletion src/Library/demos/Banner/main.blp
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ Adw.ToastOverlay overlay {

LinkButton {
label: "API Reference";
uri: "https://gnome.pages.gitlab.gnome.org/libadwaita/doc/1.3/class.Banner.html";
uri: "https://gnome.pages.gitlab.gnome.org/libadwaita/doc/1.4/class.Banner.html";
}

LinkButton {
Expand Down
4 changes: 2 additions & 2 deletions src/Library/demos/Breakpoints/main.blp
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,12 @@ Gtk.Window {
LinkButton {
margin-top: 24;
label: "Breakpoint";
uri: "https://gnome.pages.gitlab.gnome.org/libadwaita/doc/main/class.Breakpoint.html";
uri: "https://gnome.pages.gitlab.gnome.org/libadwaita/doc/1.4/class.Breakpoint.html";
}

LinkButton {
label: "Breakpoint Bin";
uri: "https://gnome.pages.gitlab.gnome.org/libadwaita/doc/main/class.BreakpointBin.html";
uri: "https://gnome.pages.gitlab.gnome.org/libadwaita/doc/1.4/class.BreakpointBin.html";
}
};
}
Expand Down
2 changes: 1 addition & 1 deletion src/Library/demos/Carousel/main.blp
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Box root_box {

LinkButton {
label: "API Reference";
uri: "https://gnome.pages.gitlab.gnome.org/libadwaita/doc/1.3/class.Carousel.html";
uri: "https://gnome.pages.gitlab.gnome.org/libadwaita/doc/1.4/class.Carousel.html";
margin-top: 12;
}

Expand Down
4 changes: 2 additions & 2 deletions src/Library/demos/Clamp/main.blp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Adw.StatusPage {
Box {
orientation: vertical;
halign: center;

Box {
halign: center;
spacing: 6;
Expand All @@ -26,7 +26,7 @@ Adw.StatusPage {
LinkButton {
margin-top: 12;
label: "API Reference";
uri: "https://gnome.pages.gitlab.gnome.org/libadwaita/doc/1.3/class.Clamp.html";
uri: "https://gnome.pages.gitlab.gnome.org/libadwaita/doc/1.4/class.Clamp.html";
}

Adw.Clamp clamp {
Expand Down
2 changes: 1 addition & 1 deletion src/Library/demos/Dialogs/main.blp
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Adw.StatusPage {

LinkButton {
label: "API Reference";
uri: "https://gnome.pages.gitlab.gnome.org/libadwaita/doc/1.3/class.MessageDialog.html";
uri: "https://gnome.pages.gitlab.gnome.org/libadwaita/doc/1.4/class.MessageDialog.html";
}

LinkButton {
Expand Down
2 changes: 1 addition & 1 deletion src/Library/demos/Header Bar/main.blp
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ Gtk.Window {

LinkButton {
label: "API Reference";
uri: "https://gnome.pages.gitlab.gnome.org/libadwaita/doc/1.3/class.HeaderBar.html";
uri: "https://gnome.pages.gitlab.gnome.org/libadwaita/doc/1.4/class.HeaderBar.html";
}

LinkButton {
Expand Down
2 changes: 1 addition & 1 deletion src/Library/demos/Navigation Split View/main.blp
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ Adw.Window {

LinkButton {
label: "API Reference";
uri: "https://gnome.pages.gitlab.gnome.org/libadwaita/doc/main/class.NavigationSplitView.html";
uri: "https://gnome.pages.gitlab.gnome.org/libadwaita/doc/1.4/class.NavigationSplitView.html";
}
};
};
Expand Down
2 changes: 1 addition & 1 deletion src/Library/demos/Navigation View/main.blp
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ Adw.StatusPage {
vexpand:true;
LinkButton {
label: _("API Reference");
uri: "https://gnome.pages.gitlab.gnome.org/libadwaita/doc/main/class.NavigationView.html";
uri: "https://gnome.pages.gitlab.gnome.org/libadwaita/doc/1.4/class.NavigationView.html";
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/Library/demos/Overlay Split View/main.blp
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ Adw.Window {

LinkButton {
label: "API Reference";
uri: "https://gnome.pages.gitlab.gnome.org/libadwaita/doc/main/class.OverlaySplitView.html";
uri: "https://gnome.pages.gitlab.gnome.org/libadwaita/doc/1.4/class.OverlaySplitView.html";
margin-top: 24;
}
}
Expand Down
8 changes: 4 additions & 4 deletions src/Library/demos/Preferences Window/main.blp
Original file line number Diff line number Diff line change
Expand Up @@ -68,22 +68,22 @@ Adw.PreferencesWindow pref_window {

LinkButton {
label: _("PreferencesWindow");
uri: "https://gnome.pages.gitlab.gnome.org/libadwaita/doc/1.3/class.PreferencesWindow.html";
uri: "https://gnome.pages.gitlab.gnome.org/libadwaita/doc/1.4/class.PreferencesWindow.html";
}

LinkButton {
label: _("PreferencesPage");
uri: "https://gnome.pages.gitlab.gnome.org/libadwaita/doc/1.3/class.PreferencesPage.html";
uri: "https://gnome.pages.gitlab.gnome.org/libadwaita/doc/1.4/class.PreferencesPage.html";
}

LinkButton {
label: _("PreferencesGroup");
uri: "https://gnome.pages.gitlab.gnome.org/libadwaita/doc/1.3/class.PreferencesGroup.html";
uri: "https://gnome.pages.gitlab.gnome.org/libadwaita/doc/1.4/class.PreferencesGroup.html";
}

LinkButton {
label: _("PreferencesRow");
uri: "https://gnome.pages.gitlab.gnome.org/libadwaita/doc/1.3/class.PreferencesRow.html";
uri: "https://gnome.pages.gitlab.gnome.org/libadwaita/doc/1.4/class.PreferencesRow.html";
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/Library/demos/Status Page/main.blp
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Box child {

LinkButton {
label: "API Reference";
uri: "https://gnome.pages.gitlab.gnome.org/libadwaita/doc/1.3/class.StatusPage.html";
uri: "https://gnome.pages.gitlab.gnome.org/libadwaita/doc/1.4/class.StatusPage.html";
}
LinkButton {
label: "Human Interface Guidelines";
Expand Down
4 changes: 2 additions & 2 deletions src/Library/demos/Styling with CSS/main.blp
Original file line number Diff line number Diff line change
Expand Up @@ -71,12 +71,12 @@ Adw.StatusPage {

LinkButton {
label: _("Style Classes");
uri: "https://gnome.pages.gitlab.gnome.org/libadwaita/doc/1.3/style-classes.html";
uri: "https://gnome.pages.gitlab.gnome.org/libadwaita/doc/1.4/style-classes.html";
}

LinkButton {
label: _("Named Colors");
uri: "https://gnome.pages.gitlab.gnome.org/libadwaita/doc/1.3/named-colors.html";
uri: "https://gnome.pages.gitlab.gnome.org/libadwaita/doc/1.4/named-colors.html";
}
}
}
Expand Down
6 changes: 3 additions & 3 deletions src/Library/demos/Tab View/main.blp
Original file line number Diff line number Diff line change
Expand Up @@ -41,15 +41,15 @@ Adw.Window {
halign: center;
LinkButton {
label: "Tab View";
uri: "https://gnome.pages.gitlab.gnome.org/libadwaita/doc/1.3/class.TabView.html";
uri: "https://gnome.pages.gitlab.gnome.org/libadwaita/doc/1.4/class.TabView.html";
}
LinkButton {
label: "Tab Bar";
uri: "https://gnome.pages.gitlab.gnome.org/libadwaita/doc/1.3/class.TabBar.html";
uri: "https://gnome.pages.gitlab.gnome.org/libadwaita/doc/1.4/class.TabBar.html";
}
LinkButton {
label: "Tab Overview";
uri: "https://gnome.pages.gitlab.gnome.org/libadwaita/doc/1.3/class.TabOverview.html";
uri: "https://gnome.pages.gitlab.gnome.org/libadwaita/doc/1.4/class.TabOverview.html";
}
}
LinkButton {
Expand Down
2 changes: 1 addition & 1 deletion src/Library/demos/Toasts/main.blp
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Adw.ToastOverlay overlay {

LinkButton {
label: "API Reference";
uri: "https://gnome.pages.gitlab.gnome.org/libadwaita/doc/1.3/class.Toast.html";
uri: "https://gnome.pages.gitlab.gnome.org/libadwaita/doc/1.4/class.Toast.html";
}

LinkButton {
Expand Down
4 changes: 2 additions & 2 deletions src/Library/demos/Toolbar View/main.blp
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Adw.Window {
bottom-bar-style: bind barstyle_select.selected;
reveal-top-bars: bind reveal_topbar.active;
reveal-bottom-bars: bind reveal_bottombar.active;

// In this demo we are using the API to set the header bars
// you can use the [top] and [bottom] child types directly instead
// [top]
Expand Down Expand Up @@ -45,7 +45,7 @@ Adw.Window {
}
LinkButton {
label: _("API Reference");
uri: "https://gnome.pages.gitlab.gnome.org/libadwaita/doc/main/class.ToolbarView.html";
uri: "https://gnome.pages.gitlab.gnome.org/libadwaita/doc/1.4/class.ToolbarView.html";
}
ListBox list_box {
styles ["boxed-list"]
Expand Down
6 changes: 3 additions & 3 deletions src/Library/demos/View Switcher/main.blp
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ Adw.Window {

LinkButton {
label: "API Reference";
uri: "https://gnome.pages.gitlab.gnome.org/libadwaita/doc/1.3/class.ViewSwitcher.html";
uri: "https://gnome.pages.gitlab.gnome.org/libadwaita/doc/1.4/class.ViewSwitcher.html";
}
LinkButton {
label: "Human Interface Guidelines";
Expand All @@ -60,7 +60,7 @@ Adw.Window {

LinkButton {
label: "API Reference";
uri: "https://gnome.pages.gitlab.gnome.org/libadwaita/doc/1.3/class.ViewSwitcher.html";
uri: "https://gnome.pages.gitlab.gnome.org/libadwaita/doc/1.4/class.ViewSwitcher.html";
}
LinkButton {
label: "Human Interface Guidelines";
Expand Down Expand Up @@ -111,7 +111,7 @@ Adw.Window {

LinkButton {
label: "API Reference";
uri: "https://gnome.pages.gitlab.gnome.org/libadwaita/doc/1.3/class.ViewSwitcher.html";
uri: "https://gnome.pages.gitlab.gnome.org/libadwaita/doc/1.4/class.ViewSwitcher.html";
}

LinkButton {
Expand Down
2 changes: 1 addition & 1 deletion src/Library/demos/Window/main.blp
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Gtk.Window window {

LinkButton {
label: "API Reference";
uri: "https://gnome.pages.gitlab.gnome.org/libadwaita/doc/1.3/class.ApplicationWindow.html";
uri: "https://gnome.pages.gitlab.gnome.org/libadwaita/doc/1.4/class.ApplicationWindow.html";
}

LinkButton {
Expand Down
2 changes: 1 addition & 1 deletion src/Previewer/Internal.js
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ export default function Internal({
const prop_name = prop.get_name();
// AdwWindow and AdwApplicationWindow have child and titlebar properties but do not support setting them
// "Using gtk_window_get_titlebar() and gtk_window_set_titlebar() is not supported and will result in a crash."
// https://gnome.pages.gitlab.gnome.org/libadwaita/doc/main/class.Window.html
// https://gnome.pages.gitlab.gnome.org/libadwaita/doc/1.4/class.Window.html
// https://github.com/sonnyp/Workbench/issues/130
if (
(object_preview instanceof Adw.Window ||
Expand Down

0 comments on commit 0fdfbae

Please sign in to comment.