summaryrefslogtreecommitdiff
path: root/src/caja-window-slot.c
diff options
context:
space:
mode:
authorPablo Barciela <[email protected]>2019-08-28 20:47:23 +0200
committerZenWalker <[email protected]>2019-09-10 15:05:01 +0200
commit0d08735bcd1c0f48a29faac30e3a7cca3ae72f05 (patch)
tree7b6cb97ec0b1fb1382083568d378a462f3818dc1 /src/caja-window-slot.c
parent2eb69f41f89368fffb3430375cf2757e600b4c32 (diff)
downloadcaja-0d08735bcd1c0f48a29faac30e3a7cca3ae72f05.tar.bz2
caja-0d08735bcd1c0f48a29faac30e3a7cca3ae72f05.tar.xz
caja-window-slot: "folder-saved-search" icon instead "text-x-generic"
Diffstat (limited to 'src/caja-window-slot.c')
-rw-r--r--src/caja-window-slot.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/caja-window-slot.c b/src/caja-window-slot.c
index e5c71350..abbb9200 100644
--- a/src/caja-window-slot.c
+++ b/src/caja-window-slot.c
@@ -394,7 +394,10 @@ caja_window_slot_update_icon (CajaWindowSlot *slot)
*/
if (g_strcmp0 (icon_name, gtk_window_get_icon_name (GTK_WINDOW (window))) != 0)
{
- gtk_window_set_icon_name (GTK_WINDOW (window), icon_name);
+ if (g_strcmp0 (icon_name, "text-x-generic") == 0)
+ gtk_window_set_icon_name (GTK_WINDOW (window), "folder-saved-search");
+ else
+ gtk_window_set_icon_name (GTK_WINDOW (window), icon_name);
}
}
else