Compare commits

..

4 Commits

Author SHA1 Message Date
Arak
8ff42ab262
Merge 92c5dbf4f2 into e8585466ad 2024-06-07 08:08:45 -05:00
Hugo Posnic
e8585466ad Bump version to 1.10.0 2024-06-07 13:17:01 +02:00
Hugo Posnic
28821867e2
Merge pull request #230 from ARAKHN1D/banner-change-mode
Change output mode directly from warning banner button
2024-06-07 13:08:32 +02:00
ARAKHNID
59b2cd5dfa Change output mode from warning banner button
Rather than the overwrite banner button taking you to the preferences
dialog, it automatically enables safe mode.
2024-06-01 16:08:50 -05:00
7 changed files with 42 additions and 4 deletions

View File

@ -2,6 +2,8 @@
All notable changes to this project will be documented in this file.
## UNRELEASED
## 1.10.0 - 2024-06-07
### Added
- Add a "Recursive Compression" setting.
- Add Bulgarian translation. Thank's to @twlvnn.
@ -10,6 +12,7 @@ All notable changes to this project will be documented in this file.
### Changed
- Update OxiPNG to v9.1.1
- Update translations.
- Change safe mode directly from warning banner button.
### Fixed
- Fix opening files with "Open With...". Thank's to @ARAKHN1D.

View File

@ -38,6 +38,22 @@
<translation type="gettext">curtail</translation>
<launchable type="desktop-id">com.github.huluti.Curtail.desktop</launchable>
<releases>
<release version="1.10.0" date="2024-06-07">
<description translate="no">
<p>Here's the changelog of this version:</p>
<ul>
<li>Add a "Recursive Compression" setting</li>
<li>Add Bulgarian translation. Thank's to @twlvnn</li>
<li>Add Hindi translation. Thank's to @Scrambled777</li>
<li>Update OxiPNG to v9.1.1</li>
<li>Update translations</li>
<li>Change safe mode directly from warning banner button</li>
<li>Fix opening files with "Open With...". Thank's to @ARAKHN1D</li>
<li>Fix DnD with nested folders (recursive)</li>
<li>Fix translations not applied to the help overlay window</li>
</ul>
</description>
</release>
<release version="1.9.1" date="2024-04-12">
<description translate="no">
<p>Here's the changelog of this version:</p>

View File

@ -45,7 +45,7 @@
<property name="orientation">vertical</property>
<child>
<object class="AdwBanner" id="warning_banner">
<property name="action-name">win.preferences</property>
<property name="action-name">win.banner-change-mode</property>
<property name="button-label" translatable="yes">_Change Mode</property>
<property name="title" translatable="yes">Images will be overwritten, proceed carefully</property>
</object>

14
debian/changelog vendored
View File

@ -1,3 +1,17 @@
curtail (1.10.0) focal; urgency=medium
* Add a "Recursive Compression" setting.
* Add Bulgarian translation. Thank's to @twlvnn.
* Add Hindi translation. Thank's to @Scrambled777.
* Update OxiPNG to v9.1.1
* Update translations.
* Change safe mode directly from warning banner button.
* Fix opening files with "Open With...". Thank's to @ARAKHN1D.
* Fix DnD with nested folders (recursive).
* Fix translations not applied to the help overlay window.
-- Archisman Panigrahi <apandada1@gmail.com> Fri, 07 Jun 2024 13:15 +0200
curtail (1.9.1) focal; urgency=medium
* Use default decoration layout for screenshots.

View File

@ -1,5 +1,5 @@
project('curtail',
version: '1.9.1',
version: '1.10.0',
meson_version: '>= 0.59.0',
default_options: [ 'warning_level=2', 'werror=false', ],
)

View File

@ -1,6 +1,6 @@
[tool.poetry]
name = "curtail"
version = "1.9.1"
version = "1.10.0"
description = ""
authors = ["Hugo Posnic <hugo.posnic@protonmail.com>"]
license = "GPLv3"

View File

@ -102,6 +102,7 @@ class CurtailWindow(Adw.ApplicationWindow):
def create_actions(self):
self.create_simple_action('select-file', self.on_select, '<Primary>o')
self.create_simple_action('clear-results', self.clear_results)
self.create_simple_action('banner-change-mode', self.banner_change_mode)
self.create_simple_action('preferences', self.on_preferences, '<Primary>comma')
self.create_simple_action('about', self.on_about)
self.create_simple_action('quit', self.on_quit, '<Primary>q')
@ -347,6 +348,10 @@ class CurtailWindow(Adw.ApplicationWindow):
def on_lossy_changed(self, switch, state):
self._settings.set_boolean('lossy', switch.get_active())
def banner_change_mode(self, *args):
self._settings.set_boolean('new-file', True)
self.show_warning_banner()
def on_preferences(self, *args):
if self.prefs_dialog is not None:
self.prefs_dialog.force_close()
@ -361,7 +366,7 @@ class CurtailWindow(Adw.ApplicationWindow):
license_type=Gtk.License.GPL_3_0,
website='https://github.com/Huluti/Curtail',
issue_url='https://github.com/Huluti/Curtail/issues/new',
version='1.9.1',
version='1.10.0',
developers=[
'Hugo Posnic https://github.com/Huluti'
],