[evince] Implement SaveAs named action.



commit 079aab3d370dd970f585508f28c5c908e6639990
Author: Kris Jurka <jurka ejurka com>
Date:   Mon Dec 2 22:49:27 2019 -0800

    Implement SaveAs named action.
    
    Closes: https://gitlab.gnome.org/GNOME/evince/issues/1314

 shell/ev-window.c | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/shell/ev-window.c b/shell/ev-window.c
index e09ddea1..55b7fe49 100644
--- a/shell/ev-window.c
+++ b/shell/ev-window.c
@@ -6689,6 +6689,8 @@ do_action_named (EvWindow *window, EvLinkAction *action)
                g_action_group_activate_action (G_ACTION_GROUP (window), "close", NULL);
        } else if (g_ascii_strcasecmp (name, "Print") == 0) {
                g_action_group_activate_action (G_ACTION_GROUP (window), "print", NULL);
+       } else if (g_ascii_strcasecmp (name, "SaveAs") == 0) {
+               g_action_group_activate_action (G_ACTION_GROUP (window), "save-as", NULL);
        } else {
                g_warning ("Unimplemented named action: %s, please post a "
                           "bug report in Evince bugzilla "


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]