From 87f66c00c664099a5848c09dc6d01c23a27f7040 Mon Sep 17 00:00:00 2001 From: jeffshee Date: Sun, 6 Nov 2022 00:46:23 +0900 Subject: [PATCH] =?UTF-8?q?=F0=9F=8C=BB=20Release=20v3.1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- data/io.github.jeffshee.Hidamari.appdata.xml.in | 13 +++++++++++-- meson.build | 2 +- src/__main__.py | 7 ------- src/assets/control.ui | 4 ++-- src/gui/control.py | 8 +++----- 5 files changed, 17 insertions(+), 17 deletions(-) diff --git a/data/io.github.jeffshee.Hidamari.appdata.xml.in b/data/io.github.jeffshee.Hidamari.appdata.xml.in index 62cb707..e817888 100644 --- a/data/io.github.jeffshee.Hidamari.appdata.xml.in +++ b/data/io.github.jeffshee.Hidamari.appdata.xml.in @@ -1,6 +1,6 @@ - + io.github.jeffshee.Hidamari Hidamari Video wallpaper for Linux @@ -26,8 +26,17 @@ - + +
    +
  • Added desktop icon workaround for ZorinOS
  • +
  • Fixed center-crop for widescreen
  • +
  • Allow screensaver (screen blank) if playback is paused
  • +
  • Minor tweak
  • +
+
+
+
  • Fixed autostart issue
  • Fixed a crash for non-GNOME distros
  • diff --git a/meson.build b/meson.build index 650fd6c..c72c9ac 100644 --- a/meson.build +++ b/meson.build @@ -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', diff --git a/src/__main__.py b/src/__main__.py index 8c58750..0b704e7 100644 --- a/src/__main__.py +++ b/src/__main__.py @@ -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 diff --git a/src/assets/control.ui b/src/assets/control.ui index 50325df..40954dc 100644 --- a/src/assets/control.ui +++ b/src/assets/control.ui @@ -1,5 +1,5 @@ - + @@ -248,7 +248,7 @@ All Contributors https://github.com/jeffshee/hidamari/graphs/contributorsTrue True app.config - Open config folder + Open config file False diff --git a/src/gui/control.py b/src/gui/control.py index c193917..c1e4988 100644 --- a/src/gui/control.py +++ b/src/gui/control.py @@ -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" @@ -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, @@ -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), ] @@ -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 Right click on the desktop", + # secondary_text="You can bring up the Menu by Right click 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()