[gthumb] edit metadata dialogs: lower delay to update the selection



commit 1a2e50b54368045bfd567a1e71eac23c1a7478a3
Author: Paolo Bacchilega <paobac src gnome org>
Date:   Sat Feb 1 18:04:04 2020 +0100

    edit metadata dialogs: lower delay to update the selection

 extensions/catalogs/dlg-add-to-catalog.c     | 3 ++-
 extensions/edit_metadata/dlg-edit-metadata.c | 2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/extensions/catalogs/dlg-add-to-catalog.c b/extensions/catalogs/dlg-add-to-catalog.c
index 52405bed..66617f9d 100644
--- a/extensions/catalogs/dlg-add-to-catalog.c
+++ b/extensions/catalogs/dlg-add-to-catalog.c
@@ -29,7 +29,7 @@
 
 #define GET_WIDGET(name) _gtk_builder_get_widget (data->builder, (name))
 #define ADD_TO_CATALOG_DIALOG_NAME "add-to-catalog"
-#define UPDATE_SELECTION_DELAY 100
+#define UPDATE_SELECTION_DELAY 50
 
 
 typedef struct {
@@ -686,6 +686,7 @@ dlg_add_to_catalog (GthBrowser *browser)
                                     NULL);
        gtk_container_add (GTK_CONTAINER (gtk_dialog_get_content_area (GTK_DIALOG (data->dialog))),
                           GET_WIDGET ("dialog_content"));
+       gtk_container_set_border_width (GTK_CONTAINER (data->dialog), 5);
 
        data->info = gth_file_selection_info_new ();
        gtk_widget_show (data->info);
diff --git a/extensions/edit_metadata/dlg-edit-metadata.c b/extensions/edit_metadata/dlg-edit-metadata.c
index 7fca6587..563ab797 100644
--- a/extensions/edit_metadata/dlg-edit-metadata.c
+++ b/extensions/edit_metadata/dlg-edit-metadata.c
@@ -26,7 +26,7 @@
 #include "gth-edit-metadata-dialog.h"
 
 
-#define UPDATE_SELECTION_DELAY 300
+#define UPDATE_SELECTION_DELAY 50
 
 
 typedef struct {


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