Skip to content

Commit

Permalink
ui: change sidebar width. chore: bump to 0.16.7
Browse files Browse the repository at this point in the history
  • Loading branch information
tsukinaha committed Oct 30, 2024
1 parent 813a72e commit d26b7c4
Show file tree
Hide file tree
Showing 9 changed files with 11 additions and 18 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "tsukimi"
version = "0.16.6"
version = "0.16.7"
edition = "2021"
rust-version = "1.81"
description = "A simple Emby Client written by GTK4-RS"
Expand Down
2 changes: 1 addition & 1 deletion installer/version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.16.6.0
0.16.7.0
4 changes: 2 additions & 2 deletions meson.build
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
project('tsukimi', 'rust',
version: '0.16.6',
version: '0.16.7',
meson_version: '>= 1.1',
default_options: [ 'warning_level=2',
'werror=false',
Expand All @@ -9,7 +9,7 @@ project('tsukimi', 'rust',

major_version = '0'
minor_version = '16'
micro_version = '6'
micro_version = '7'

version = major_version
version += '.' + minor_version + '.' + micro_version
Expand Down
2 changes: 1 addition & 1 deletion resources/moe.tsuna.tsukimi.metainfo.xml.in
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<metadata_license>CC0-1.0</metadata_license>
<project_license>GPL-3.0-or-later</project_license>
<releases>
<release version="0.16.6" date="2024-10-18" />
<release version="0.16.7" date="2024-10-18" />
</releases>
<name>Tsukimi</name>
<summary>A simple third-party Emby client</summary>
Expand Down
6 changes: 3 additions & 3 deletions resources/ui/window.ui
Original file line number Diff line number Diff line change
Expand Up @@ -184,9 +184,9 @@
<property name="name">main</property>
<property name="child">
<object class="AdwOverlaySplitView" id="split_view">
<property name="min-sidebar-width">170</property>
<property name="max-sidebar-width">180</property>
<property name="sidebar-width-fraction">0.19</property>
<property name="min-sidebar-width">200</property>
<property name="max-sidebar-width">400</property>
<property name="sidebar-width-fraction">0.13</property>
<property name="sidebar">
<object class="AdwNavigationPage">
<property name="title">Tsukimi</property>
Expand Down
2 changes: 1 addition & 1 deletion src/config.rs
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
pub static VERSION: &str = "0.16.6";
pub static VERSION: &str = "0.16.7";
pub static GETTEXT_PACKAGE: &str = "tsukimi";
7 changes: 0 additions & 7 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -65,13 +65,6 @@ fn main() -> glib::ExitCode {
textdomain(GETTEXT_PACKAGE).expect("Invalid string passed to textdomain");
}

#[cfg(target_os = "windows")]
{
// redirect cache dir to %LOCALAPPDATA%
let config_local_dir = dirs::config_local_dir().expect("Failed to get %LOCALAPPDATA%");
std::env::set_var("XDG_CACHE_HOME", config_local_dir);
}

info!(
"Application Version: {}, Platform: {} {}, CPU Architecture: {}",
config::VERSION,
Expand Down
2 changes: 1 addition & 1 deletion src/ui/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ pub fn build_ui(app: &adw::Application) {
.application_name("Tsukimi")
.version(crate::config::VERSION)
.comments(
"A simple third-party Emby client.\nVersion: tsukimi 0.16.6 \n2024.10.18 20:05",
"A simple third-party Emby client.\nVersion: tsukimi 0.16.7 \n2024.10.18 20:05",
)
// TRANSLATORS: 'Name <[email protected]>' or 'Name https://website.example'
.translator_credits(gettext("translator-credits"))
Expand Down

0 comments on commit d26b7c4

Please sign in to comment.