Skip to content

Commit

Permalink
Fix setting Wayland App ID
Browse files Browse the repository at this point in the history
  • Loading branch information
hongquan committed Mar 26, 2024
1 parent aec2bde commit 289f489
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 2 deletions.
2 changes: 2 additions & 0 deletions cobang/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,8 @@ def __init__(self, **kwargs):
def do_startup(self):
Handy.init()
Gtk.Application.do_startup(self)
# PyGObject doesn't properly set our app_id, so we have to do it ourselves
GLib.set_prgname(APP_ID)
self.setup_actions()
self.build_gstreamer_pipeline()
devmonitor = Gst.DeviceMonitor.new()
Expand Down
5 changes: 5 additions & 0 deletions data/vn.hoabinh.quan.CoBang.appdata.xml.in
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,11 @@
</kudos>

<releases>
<release version="0.10.8" date="2024-03-26" urgency="medium">
<description translatable="no">
<p>Fix setting Wayland App ID.</p>
</description>
</release>
<release version="0.10.7" date="2024-03-26" urgency="medium">
<description translatable="no">
<p>Another attempt to set WM_CLASS for X11.</p>
Expand Down
2 changes: 1 addition & 1 deletion meson.build
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
project('cobang',
version: '0.10.7',
version: '0.10.8',
meson_version: '>= 0.61',
default_options: [
'warning_level=2',
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "cobang"
version = "0.10.7"
version = "0.10.8"
description = "QR code and barcode scanner for Linux desktop"
authors = [
{name = "Nguyễn Hồng Quân", email = "ng.hong.quan@gmail.com"},
Expand Down

0 comments on commit 289f489

Please sign in to comment.