Commit 6e669bef authored by Debarshi Ray's avatar Debarshi Ray

application, preview-menu: Add "Export"

Export/save is now an explicit action to be performed from the preview.

https://bugzilla.gnome.org/show_bug.cgi?id=759363
parent 0b49eafd
......@@ -256,7 +256,6 @@ photos_application_actions_update (PhotosApplication *self)
g_simple_action_set_enabled (priv->edit_cancel_action, enable);
g_simple_action_set_enabled (priv->edit_done_action, enable);
g_simple_action_set_enabled (priv->insta_action, enable);
g_simple_action_set_enabled (priv->save_action, enable);
g_simple_action_set_enabled (priv->sharpen_action, enable);
g_simple_action_set_enabled (priv->undo_action, enable);
......@@ -283,6 +282,7 @@ photos_application_actions_update (PhotosApplication *self)
g_simple_action_set_enabled (priv->open_action, enable);
g_simple_action_set_enabled (priv->print_action, enable);
g_simple_action_set_enabled (priv->properties_action, enable);
g_simple_action_set_enabled (priv->save_action, enable);
g_simple_action_set_enabled (priv->set_bg_action, enable);
g_simple_action_set_enabled (priv->set_ss_action, enable);
......@@ -892,8 +892,6 @@ photos_application_save_save (GObject *source_object, GAsyncResult *res, gpointe
goto out;
}
photos_mode_controller_go_back (self->priv->state->mode_cntrlr);
out:
g_application_release (G_APPLICATION (self));
}
......
......@@ -5,6 +5,10 @@
<attribute name="action">app.open-current</attribute>
<attribute name="label" translatable="yes">Open</attribute>
</item>
<item>
<attribute name="action">app.save-current</attribute>
<attribute name="label" translatable="yes">Export…</attribute>
</item>
<item>
<attribute name="action">app.print-current</attribute>
<attribute name="label" translatable="yes">Print…</attribute>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment