Skip to content

Commit

Permalink
🌻 Release v3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffshee committed Nov 5, 2022
1 parent 401c280 commit 87f66c0
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 17 deletions.
13 changes: 11 additions & 2 deletions data/io.github.jeffshee.Hidamari.appdata.xml.in
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version='1.0' encoding='utf-8'?>
<component type="desktop">
<!--Created with jdAppdataEdit 5.0-->
<!--Created with jdAppdataEdit 5.1-->
<id>io.github.jeffshee.Hidamari</id>
<name>Hidamari</name>
<summary>Video wallpaper for Linux</summary>
Expand All @@ -26,8 +26,17 @@
</screenshot>
</screenshots>
<releases>
<release version="3.0-beta4" date="2022-09-23" type="stable">
<release version="3.1" date="2022-11-05" type="stable">
<description>
<ul>
<li>Added desktop icon workaround for ZorinOS</li>
<li>Fixed center-crop for widescreen</li>
<li>Allow screensaver (screen blank) if playback is paused</li>
<li>Minor tweak</li>
</ul>
</description>
</release>
<release version="3.0-beta4" date="2022-09-23" type="stable"><description>
<ul>
<li>Fixed autostart issue</li>
<li>Fixed a crash for non-GNOME distros</li>
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('hidamari',
version: '3.0-beta4',
version: '3.1',
license: ['GPL-3.0'],
meson_version: '>= 0.59.0',
default_options: [ 'warning_level=2',
Expand Down
7 changes: 0 additions & 7 deletions src/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,6 @@ def main(version="devel", pkgdatadir="/app/share/hidamari", localedir="/app/shar
sys_info.append("--------------------------")
sys_info_str = "\n".join(sys_info)
logger.info(f"Hidamari v{version}\n{sys_info_str}")
# logger.info("--- System information ---")
# logger.info(f"is_gnome = {is_gnome()}")
# logger.info(f"is_wayland = {is_wayland()}")
# logger.info(f"is_nvidia_proprietary = {is_nvidia_proprietary()}")
# logger.info(f"is_vdpau_ok = {is_vdpau_ok()}")
# logger.info(f"is_flatpak = {is_flatpak()}")
# logger.info("--------------------------")
logger.info(f"[Args] {vars(args)}")

# Make Hidamari folder if not exist
Expand Down
4 changes: 2 additions & 2 deletions src/assets/control.ui
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.39.0 -->
<!-- Generated with glade 3.38.2 -->
<interface>
<requires lib="gtk+" version="3.24"/>
<object class="GtkAboutDialog" id="AboutDialog">
Expand Down Expand Up @@ -248,7 +248,7 @@ All Contributors https://github.com/jeffshee/hidamari/graphs/contributors</prope
<property name="can-focus">True</property>
<property name="receives-default">True</property>
<property name="action-name">app.config</property>
<property name="text" translatable="yes">Open config folder</property>
<property name="text" translatable="yes">Open config file</property>
</object>
<packing>
<property name="expand">False</property>
Expand Down
8 changes: 3 additions & 5 deletions src/gui/control.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@

APP_ID = f"{PROJECT}.gui"
APP_TITLE = "Hidamari"
# APP_UI_PATH = os.path.join(os.path.abspath(
# os.path.dirname(__file__)), "control.ui")
APP_UI_RESOURCE_PATH = "/io/jeffshee/Hidamari/control.ui"


Expand All @@ -44,7 +42,6 @@ def __init__(self, version, *args, **kwargs):
# Builder init
self.builder = Gtk.Builder()
self.builder.set_application(self)
# self.builder.add_from_file(APP_UI_PATH)
self.builder.add_from_resource(APP_UI_RESOURCE_PATH)
# Handlers declared in `control.ui``
signals = {"on_volume_changed": self.on_volume_changed,
Expand Down Expand Up @@ -93,7 +90,7 @@ def do_startup(self):
("play_pause", self.on_play_pause),
("feeling_lucky", self.on_feeling_lucky),
("config", lambda *_: subprocess.run(
["xdg-open", os.path.realpath(CONFIG_DIR)])),
["xdg-open", os.path.realpath(CONFIG_PATH)])),
("about", self.on_about),
("quit", self.on_quit),
]
Expand Down Expand Up @@ -150,7 +147,8 @@ def _show_welcome(self):
# Welcome dialog
dialog = Gtk.MessageDialog(parent=self.window, modal=True, destroy_with_parent=True,
text="Welcome to Hidamari 🤗", message_type=Gtk.MessageType.INFO,
secondary_text="You can bring up the Menu by <b>Right click</b> on the desktop",
# secondary_text="You can bring up the Menu by <b>Right click</b> on the desktop",
secondary_text="Quickstart for adding local videos:\n ・Click the folder icon to open the Hidamari folder\n ・Put your videos there\n ・Click the refresh button",
secondary_use_markup=True,
buttons=Gtk.ButtonsType.OK)
dialog.run()
Expand Down

0 comments on commit 87f66c0

Please sign in to comment.