Ignore:
Timestamp:
Aug 12, 2011, 4:32:33 PM (13 years ago)
Author:
bayral
Message:

root category handled

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/PiwigoLib/PiwigoWpf/App.xaml.cs

    r11911 r11935  
    33using Com.Piwigo.Lib.IService;
    44using Com.Piwigo.Wpf.DTO;
     5using Com.Piwigo.Wpf.DTO.Helper;
    56
    67namespace Com.Piwigo.Wpf
     
    1516        {
    1617
     18            PwgModelManager.WPF_SynchronizationContext = System.Threading.SynchronizationContext.Current;
     19
    1720            PwgServiceProvider.Instance.PwgSetupService.Setup( "Com.Piwigo.Wpf.PiwigoWPF", null, null);
    1821
    1922             // Model object was created in the app.xaml, so we have to link to them
    2023            PwgModelManager.Instance.Session = (PwgSessionWPF)(this.Resources["Session"] as ObjectDataProvider).Data;
    21             PwgModelManager.Instance.CategoryList = (PwgCategoryListWPF)(this.Resources["Categories"] as ObjectDataProvider).Data;
     24            PwgModelManager.Instance.CategoryList = (PwgRootCategoryListWPF)(this.Resources["Categories"] as ObjectDataProvider).Data;
    2225            PwgModelManager.Instance.ImageList = (PwgImageListWPF)(this.Resources["Images"] as ObjectDataProvider).Data;
     26            //PwgCategoryListWPFHelper.InitRootCategory();
    2327
    2428            PwgModelManager.Instance.Session.ServeurName = global::Com.Piwigo.Wpf.Properties.Settings.Default.ServerNameData;
Note: See TracChangeset for help on using the changeset viewer.