8d91801
------------------------------------------------------------------------
8d91801
r1142 | cathalmagus | 2010-05-27 00:58:10 +0900 (Thu, 27 May 2010) | 2 lines
8d91801
8d91801
Fixes #28250, now icon mode will re-arrange icons when told
8d91801
8d91801
------------------------------------------------------------------------
8d91801
Index: lib/alexandria/ui/callbacks.rb
8d91801
===================================================================
8d91801
--- lib/alexandria/ui/callbacks.rb	(revision 1141)
8d91801
+++ lib/alexandria/ui/callbacks.rb	(revision 1142)
8d91801
@@ -333,12 +333,12 @@
8d91801
         toggle_actions = [
8d91801
           ["Sidepane", nil, _("Side _Pane"), "F9", nil,
8d91801
             on_view_sidepane, true],
8d91801
-            ["Toolbar", nil, _("_Toolbar"), nil, nil,
8d91801
-              on_view_toolbar, true],
8d91801
-              ["Statusbar", nil, _("_Statusbar"), nil, nil,
8d91801
-                on_view_statusbar, true],
8d91801
-                ["ReversedOrder", nil, _("Re_versed Order"), nil, nil,
8d91801
-                  on_reverse_order],
8d91801
+          ["Toolbar", nil, _("_Toolbar"), nil, nil,
8d91801
+            on_view_toolbar, true],
8d91801
+          ["Statusbar", nil, _("_Statusbar"), nil, nil,
8d91801
+            on_view_statusbar, true],
8d91801
+          ["ReversedOrder", nil, _("Re_versed Order"), nil, nil,
8d91801
+            on_reverse_order],
8d91801
         ]
8d91801
 
8d91801
         view_as_actions = [
8d91801
@@ -375,6 +375,7 @@
8d91801
         end
8d91801
         @actiongroup.add_radio_actions(arrange_icons_actions) do |action, current|
8d91801
           @prefs.arrange_icons_mode = current.current_value
8d91801
+          setup_books_iconview_sorting
8d91801
         end
8d91801
       end
8d91801
     end