From cf508f496dae24acc1b4fd3cecb5dd191b5d69b6 Mon Sep 17 00:00:00 2001 From: David-John Willis Date: Sun, 25 Oct 2009 10:52:51 +0000 Subject: XFCE: Rename xfce to xfce-base to support the import of the new XFCE 4.6.1 builds. --- .../fix-segfault-when-removable-icons-are-disabled.patch | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 recipes/xfce-base/xfdesktop/fix-segfault-when-removable-icons-are-disabled.patch (limited to 'recipes/xfce-base/xfdesktop/fix-segfault-when-removable-icons-are-disabled.patch') diff --git a/recipes/xfce-base/xfdesktop/fix-segfault-when-removable-icons-are-disabled.patch b/recipes/xfce-base/xfdesktop/fix-segfault-when-removable-icons-are-disabled.patch new file mode 100644 index 0000000000..af5bc4cd96 --- /dev/null +++ b/recipes/xfce-base/xfdesktop/fix-segfault-when-removable-icons-are-disabled.patch @@ -0,0 +1,16 @@ +diff -Nur xfdesktop-4.4.2-BKP/src/xfdesktop-file-icon-manager.c xfdesktop-4.4.2/src/xfdesktop-file-icon-manager.c +--- xfdesktop-4.4.2-BKP/src/xfdesktop-file-icon-manager.c 2008-11-03 16:19:46.000000000 -0200 ++++ xfdesktop-4.4.2/src/xfdesktop-file-icon-manager.c 2008-11-03 16:20:45.000000000 -0200 +@@ -2046,8 +2046,10 @@ + + g_hash_table_foreach(fmanager->priv->icons, + file_icon_hash_write_icons, rcfile); +- g_hash_table_foreach(fmanager->priv->removable_icons, +- file_icon_hash_write_icons, rcfile); ++ if(fmanager->priv->show_removable_media) { ++ g_hash_table_foreach(fmanager->priv->removable_icons, ++ file_icon_hash_write_icons, rcfile); ++ } + g_hash_table_foreach(fmanager->priv->special_icons, + file_icon_hash_write_icons, rcfile); + -- cgit v1.2.3