[ghex] paste-special: Move space-delim hex pairs to UTF8 list
- From: Logan Rathbone <larathbone src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ghex] paste-special: Move space-delim hex pairs to UTF8 list
- Date: Thu, 23 Jun 2022 18:40:19 +0000 (UTC)
commit 7f7c9870537620a9f34073c87370167e83325726
Author: Logan Rathbone <poprocks gmail com>
Date: Thu Jun 23 14:25:37 2022 -0400
paste-special: Move space-delim hex pairs to UTF8 list
Newer apps w/ gtk4 often don't advertise at all that their paste data
contains ASCII (they only advertise UTF-8) so the odds that the option
will appear has gotten more unlikely in the past 12 months or so, so it
makes sense to move it.
src/paste-special.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/src/paste-special.c b/src/paste-special.c
index d625c22..c22aa37 100644
--- a/src/paste-special.c
+++ b/src/paste-special.c
@@ -512,10 +512,6 @@ init_mime_hash (void)
_("Plain text (as ASCII)"),
ASCII_PLAINTEXT));
- LIST = g_slist_append (LIST, create_known_mime_sub_type (MIME,
- _("Plain text (as space-delimited hex pairs)"),
- HEX_PLAINTEXT));
-
g_hash_table_insert (mime_hash,
g_strdup (MIME),
LIST);
@@ -533,6 +529,10 @@ init_mime_hash (void)
_("Plain text (Unicode)"),
NO_SUBTYPE));
+ LIST = g_slist_append (LIST, create_known_mime_sub_type (MIME,
+ _("Plain text (as space-delimited hex pairs)"),
+ HEX_PLAINTEXT));
+
g_hash_table_insert (mime_hash,
g_strdup (MIME),
LIST);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]