summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/nautilus-batch-rename-dialog.c5
-rw-r--r--src/resources/ui/nautilus-batch-rename-dialog.ui1
2 files changed, 5 insertions, 1 deletions
diff --git a/src/nautilus-batch-rename-dialog.c b/src/nautilus-batch-rename-dialog.c
index 5eeceedcf..df6a5f8c9 100644
--- a/src/nautilus-batch-rename-dialog.c
+++ b/src/nautilus-batch-rename-dialog.c
@@ -1576,6 +1576,11 @@ nautilus_batch_rename_dialog_initialize_actions (NautilusBatchRenameDialog *dial
check_metadata_for_selection (dialog, dialog->selection,
dialog->metadata_cancellable);
+
+ /* Make sure that the state is initialized to name-ascending */
+ action = g_action_map_lookup_action (G_ACTION_MAP (dialog->action_group),
+ "numbering-order-changed");
+ g_action_change_state (action, g_variant_new_string ("name-ascending"));
}
static void
diff --git a/src/resources/ui/nautilus-batch-rename-dialog.ui b/src/resources/ui/nautilus-batch-rename-dialog.ui
index 0b4793400..01db45181 100644
--- a/src/resources/ui/nautilus-batch-rename-dialog.ui
+++ b/src/resources/ui/nautilus-batch-rename-dialog.ui
@@ -216,7 +216,6 @@
<child>
<object class="GtkMenuButton" id="numbering_order_button">
<property name="menu-model">numbering_order_menu</property>
- <property name="label" translatable="yes">Original Name (Ascending)</property>
<property name="always-show-arrow">True</property>
</object>
</child>