Hello community,

here is the log from the commit of package simple-scan for openSUSE:Factory 
checked in at 2020-02-19 12:40:57
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/simple-scan (Old)
 and      /work/SRC/openSUSE:Factory/.simple-scan.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "simple-scan"

Wed Feb 19 12:40:57 2020 rev:67 rq:774599 version:3.34.4

Changes:
--------
--- /work/SRC/openSUSE:Factory/simple-scan/simple-scan.changes  2020-01-28 
10:48:53.080589277 +0100
+++ /work/SRC/openSUSE:Factory/.simple-scan.new.26092/simple-scan.changes       
2020-02-19 12:41:00.603678871 +0100
@@ -1,0 +2,6 @@
+Thu Feb 13 20:20:19 UTC 2020 - Bjørn Lie <[email protected]>
+
+- Update to version 3.34.4:
+  + Fix page shortcuts no longer working.
+
+-------------------------------------------------------------------

Old:
----
  simple-scan-3.34.2.tar.xz

New:
----
  simple-scan-3.34.4.tar.xz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ simple-scan.spec ++++++
--- /var/tmp/diff_new_pack.DvDUQF/_old  2020-02-19 12:41:01.203680027 +0100
+++ /var/tmp/diff_new_pack.DvDUQF/_new  2020-02-19 12:41:01.207680035 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package simple-scan
 #
-# Copyright (c) 2019 SUSE LLC
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
 
 
 Name:           simple-scan
-Version:        3.34.2
+Version:        3.34.4
 Release:        0
 Summary:        Simple Scanning Utility
 License:        GPL-3.0-or-later

++++++ simple-scan-3.34.2.tar.xz -> simple-scan-3.34.4.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/simple-scan-3.34.2/NEWS new/simple-scan-3.34.4/NEWS
--- old/simple-scan-3.34.2/NEWS 2019-11-22 05:07:34.000000000 +0100
+++ new/simple-scan-3.34.4/NEWS 2020-02-13 21:16:03.489803000 +0100
@@ -1,3 +1,7 @@
+Overview of changes in simple-scan 3.34.4
+
+  * Fix page shortcuts no longer working.
+
 Overview of changes in simple-scan 3.34.2
 
   * Updated translations
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/simple-scan-3.34.2/meson.build 
new/simple-scan-3.34.4/meson.build
--- old/simple-scan-3.34.2/meson.build  2019-11-22 05:07:34.000000000 +0100
+++ new/simple-scan-3.34.4/meson.build  2020-02-13 21:16:03.545803800 +0100
@@ -1,5 +1,5 @@
 project ('simple-scan', ['vala', 'c'],
-         version: '3.34.2',
+         version: '3.34.4',
          license: 'GPLv3+',
          default_options: [
              'warning_level=1',
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/simple-scan-3.34.2/src/app-window.vala 
new/simple-scan-3.34.4/src/app-window.vala
--- old/simple-scan-3.34.2/src/app-window.vala  2019-11-22 05:07:34.000000000 
+0100
+++ new/simple-scan-3.34.4/src/app-window.vala  2020-02-13 21:16:03.585804200 
+0100
@@ -23,6 +23,12 @@
         { "scan_adf", scan_adf_cb },
         { "scan_batch", scan_batch_cb },
         { "scan_stop", scan_stop_cb },
+        { "rotate_left", rotate_left_cb },
+        { "rotate_right", rotate_right_cb },
+        { "move_left", move_left_cb },
+        { "move_right", move_right_cb },
+        { "copy_page", copy_page_cb },
+        { "delete_page", delete_page_cb },
         { "reorder", reorder_document_cb },
         { "save", save_document_activate_cb },
         { "email", email_document_cb },
@@ -648,6 +654,36 @@
         stop_scan ();
     }
 
+    private void rotate_left_cb ()
+    {
+        rotate_left_button_clicked_cb ();
+    }
+
+    private void rotate_right_cb ()
+    {
+        rotate_right_button_clicked_cb ();
+    }
+
+    private void move_left_cb ()
+    {
+        page_move_left_menuitem_activate_cb ();
+    }
+
+    private void move_right_cb ()
+    {
+        page_move_right_menuitem_activate_cb ();
+    }
+
+    private void copy_page_cb ()
+    {
+        copy_to_clipboard_button_clicked_cb ();
+    }
+
+    private void delete_page_cb ()
+    {
+        page_delete_menuitem_activate_cb ();
+    }
+
     private void set_scan_type (ScanType scan_type)
     {
         this.scan_type = scan_type;
@@ -856,7 +892,7 @@
     }
 
     [GtkCallback]
-    private void rotate_left_button_clicked_cb (Gtk.Widget widget)
+    private void rotate_left_button_clicked_cb ()
     {
         if (updating_page_menu)
             return;
@@ -866,7 +902,7 @@
     }
 
     [GtkCallback]
-    private void rotate_right_button_clicked_cb (Gtk.Widget widget)
+    private void rotate_right_button_clicked_cb ()
     {
         if (updating_page_menu)
             return;
@@ -968,7 +1004,7 @@
     }
 
     [GtkCallback]
-    private void crop_rotate_menuitem_activate_cb (Gtk.Widget widget)
+    private void crop_rotate_menuitem_activate_cb ()
     {
         var page = book_view.selected_page;
         if (page == null)
@@ -977,7 +1013,7 @@
     }
 
     [GtkCallback]
-    private void page_move_left_menuitem_activate_cb (Gtk.Widget widget)
+    private void page_move_left_menuitem_activate_cb ()
     {
         var page = book_view.selected_page;
         var index = book.get_page_index (page);
@@ -986,7 +1022,7 @@
     }
 
     [GtkCallback]
-    private void page_move_right_menuitem_activate_cb (Gtk.Widget widget)
+    private void page_move_right_menuitem_activate_cb ()
     {
         var page = book_view.selected_page;
         var index = book.get_page_index (page);
@@ -995,7 +1031,7 @@
     }
 
     [GtkCallback]
-    private void page_delete_menuitem_activate_cb (Gtk.Widget widget)
+    private void page_delete_menuitem_activate_cb ()
     {
         book_view.book.delete_page (book_view.selected_page);
     }
@@ -1179,7 +1215,7 @@
     }
 
     [GtkCallback]
-    private void copy_to_clipboard_button_clicked_cb (Gtk.Widget widget)
+    private void copy_to_clipboard_button_clicked_cb ()
     {
         var page = book_view.selected_page;
         if (page != null)
@@ -1562,6 +1598,12 @@
         app.set_accels_for_action ("app.scan_adf", { "<Ctrl>F" });
         app.set_accels_for_action ("app.scan_batch", { "<Ctrl>M" });
         app.set_accels_for_action ("app.scan_stop", { "Escape" });
+        app.set_accels_for_action ("app.rotate_left", { "bracketleft" });
+        app.set_accels_for_action ("app.rotate_right", { "bracketright" });
+        app.set_accels_for_action ("app.move_left", { "less" });
+        app.set_accels_for_action ("app.move_right", { "greater" });
+        app.set_accels_for_action ("app.copy_page", { "<Ctrl>C" });
+        app.set_accels_for_action ("app.delete_page", { "Delete" });
         app.set_accels_for_action ("app.save", { "<Ctrl>S" });
         app.set_accels_for_action ("app.email", { "<Ctrl>E" });
         app.set_accels_for_action ("app.print", { "<Ctrl>P" });


Reply via email to