[totem] save-file: Handle "Save" multimedia key
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [totem] save-file: Handle "Save" multimedia key
- Date: Fri, 30 May 2014 17:50:31 +0000 (UTC)
commit cfda97f47804451508533e91da05a863b8ef51c9
Author: Bastien Nocera <hadess hadess net>
Date: Fri May 30 18:09:07 2014 +0200
save-file: Handle "Save" multimedia key
src/plugins/save-file/totem-save-file.c | 7 +------
1 files changed, 1 insertions(+), 6 deletions(-)
---
diff --git a/src/plugins/save-file/totem-save-file.c b/src/plugins/save-file/totem-save-file.c
index 042cdd2..35f52b4 100644
--- a/src/plugins/save-file/totem-save-file.c
+++ b/src/plugins/save-file/totem-save-file.c
@@ -314,7 +314,7 @@ impl_activate (PeasActivatable *plugin)
GMenuItem *item;
char *path;
char *mrl;
- const char const *accels[] = { "<Primary>S", NULL };
+ const char const *accels[] = { "<Primary>S", "Save", NULL };
/* make sure nautilus is in the path */
path = g_find_program_in_path ("nautilus");
@@ -345,11 +345,6 @@ impl_activate (PeasActivatable *plugin)
gtk_application_set_accels_for_action (GTK_APPLICATION (priv->totem),
"app.save-as",
accels);
- /* FIXME: https://bugzilla.gnome.org/show_bug.cgi?id=695917
- gtk_application_add_accelerator (GTK_APPLICATION (priv->totem),
- "Save",
- "app.save-as",
- NULL); */
g_simple_action_set_enabled (G_SIMPLE_ACTION (priv->action), FALSE);
/* add UI */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]