Source

lxde-overlay / lxde-base / lxpanel / files / lxpanel-iconext.patch

diff -p -up lxpanel-0.3.8.1/src/plugins/ptk-app-menu.c.iconext lxpanel-0.3.8.1/src/plugins/ptk-app-menu.c
--- lxpanel-0.3.8.1/src/plugins/ptk-app-menu.c.iconext	2008-10-16 12:37:19.000000000 +0200
+++ lxpanel-0.3.8.1/src/plugins/ptk-app-menu.c	2008-10-16 12:49:08.000000000 +0200
@@ -460,12 +460,6 @@ static void do_load_dir( int prefix_len,
                                           "size-request",
                       G_CALLBACK(on_menu_item_size_request), data );
                         icon = g_strdup( g_key_file_get_string( file, desktop_ent, "Icon", NULL) );
-                        if( icon )
-                        {
-                            char* dot = strchr( icon, '.' );
-                            if( icon[0] !='/' && dot )
-                                *dot = '\0';
-                        }
                         data->icon = icon;
                         if( !prev )
                         {