Author: aolk
Date: 2006-01-13 14:43:42 -0500 (Fri, 13 Jan 2006)
New Revision: 55540

Modified:
   trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
   trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/MimeIcon.cs
Log:
2006-01-13  Alexander Olk  <[EMAIL PROTECTED]>

        * MimeIcon.cs: GnomeHandler: older gnome versions don't have
          ~/.gconf/%gconf-tree.xml, so use
          .gconf/desktop/gnome/interface/%gconf.xml



Modified: trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog        
2006-01-13 19:18:00 UTC (rev 55539)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog        
2006-01-13 19:43:42 UTC (rev 55540)
@@ -1,3 +1,9 @@
+2006-01-13  Alexander Olk  <[EMAIL PROTECTED]>
+
+       * MimeIcon.cs: GnomeHandler: older gnome versions don't have
+         ~/.gconf/%gconf-tree.xml, so use
+         .gconf/desktop/gnome/interface/%gconf.xml
+
 2006-01-13  Peter Dennis Bartok  <[EMAIL PROTECTED]> 
 
        * TreeView.cs: Draw the focus rectangle outside the highlight, to

Modified: trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/MimeIcon.cs
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/MimeIcon.cs      
2006-01-13 19:18:00 UTC (rev 55539)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/MimeIcon.cs      
2006-01-13 19:43:42 UTC (rev 55540)
@@ -692,6 +692,11 @@
                {
                        icon_theme = String.Empty;
                        
+                       if (!File.Exists (full_gnome_gconf_tree))
+                               full_gnome_gconf_tree = 
Environment.GetFolderPath( Environment.SpecialFolder.Personal )
+                                       + "/"
+                                       + 
".gconf/desktop/gnome/interface/%gconf.xml";
+                       
                        GetIconThemeFromGConf ();
                        
                        if (!GetIconPaths ())

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to