[gedit/file_too_big: 11/11] Fix size




commit 009717442e3bea8f22781bdec1777f9e8f8e06c7
Author: Jordi Mas <jmas softcatala org>
Date:   Mon Mar 22 22:03:23 2021 +0100

    Fix size

 gedit/gedit-io-error-info-bar.c | 2 +-
 gedit/gedit-tab.c               | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gedit/gedit-io-error-info-bar.c b/gedit/gedit-io-error-info-bar.c
index 5306b2855..77ca04d7b 100644
--- a/gedit/gedit-io-error-info-bar.c
+++ b/gedit/gedit-io-error-info-bar.c
@@ -589,7 +589,7 @@ gedit_io_loading_error_info_bar_new (GFile                   *location,
        {
                error_message = g_strdup_printf (_("The file ā€œ%sā€ is very big."),
                                                 uri_for_display);
-               message_details = g_strconcat (_("Large files can make gedit slow or unresponsive."
+               message_details = g_strconcat (_("Large files can make gedit slow or unresponsive. "
                                               "You can continue loading this file at your own risk"),
                                               NULL);
                file_too_big = TRUE;
diff --git a/gedit/gedit-tab.c b/gedit/gedit-tab.c
index 5b1e996c6..b94ec8f41 100644
--- a/gedit/gedit-tab.c
+++ b/gedit/gedit-tab.c
@@ -2039,7 +2039,7 @@ launch_loader (GTask                   *loading_task,
        GSList *candidate_encodings = NULL;
        GeditDocument *doc;
        const int MB = 1024*1024;
-       const int FILE_TOO_LARGE = 512*MB;
+       const int FILE_TOO_LARGE = 100*MB;
 
        if (encoding != NULL)
        {


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