[gthumb] photo importer: pass NULL to use the default text



commit e51b5828819c8ce66709619e0ffe416a93c3682f
Author: Paolo Bacchilega <paobac src gnome org>
Date:   Sat May 22 10:04:05 2021 +0200

    photo importer: pass NULL to use the default text

 extensions/photo_importer/dlg-photo-importer.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/extensions/photo_importer/dlg-photo-importer.c b/extensions/photo_importer/dlg-photo-importer.c
index 60140900..b941ef33 100644
--- a/extensions/photo_importer/dlg-photo-importer.c
+++ b/extensions/photo_importer/dlg-photo-importer.c
@@ -353,7 +353,7 @@ list_source_files (gpointer user_data)
        data->files = NULL;
 
        if (data->source == NULL) {
-               gth_file_list_clear (GTH_FILE_LIST (data->file_list), _("(Empty)"));
+               gth_file_list_clear (GTH_FILE_LIST (data->file_list), NULL);
                update_sensitivity (data);
                return;
        }
@@ -393,7 +393,7 @@ device_chooser_changed_cb (GtkWidget  *widget,
        if (! gtk_combo_box_get_active_iter (GTK_COMBO_BOX (data->device_chooser), &iter)) {
                _g_clear_object (&data->source);
                _g_clear_object (&data->last_source);
-               gth_file_list_clear (GTH_FILE_LIST (data->file_list), _("(Empty)"));
+               gth_file_list_clear (GTH_FILE_LIST (data->file_list), NULL);
                return;
        }
 
@@ -404,7 +404,7 @@ device_chooser_changed_cb (GtkWidget  *widget,
        if (mount == NULL) {
                _g_clear_object (&data->source);
                _g_clear_object (&data->last_source);
-               gth_file_list_clear (GTH_FILE_LIST (data->file_list), _("Empty"));
+               gth_file_list_clear (GTH_FILE_LIST (data->file_list), NULL);
                return;
        }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]