From 516b5208e0b3c368130334dbdf01b810486cd8d3 Mon Sep 17 00:00:00 2001 From: Jasmine Hassan Date: Thu, 18 Oct 2012 15:54:11 +0200 Subject: [eel] use glib's i18n API instead of eel's http://git.gnome.org/browse/nautilus/commit/?id=8447fd3670021530b6340829f27f1d689b633d3a --- eel/eel-vfs-extensions.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'eel/eel-vfs-extensions.c') diff --git a/eel/eel-vfs-extensions.c b/eel/eel-vfs-extensions.c index 27db2a46..300b4969 100644 --- a/eel/eel-vfs-extensions.c +++ b/eel/eel-vfs-extensions.c @@ -27,11 +27,11 @@ */ #include -#include "eel-i18n.h" #include "eel-vfs-extensions.h" #include "eel-glib-extensions.h" #include "eel-lib-self-check-functions.h" #include +#include #include #include "eel-string.h" -- cgit v1.2.1 From aefeca5ceaf9350c7e7f4a89637dc775d4207d76 Mon Sep 17 00:00:00 2001 From: Jasmine Hassan Date: Thu, 18 Oct 2012 16:30:13 +0200 Subject: [eel] cleanup eel-vfs-extensions http://git.gnome.org/browse/nautilus/commit/?id=2f202206fee4e1917494e3f4652e22648097c765 --- eel/eel-vfs-extensions.c | 28 ---------------------------- 1 file changed, 28 deletions(-) (limited to 'eel/eel-vfs-extensions.c') diff --git a/eel/eel-vfs-extensions.c b/eel/eel-vfs-extensions.c index 300b4969..9c786965 100644 --- a/eel/eel-vfs-extensions.c +++ b/eel/eel-vfs-extensions.c @@ -99,34 +99,6 @@ eel_make_valid_utf8 (const char *name) return g_string_free (string, FALSE); } -/** - * eel_format_uri_for_display: - * - * Filter, modify, unescape and change URIs to make them appropriate - * to display to users. The conversion is done such that the roundtrip - * to UTf8 is reversible. - * - * Rules: - * file: URI's without fragments should appear as local paths - * file: URI's with fragments should appear as file: URI's - * All other URI's appear as expected - * - * @uri: a URI - * - * returns a g_malloc'd UTF8 string - **/ -char * -eel_format_uri_for_display (const char *uri) -{ - GFile *file; - char *res; - - file = g_file_new_for_uri (uri); - res = g_file_get_parse_name (file); - g_object_unref (file); - return res; -} - char * eel_filename_strip_extension (const char * filename_with_extension) { -- cgit v1.2.1