From 9e2c045987675da17bf61a8ef3fac4adc62fca95 Mon Sep 17 00:00:00 2001 From: Carlos Soriano Date: Mon, 4 Apr 2016 12:34:31 +0200 Subject: desktop-canvas-view-container: override get icon text Now that we have a subclass we can override the function instead of special casing in the parent. https://bugzilla.gnome.org/show_bug.cgi?id=712620 --- src/nautilus-canvas-view-container.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src/nautilus-canvas-view-container.c') diff --git a/src/nautilus-canvas-view-container.c b/src/nautilus-canvas-view-container.c index a56ec66e8..efcb7356e 100644 --- a/src/nautilus-canvas-view-container.c +++ b/src/nautilus-canvas-view-container.c @@ -243,10 +243,9 @@ nautilus_canvas_view_container_get_icon_text (NautilusCanvasContainer *container return; } - if (NAUTILUS_IS_DESKTOP_ICON_FILE (file) || - nautilus_file_is_nautilus_link (file)) { - /* Don't show the normal extra information for desktop icons, - * or desktop files, it doesn't make sense. */ + if (nautilus_file_is_nautilus_link (file)) { + /* Don't show the normal extra information for desktop files, + * it doesn't make sense. */ *additional_text = NULL; return; } -- cgit v1.2.1