Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 287709 | Differences between
and this patch

Collapse All | Expand All

(-)glocalfileinfo.c_orig (-1 / +4 lines)
Lines 1588-1594 Link Here
1588
	  if (_g_file_attribute_matcher_matches_id (attribute_matcher,
1588
	  if (_g_file_attribute_matcher_matches_id (attribute_matcher,
1589
						    G_FILE_ATTRIBUTE_ID_STANDARD_ICON))
1589
						    G_FILE_ATTRIBUTE_ID_STANDARD_ICON))
1590
	    {
1590
	    {
1591
	      GIcon *icon;
1591
	      GIcon *icon = 0;
1592
1592
1593
              if (strcmp (path, g_get_home_dir ()) == 0)
1593
              if (strcmp (path, g_get_home_dir ()) == 0)
1594
                icon = g_themed_icon_new ("user-home");
1594
                icon = g_themed_icon_new ("user-home");
Lines 1610-1616 Link Here
1610
                icon = g_themed_icon_new_with_default_fallbacks ("folder-videos");
1610
                icon = g_themed_icon_new_with_default_fallbacks ("folder-videos");
1611
              else
1611
              else
1612
                {
1612
                {
1613
#ifdef NO_DMS
1613
                  icon = g_content_type_get_icon (content_type);
1614
                  icon = g_content_type_get_icon (content_type);
1615
1614
                  if (G_IS_THEMED_ICON (icon))
1616
                  if (G_IS_THEMED_ICON (icon))
1615
                    {
1617
                    {
1616
                      const char *type_icon = NULL;
1618
                      const char *type_icon = NULL;
Lines 1620-1625 Link Here
1620
                      if (type_icon)
1622
                      if (type_icon)
1621
                        g_themed_icon_append_name (G_THEMED_ICON (icon), type_icon);
1623
                        g_themed_icon_append_name (G_THEMED_ICON (icon), type_icon);
1622
                    }
1624
                    }
1625
#endif    
1623
                }
1626
                }
1624
1627
1625
              if (icon != NULL)
1628
              if (icon != NULL)

Return to bug 287709