summaryrefslogtreecommitdiff
path: root/libcaja-private
diff options
context:
space:
mode:
Diffstat (limited to 'libcaja-private')
-rw-r--r--libcaja-private/caja-icon-canvas-item.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/libcaja-private/caja-icon-canvas-item.c b/libcaja-private/caja-icon-canvas-item.c
index 69b06bee..3d719d5a 100644
--- a/libcaja-private/caja-icon-canvas-item.c
+++ b/libcaja-private/caja-icon-canvas-item.c
@@ -1478,7 +1478,8 @@ draw_label_text (CajaIconCanvasItem *item,
x = text_rect.x0 + ((text_rect.x1 - text_rect.x0) - max_text_width) / 2;
}
- if (have_editable)
+ if (have_editable &&
+ !details->is_renaming)
{
state = GTK_STATE_FLAG_NORMAL;
@@ -1505,7 +1506,8 @@ draw_label_text (CajaIconCanvasItem *item,
gtk_style_context_restore (context);
}
- if (have_additional)
+ if (have_additional &&
+ !details->is_renaming)
{
state = GTK_STATE_FLAG_NORMAL;