[simple-scan/gnome-3-36] Fix displaying the compression value on PDF save.
- From: Bartosz <bkosiorek src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [simple-scan/gnome-3-36] Fix displaying the compression value on PDF save.
- Date: Fri, 2 Oct 2020 09:02:44 +0000 (UTC)
commit e92279a08f2d1a66cd1b70c7775381b6ac6d022f
Author: Bartosz Kosiorek <gang65 poczta onet pl>
Date: Thu Oct 1 13:55:56 2020 +0200
Fix displaying the compression value on PDF save.
Fixes: #200
src/app-window.vala | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/src/app-window.vala b/src/app-window.vala
index 30adac94..c3a3aaa9 100644
--- a/src/app-window.vala
+++ b/src/app-window.vala
@@ -530,6 +530,7 @@ public class AppWindow : Gtk.ApplicationWindow
/* Label in save dialog beside compression slider */
var quality_label = new Gtk.Label (_("Compression:"));
+ quality_label.visible = true;
box.add (quality_label);
var quality_adjustment = new Gtk.Adjustment (75, 0, 100, 1, 10, 0);
@@ -542,6 +543,7 @@ public class AppWindow : Gtk.ApplicationWindow
quality_scale.add_mark (100, Gtk.PositionType.BOTTOM, null);
quality_adjustment.value = settings.get_int ("jpeg-quality");
quality_adjustment.value_changed.connect (() => { settings.set_int ("jpeg-quality", (int)
quality_adjustment.value); });
+ quality_scale.visible = true;
box.add (quality_scale);
file_type_combo.set_active (0);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]