summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/dlg-batch-add.c6
-rw-r--r--src/ui/batch-add-files.ui7
2 files changed, 7 insertions, 6 deletions
diff --git a/src/dlg-batch-add.c b/src/dlg-batch-add.c
index e4891eb..9bd0ebd 100644
--- a/src/dlg-batch-add.c
+++ b/src/dlg-batch-add.c
@@ -474,7 +474,6 @@ dlg_batch_add_files (FrWindow *window,
GList *file_list)
{
DialogData *data;
- GtkSizeGroup *size_group;
char *automatic_name = NULL;
char *default_ext;
const char *first_filename;
@@ -495,11 +494,6 @@ dlg_batch_add_files (FrWindow *window,
/* Set widgets data. */
- size_group = gtk_size_group_new (GTK_SIZE_GROUP_HORIZONTAL);
- gtk_size_group_add_widget (size_group, GET_WIDGET ("a_archive_label"));
- gtk_size_group_add_widget (size_group, GET_WIDGET ("a_location_label"));
- gtk_size_group_add_widget (size_group, GET_WIDGET ("a_password_label"));
-
gtk_expander_set_expanded (GTK_EXPANDER (GET_WIDGET ("a_other_options_expander")), FALSE /*g_settings_get_boolean (data->settings, PREF_BATCH_ADD_OTHER_OPTIONS)*/);
gtk_toggle_button_set_active (GET_TOGGLE_BUTTON ("a_encrypt_header_checkbutton"), g_settings_get_boolean (data->settings_general, PREF_GENERAL_ENCRYPT_HEADER));
gtk_spin_button_set_value (GTK_SPIN_BUTTON (GET_WIDGET ("a_volume_spinbutton")), g_settings_get_int (data->settings, PREF_BATCH_ADD_VOLUME_SIZE) / MEGABYTE);
diff --git a/src/ui/batch-add-files.ui b/src/ui/batch-add-files.ui
index 391ad5f..82bb457 100644
--- a/src/ui/batch-add-files.ui
+++ b/src/ui/batch-add-files.ui
@@ -389,4 +389,11 @@
<action-widget response="-11">a_help_button</action-widget>
</action-widgets>
</object>
+ <object class="GtkSizeGroup">
+ <widgets>
+ <widget name="a_archive_label"/>
+ <widget name="a_location_label"/>
+ <widget name="a_password_label"/>
+ </widgets>
+ </object>
</interface>