Mageia Bugzilla – Attachment 11741 Details for
Bug 26903
Simple-scan no save documents in pdf format
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
[patch]
Fixed patch for using FileChooserDialog
simple-scan-3.32.2.filechooserdialog.patch (text/plain), 1.22 KB, created by
Martin Whitaker
on 2020-07-09 10:03:52 CEST
(
hide
)
Description:
Fixed patch for using FileChooserDialog
Filename:
MIME Type:
Creator:
Martin Whitaker
Created:
2020-07-09 10:03:52 CEST
Size:
1.22 KB
patch
obsolete
>--- simple-scan-3.32.2.1/src/app-window.vala 2019-05-06 00:25:43.000000000 +0100 >+++ simple-scan-3.32.2.1/src/app-window.vala 2020-07-09 08:51:24.526298206 +0100 >@@ -288,12 +288,15 @@ > if (directory == null || directory == "") > directory = Environment.get_user_special_dir (UserDirectory.DOCUMENTS); > >- var save_dialog = new Gtk.FileChooserNative (/* Save dialog: Dialog title */ >+ var save_dialog = new Gtk.FileChooserDialog (/* Save dialog: Dialog title */ > _("Save Asâ¦"), > this, > Gtk.FileChooserAction.SAVE, >+ _("_Cancel"), >+ Gtk.ResponseType.CANCEL, > _("_Save"), >- _("_Cancel")); >+ Gtk.ResponseType.ACCEPT, >+ null); > save_dialog.local_only = false; > if (book_uri != null) > save_dialog.set_uri (book_uri);
--- simple-scan-3.32.2.1/src/app-window.vala 2019-05-06 00:25:43.000000000 +0100 +++ simple-scan-3.32.2.1/src/app-window.vala 2020-07-09 08:51:24.526298206 +0100 @@ -288,12 +288,15 @@ if (directory == null || directory == "") directory = Environment.get_user_special_dir (UserDirectory.DOCUMENTS); - var save_dialog = new Gtk.FileChooserNative (/* Save dialog: Dialog title */ + var save_dialog = new Gtk.FileChooserDialog (/* Save dialog: Dialog title */ _("Save Asâ¦"), this, Gtk.FileChooserAction.SAVE, + _("_Cancel"), + Gtk.ResponseType.CANCEL, _("_Save"), - _("_Cancel")); + Gtk.ResponseType.ACCEPT, + null); save_dialog.local_only = false; if (book_uri != null) save_dialog.set_uri (book_uri);
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 26903
:
11737
|
11738
|
11739
|
11740
| 11741 |
11742
|
11743