resize_headlines();
}
+ if (opid == "qmcToggleReorder") {
+ feedlist_sortable_enabled = !feedlist_sortable_enabled;
+
+ if (feedlist_sortable_enabled) {
+ notify_info("Category reordering enabled");
+ toggle_sortable_feedlist(true);
+ } else {
+ notify_info("Category reordering disabled");
+ toggle_sortable_feedlist(false);
+ }
+ }
+
if (opid == "qmcResetCats") {
if (confirm(__("Reset category order?"))) {
<option value="qmcCatchupAll"><?php echo __('Mark as read') ?></option>
<option value="qmcShowOnlyUnread"><?php echo __('(Un)hide read feeds') ?></option>
</optgroup>
+ <optgroup label="<?php echo __('Categories:') ?>">
+
+ <option value="qmcToggleReorder"><?php echo __('Toggle reordering mode') ?></option>
+ <option value="qmcResetCats"><?php echo __('Reset order') ?></option>
+ </optgroup>
+
<optgroup label="<?php echo __('Other actions:') ?>">
<option value="qmcAddLabel"><?php echo __('Create label...') ?></option>
<option value="qmcAddFilter"><?php echo __('Create filter...') ?></option>
<option value="qmcResetUI"><?php echo __('Reset UI layout') ?></option>
- <option value="qmcResetCats"><?php echo __('Reset category order') ?></option>
- <option value="qmcHKhelp"><?php echo __('Keyboard shortcuts') ?></option>
+ <option value="qmcHKhelp"><?php echo __('Keyboard shortcuts help') ?></option>
</optgroup>
</select>