summaryrefslogtreecommitdiff
path: root/src/dlg-add-folder.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/dlg-add-folder.c')
-rw-r--r--src/dlg-add-folder.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/dlg-add-folder.c b/src/dlg-add-folder.c
index c5b0f04..8ad65d2 100644
--- a/src/dlg-add-folder.c
+++ b/src/dlg-add-folder.c
@@ -242,19 +242,31 @@ add_folder_cb (GtkWidget *widget,
data->include_files_entry = gtk_entry_new ();
gtk_widget_set_tooltip_text (data->include_files_entry, _("example: *.o; *.bak"));
data->include_files_label = gtk_label_new_with_mnemonic (_("Include _files:"));
+#if GTK_CHECK_VERSION (3, 16, 0)
+ gtk_label_set_xalign (GTK_LABEL (data->include_files_label), 0.0);
+#else
gtk_misc_set_alignment (GTK_MISC (data->include_files_label), 0.0, 0.5);
+#endif
gtk_label_set_mnemonic_widget (GTK_LABEL (data->include_files_label), data->include_files_entry);
data->exclude_files_entry = gtk_entry_new ();
gtk_widget_set_tooltip_text (data->exclude_files_entry, _("example: *.o; *.bak"));
data->exclude_files_label = gtk_label_new_with_mnemonic (_("E_xclude files:"));
+#if GTK_CHECK_VERSION (3, 16, 0)
+ gtk_label_set_xalign (GTK_LABEL (data->exclude_files_label), 0.0);
+#else
gtk_misc_set_alignment (GTK_MISC (data->exclude_files_label), 0.0, 0.5);
+#endif
gtk_label_set_mnemonic_widget (GTK_LABEL (data->exclude_files_label), data->exclude_files_entry);
data->exclude_folders_entry = gtk_entry_new ();
gtk_widget_set_tooltip_text (data->exclude_folders_entry, _("example: *.o; *.bak"));
data->exclude_folders_label = gtk_label_new_with_mnemonic (_("_Exclude folders:"));
+#if GTK_CHECK_VERSION (3, 16, 0)
+ gtk_label_set_xalign (GTK_LABEL (data->exclude_folders_label), 0.0);
+#else
gtk_misc_set_alignment (GTK_MISC (data->exclude_folders_label), 0.0, 0.5);
+#endif
gtk_label_set_mnemonic_widget (GTK_LABEL (data->exclude_folders_label), data->exclude_folders_entry);
data->load_button = gtk_button_new_with_mnemonic (_("_Load Options"));