Skip to content

Commit

Permalink
Another attempt to set WM_CLASS for X11
Browse files Browse the repository at this point in the history
  • Loading branch information
hongquan committed Mar 26, 2024
1 parent 4175419 commit aec2bde
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 3 deletions.
1 change: 0 additions & 1 deletion cobang/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,6 @@ def __init__(self, **kwargs):
super().__init__(
application_id=APP_ID, flags=Gio.ApplicationFlags.HANDLES_COMMAND_LINE,
)
Gdk.set_program_class(APP_ID)
self.add_main_option(
'verbose', ord('v'), GLib.OptionFlags.NONE, GLib.OptionArg.NONE,
"More detailed log", None
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.7" date="2024-03-26" urgency="medium">
<description translatable="no">
<p>Another attempt to set WM_CLASS for X11.</p>
</description>
</release>
<release version="0.10.6" date="2024-03-25" urgency="medium">
<description translatable="no">
<p>Set WM_CLASS for X11.</p>
Expand Down
1 change: 1 addition & 0 deletions data/vn.hoabinh.quan.CoBang.desktop.in
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,6 @@ Exec=cobang %u
Terminal=false
Type=Application
Icon=vn.hoabinh.quan.CoBang
StartupWMClass=vn.hoabinh.quan.CoBang
StartupNotify=true
Categories=GTK;Office;Graphics;AudioVideo;Video;Scanning;
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.6',
version: '0.10.7',
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.6"
version = "0.10.7"
description = "QR code and barcode scanner for Linux desktop"
authors = [
{name = "Nguyễn Hồng Quân", email = "[email protected]"},
Expand Down

0 comments on commit aec2bde

Please sign in to comment.