mirror of
https://gitlab.gnome.org/GNOME/nautilus
synced 2024-11-05 16:04:31 +00:00
new function, loads icons from a given directory - don't get too excited,
1999-12-19 Havoc Pennington <hp@pobox.com> * src/file-manager/desktop-canvas.c (desktop_canvas_load_desktop_icons): new function, loads icons from a given directory - don't get too excited, it doesn't yet _display_ any icons! * src/file-manager/desktop-canvas.h: Add directory list field. * src/file-manager/Makefile.am (gnome_desktop_SOURCES): Add fm-directory-list.[hc] (libntl_file_manager_la_SOURCES): add fm_directory_list.[hc] * src/file-manager/fm-directory-list.h, fm-directory-list.c: New files, the non-GUI portion of a directory listing. Handles loading the dir listing and the icons.
This commit is contained in:
parent
62eb9ba4be
commit
f401968b58
1 changed files with 4 additions and 0 deletions
|
@ -79,6 +79,10 @@ display_selection_info (FMDirectoryView *view,
|
|||
we might have to do the same thing in other places as well. Also,
|
||||
I am not sure this will be OK for all the languages. */
|
||||
|
||||
/* FIXME: gnome-vfs has an internal routine that also does this
|
||||
(gnome_vfs_size_to_string())
|
||||
*/
|
||||
|
||||
if (size < (GnomeVFSFileSize) 1e3) {
|
||||
if (size == 1)
|
||||
size_string = g_strdup (_("1 byte"));
|
||||
|
|
Loading…
Reference in a new issue