xfdesktop needs testing! - Here is the patch

Gregoire Gentil gregoire at gentil.com
Fri Aug 18 05:49:13 CEST 2006


Here is a proposed patch for this F5 bug. Perhaps you will have a better
implementation,

Gregoire





--- xfdesktop/src/xfdesktop-file-icon-manager.c	2006-08-17
23:42:24.000000000 -0400
+++ xfdesktop/src/xfdesktop-file-icon-manager.c	2006-08-17
23:41:08.000000000 -0400
@@ -2068,6 +2068,13 @@
                                             (GHRFunc)gtk_true, NULL);
             }
             
+	    if
(fmanager->priv->show_special[XFDESKTOP_SPECIAL_FILE_ICON_HOME])
+
xfdesktop_file_icon_manager_add_special_file_icon(fmanager,
XFDESKTOP_SPECIAL_FILE_ICON_HOME);
+	    if
(fmanager->priv->show_special[XFDESKTOP_SPECIAL_FILE_ICON_FILESYSTEM])
+
xfdesktop_file_icon_manager_add_special_file_icon(fmanager,
XFDESKTOP_SPECIAL_FILE_ICON_FILESYSTEM);
+	    if
(fmanager->priv->show_special[XFDESKTOP_SPECIAL_FILE_ICON_TRASH])
+
xfdesktop_file_icon_manager_add_special_file_icon(fmanager,
XFDESKTOP_SPECIAL_FILE_ICON_TRASH);
+
             if(fmanager->priv->show_removable_media)
 
xfdesktop_file_icon_manager_load_removable_media(fmanager);
             xfdesktop_file_icon_manager_load_desktop_folder(fmanager);






> -----Original Message-----
> From: Gregoire Gentil [mailto:gregoire at gentil.com] 
> Sent: Thursday, August 17, 2006 8:39 PM
> To: 'XFCE4 development list'
> Subject: RE: xfdesktop needs testing!
> 
> 
> Brian,
> 
> I think that I get a bug: If you press F5 on the desktop, the 
> special icons disappear. I had the same problem when I 
> developed my ugly patch and I had to recreate the special 
> icons when key press like F5 is handled. Do you want me to file a bug?
> 
> Gregoire
> 
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch-xfdesktop-F5
Type: application/octet-stream
Size: 1059 bytes
Desc: not available
URL: <http://mail.xfce.org/pipermail/xfce4-dev/attachments/20060817/f5377ac1/attachment.obj>


More information about the Xfce4-dev mailing list