summaryrefslogtreecommitdiff
path: root/src/nautilus-canvas-view-container.c
diff options
context:
space:
mode:
authorCarlos Soriano <csoriano@gnome.org>2016-04-04 12:34:31 +0200
committerCarlos Soriano <csoriano@gnome.org>2016-04-14 10:35:17 +0200
commit9e2c045987675da17bf61a8ef3fac4adc62fca95 (patch)
treeeaaa71234c9f821966c02326d21910afa7ae1d65 /src/nautilus-canvas-view-container.c
parent9f85cff088587fb73fac99ad3f35cdc1fa7124e1 (diff)
downloadnautilus-9e2c045987675da17bf61a8ef3fac4adc62fca95.tar.gz
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
Diffstat (limited to 'src/nautilus-canvas-view-container.c')
-rw-r--r--src/nautilus-canvas-view-container.c7
1 files changed, 3 insertions, 4 deletions
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;
}