Ignore:
Timestamp:
Jan 16, 2007, 8:32:50 PM (19 years ago)
Author:
cinc
Message:

Improvements to folders

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/desktop/class_c/wpdatafile.c

    r176 r194  
    5656/* wpdatafile.ih includes some WPObject stuff and that needs these
    5757   includes. */
    58 #include "nomfolderwindow.h"
    59 
     58#include "wpfolderwindow.h"
     59#include "wpnotebook.h"
     60#include "wpfolder.h"
    6061#include "wpdatafile.ih"
    6162
     
    9495  }
    9596#warning !!!!! Dont create an icon for each object !!!!!
    96   return gdk_pixbuf_new_from_file (gchrIconName, &error);
     97  if(ptrIcon)
     98    return ptrIcon;
     99  else
     100    return gdk_pixbuf_new_from_file (gchrIconName, &error);
    97101
    98102#if 0
Note: See TracChangeset for help on using the changeset viewer.