[nautilus/gnome-3-20] window-slot: fix shortcuts for changing view mode
- From: Răzvan-Mihai Chițu <razvanchitu src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus/gnome-3-20] window-slot: fix shortcuts for changing view mode
- Date: Tue, 29 Mar 2016 08:57:06 +0000 (UTC)
commit c8250f10ed3eae85dd5ab6acc8b9a9abcdc3972d
Author: Razvan Chitu <razvan ch95 gmail com>
Date: Thu Mar 24 21:32:24 2016 +0200
window-slot: fix shortcuts for changing view mode
In Nautilus, the action for changing the view mode takes an unsigned integer as
parameter in order to determine to which mode to switch. The parameter's type
was not specified in the action name, which lead to the shortcuts not working.
In order to fix this, add the missing type.
https://bugzilla.gnome.org/show_bug.cgi?id=764167
src/nautilus-window-slot.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/nautilus-window-slot.c b/src/nautilus-window-slot.c
index 83b5405..5af90d6 100644
--- a/src/nautilus-window-slot.c
+++ b/src/nautilus-window-slot.c
@@ -729,8 +729,8 @@ nautilus_window_slot_init (NautilusWindowSlot *slot)
gtk_widget_insert_action_group (GTK_WIDGET (slot),
"slot",
G_ACTION_GROUP (slot->details->slot_action_group));
- nautilus_application_add_accelerator (app, "slot.files-view-mode(1)", "<control>1");
- nautilus_application_add_accelerator (app, "slot.files-view-mode(0)", "<control>2");
+ nautilus_application_add_accelerator (app, "slot.files-view-mode(uint32 1)", "<control>1");
+ nautilus_application_add_accelerator (app, "slot.files-view-mode(uint32 0)", "<control>2");
nautilus_application_add_accelerator (app, "slot.search-visible", "<control>f");
slot->details->view_mode_before_search = NAUTILUS_VIEW_INVALID_ID;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]