Skip to content

Commit

Permalink
Update for GNOME 46 (#24)
Browse files Browse the repository at this point in the history
* Start testing GNOME 46

* Manifest: use GNOME 46 runtime
  • Loading branch information
cassidyjames authored Mar 20, 2024
1 parent e637dec commit aaa6d0e
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 5 deletions.
2 changes: 1 addition & 1 deletion com.cassidyjames.butler.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"app-id": "com.cassidyjames.butler",
"runtime": "org.gnome.Platform",
"runtime-version": "45",
"runtime-version": "46",
"sdk": "org.gnome.Sdk",
"command": "com.cassidyjames.butler",
"finish-args": [
Expand Down
12 changes: 8 additions & 4 deletions data/metainfo.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
</branding>

<developer_name translatable="no">Cassidy James Blaede</developer_name>
<developer id="cassidyjames.com">
<developer id="com.cassidyjames">
<name translatable="no">Cassidy James Blaede</name>
</developer>

Expand Down Expand Up @@ -58,9 +58,13 @@
</screenshots>

<releases>
<release version="1.1.1" date="2024-03-08">
<release version="1.1.1" date="2024-03-20">
<description>
<p>Improved light brand color for Flathub and app store clients</p>
<p>GNOME 46</p>
<ul>
<li>Target GNOME 46 runtime</li>
<li>Improved light brand color for Flathub and app store clients</li>
</ul>
</description>
</release>
<release version="1.1.0" date="2024-03-01">
Expand All @@ -81,7 +85,7 @@
</ul>
</description>
<issues>
<issue url="https://github.com/cassidyjames/butler/issues/16">Metainfo: failing summery length</issue>
<issue url="https://github.com/cassidyjames/butler/issues/16">MetaInfo: failing summery length</issue>
<issue url="https://github.com/cassidyjames/butler/issues/5">Unique icon</issue>
</issues>
</release>
Expand Down
4 changes: 4 additions & 0 deletions src/MainWindow.vala
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,10 @@ public class Butler.MainWindow : Adw.ApplicationWindow {

web_view.load_changed.connect ((load_event) => {
if (load_event == WebKit.LoadEvent.FINISHED) {
// NOTE: As of WebKitGTK in the GNOME 46 SDK, this seems
// glitchier… not sure how to fix it. A GLib.Timeout doesn't
// seem to help, as it just looks glitchy after the stack child
// changes to the WebView.
stack.visible_child_name = "web";
}
});
Expand Down

0 comments on commit aaa6d0e

Please sign in to comment.