[totem] main: Implement F1 in browser view
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [totem] main: Implement F1 in browser view
- Date: Thu, 17 Feb 2022 16:07:49 +0000 (UTC)
commit f7bd578af527b79f8213401deaaef080a10c7107
Author: Bastien Nocera <hadess hadess net>
Date: Thu Feb 17 16:22:55 2022 +0100
main: Implement F1 in browser view
src/totem-menu.c | 2 ++
src/totem-object.c | 3 ---
2 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/src/totem-menu.c b/src/totem-menu.c
index cc9f27057..765e147e8 100644
--- a/src/totem-menu.c
+++ b/src/totem-menu.c
@@ -357,6 +357,8 @@ totem_app_menu_setup (Totem *totem)
accels[0] = "<Primary>E";
gtk_application_set_accels_for_action (GTK_APPLICATION (totem), "app.eject", (const char * const *)
accels);
gtk_application_set_accels_for_action (GTK_APPLICATION (totem), "app.shortcuts", shortcuts_accels);
+ accels[0] = "F1";
+ gtk_application_set_accels_for_action (GTK_APPLICATION (totem), "app.help", (const char * const *)
accels);
gtk_window_set_application (GTK_WINDOW (totem->win), GTK_APPLICATION (totem));
}
diff --git a/src/totem-object.c b/src/totem-object.c
index c8e6a8209..37a56bb1c 100644
--- a/src/totem-object.c
+++ b/src/totem-object.c
@@ -3443,9 +3443,6 @@ totem_object_handle_key_press (TotemObject *totem, GdkEventKey *event)
bacon_video_widget_dvd_event (totem->bvw,
BVW_DVD_CHAPTER_MENU);
break;
- case GDK_KEY_F1:
- totem_object_show_help (totem);
- break;
case GDK_KEY_F5:
/* Start presentation button */
totem_object_set_fullscreen (totem, TRUE);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]