summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorrbuj <[email protected]>2020-04-14 13:33:49 +0200
committerraveit65 <[email protected]>2020-06-05 14:38:12 +0200
commitaf12d512815a111e64b172362331e7d34b4e18cf (patch)
tree995945c9a7b436ae95290fb11767891d8d7c3c48 /src
parent4a0d9903b8f6b33b73b2e2bc578c9a237c67b4b3 (diff)
downloadengrampa-af12d512815a111e64b172362331e7d34b4e18cf.tar.bz2
engrampa-af12d512815a111e64b172362331e7d34b4e18cf.tar.xz
dlg-batch-add: Set labels GtkSizeGroup in ui file
Diffstat (limited to 'src')
-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>