mirror of
				https://github.com/chibicitiberiu/rainmeter-studio.git
				synced 2024-02-24 04:33:31 +00:00 
			
		
		
		
	Work on document manager
This commit is contained in:
		@@ -64,7 +64,8 @@ namespace RainmeterStudio.UI.Dialogs
 | 
			
		||||
 | 
			
		||||
        private void PopulateFormats()
 | 
			
		||||
        {
 | 
			
		||||
            listFormats.ItemsSource = DocumentManager.Instance.DocumentFormats;
 | 
			
		||||
            //listFormats.ItemsSource = DocumentManager.Instance.DocumentFormats;
 | 
			
		||||
 | 
			
		||||
            CollectionView view = (CollectionView)CollectionViewSource.GetDefaultView(listFormats.ItemsSource);
 | 
			
		||||
            view.GroupDescriptions.Add(new PropertyGroupDescription("Category"));
 | 
			
		||||
        }
 | 
			
		||||
 
 | 
			
		||||
@@ -2,7 +2,6 @@
 | 
			
		||||
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
 | 
			
		||||
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
 | 
			
		||||
        xmlns:r="clr-namespace:RainmeterStudio.Resources"
 | 
			
		||||
        xmlns:toremove="clr-namespace:RainmeterStudio.Model"
 | 
			
		||||
        Title="{x:Static r:Strings.ProjectCreateDialog_Title}" Height="320" Width="480"
 | 
			
		||||
        WindowStartupLocation="CenterOwner"
 | 
			
		||||
        WindowStyle="ToolWindow" ShowInTaskbar="False">
 | 
			
		||||
@@ -16,10 +15,6 @@
 | 
			
		||||
 | 
			
		||||
        <ListView Name="listTemplates" Grid.Row="0" SelectedIndex="0"
 | 
			
		||||
                  IsEnabled="False">
 | 
			
		||||
            <!-- TODO: remove -->
 | 
			
		||||
            <toremove:DocumentTemplate Name="Empty project" 
 | 
			
		||||
                                       Description="Create a new empty project" >
 | 
			
		||||
            </toremove:DocumentTemplate>
 | 
			
		||||
            
 | 
			
		||||
            <ListView.ItemTemplate>
 | 
			
		||||
                <DataTemplate>
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user