summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRazvan Chitu <razvan.ch95@gmail.com>2016-03-24 21:32:24 +0200
committerRazvan Chitu <razvan.ch95@gmail.com>2016-03-29 11:48:14 +0300
commit4f7a7f9140809d43a6ac494c16d0edb090325319 (patch)
tree8b0ae720d754ae06ad5082d54dd54bed466d5831
parent20c771a21fd5af0477516d5fff5503a90d30aa15 (diff)
downloadnautilus-4f7a7f9140809d43a6ac494c16d0edb090325319.tar.gz
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
-rw-r--r--src/nautilus-window-slot.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nautilus-window-slot.c b/src/nautilus-window-slot.c
index 83b540513..5af90d626 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;