Ignore:
Timestamp:
Oct 11, 2008, 11:56:21 PM (15 years ago)
Author:
Sam Hocevar
Message:

ThePimp?: make image loading more robust.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libpipi/trunk/ThePimp/OpenFile.cs

    r2872 r2926  
    2424            this.Build();
    2525        }
    26        
    27         public Pipi.Picture Load()
     26
     27        public string GetChoice()
    2828        {
    2929            ResponseType rsp = (ResponseType)Run();
     
    3131            if(rsp != ResponseType.Ok)
    3232                return null;
    33             Pipi.Picture p = new Pipi.Picture(filechooserwidget1.Filename);
    34             return p;
     33
     34            return filechooserwidget1.Filename;
    3535        }
    3636    }
Note: See TracChangeset for help on using the changeset viewer.