File tree Expand file tree Collapse file tree 5 files changed +29
-59
lines changed 
Plugins/Flow.Launcher.Plugin.BrowserBookmark Expand file tree Collapse file tree 5 files changed +29
-59
lines changed Original file line number Diff line number Diff line change 1- <Project  Sdk =" Microsoft.NET.Sdk"  >
1+ <Project  Sdk =" Microsoft.NET.Sdk"  >
22
33  <PropertyGroup >
44    <OutputType >Library</OutputType >
8484  </Target >
8585
8686  <ItemGroup >
87-     <None  Update =" plugin.json"  >
88-       <CopyToOutputDirectory >PreserveNewest</CopyToOutputDirectory >
89-     </None >
90-     <None  Update =" Languages\en.xaml"  >
91-       <CopyToOutputDirectory >PreserveNewest</CopyToOutputDirectory >
92-     </None >
93-     <None  Update =" Images\bookmark.png"  >
94-       <CopyToOutputDirectory >PreserveNewest</CopyToOutputDirectory >
95-     </None >
96-     <None  Update =" Images\copylink.png"  >
87+     <None  Include =" plugin.json"  >
9788      <CopyToOutputDirectory >PreserveNewest</CopyToOutputDirectory >
9889    </None >
9990  </ItemGroup >
100-    
91+ 
10192  <ItemGroup >
102-     <Content  Include =" Languages\*.xaml"  >
103-       <CopyToOutputDirectory >PreserveNewest</CopyToOutputDirectory >
104-     </Content >
93+     <ProjectReference  Include =" ..\..\Flow.Launcher.Plugin\Flow.Launcher.Plugin.csproj"   />
10594  </ItemGroup >
10695
10796  <ItemGroup >
108-     <ProjectReference  Include =" ..\..\Flow.Launcher.Plugin\Flow.Launcher.Plugin.csproj"   />
97+     <Content  Include =" Images\*.png"  >
98+       <CopyToOutputDirectory >PreserveNewest</CopyToOutputDirectory >
99+     </Content >
100+     <Content  Include =" Languages\*.xaml"  >
101+       <CopyToOutputDirectory >PreserveNewest</CopyToOutputDirectory >
102+     </Content >
109103  </ItemGroup >
110104
111105  <ItemGroup >
  Load Diff This file was deleted. 
Original file line number Diff line number Diff line change 1- using  Flow . Launcher . Plugin . BrowserBookmark . Models ; 
1+  using  Flow . Launcher . Plugin . BrowserBookmark . Models ; 
22using  Flow . Launcher . Plugin . BrowserBookmark . ViewModels ; 
33using  System . Windows ; 
4+ using  System . Windows . Input ; 
45using  KeyEventArgs  =  System . Windows . Input . KeyEventArgs ; 
56
67namespace  Flow . Launcher . Plugin . BrowserBookmark . Views ; 
78
8- /// <summary> 
9- /// Interaction logic for CustomBrowserSetting.xaml 
10- /// </summary> 
119public  partial  class  CustomBrowserSetting  :  Window 
1210{ 
1311    private  readonly  CustomBrowserSettingViewModel  _viewModel ; 
@@ -25,14 +23,14 @@ public CustomBrowserSetting(CustomBrowser browser)
2523
2624    private  void  WindowKeyDown ( object  sender ,  KeyEventArgs  e ) 
2725    { 
28-         if  ( e . Key  ==  System . Windows . Input . Key . Enter ) 
26+         if  ( e . Key  ==  Key . Enter ) 
2927        { 
3028            if  ( _viewModel . SaveCommand . CanExecute ( null ) ) 
3129            { 
3230                _viewModel . SaveCommand . Execute ( null ) ; 
3331            } 
3432        } 
35-         else  if  ( e . Key  ==  System . Windows . Input . Key . Escape ) 
33+         else  if  ( e . Key  ==  Key . Escape ) 
3634        { 
3735            _viewModel . CancelCommand . Execute ( null ) ; 
3836        } 
Original file line number Diff line number Diff line change 1414            <RowDefinition  Height =" Auto"   />
1515            <RowDefinition  Height =" Auto"   />
1616        </Grid .RowDefinitions>
17-         <StackPanel 
17+         <WrapPanel 
1818            Grid.Row=" 0" 
1919            Margin =" {StaticResource SettingPanelItemTopBottomMargin}" 
2020            Orientation =" Horizontal"  >
4242                Margin =" {StaticResource SettingPanelItemRightMargin}" 
4343                Click =" Others_Click" 
4444                Content =" {DynamicResource flowlauncher_plugin_browserbookmark_others}"   />
45-         </StackPanel >
45+         </WrapPanel >
4646        <StackPanel 
4747            Name =" CustomBrowsersList" 
4848            Grid.Row=" 1" 
5959                Style =" {StaticResource {x:Static GridView.GridViewStyleKey}}"  >
6060                <ListView .View>
6161                    <GridView >
62-                         <GridViewColumn  DisplayMemberBinding =" {Binding Name, Mode=OneWay}" 
63-                             Header =" {DynamicResource flowlauncher_plugin_browserbookmark_browserName}"   />
64-                         <GridViewColumn 
65-                             DisplayMemberBinding =" {Binding DataDirectoryPath, Mode=OneWay}" 
66-                             Header =" {DynamicResource flowlauncher_plugin_browserbookmark_browserBookmarkDataDirectory}"   />
62+                         <GridViewColumn  DisplayMemberBinding =" {Binding Name, Mode=OneWay}"   Header =" {DynamicResource flowlauncher_plugin_browserbookmark_browserName}"   />
63+                         <GridViewColumn  DisplayMemberBinding =" {Binding DataDirectoryPath, Mode=OneWay}"   Header =" {DynamicResource flowlauncher_plugin_browserbookmark_browserBookmarkDataDirectory}"   />
6764                    </GridView >
6865                </ListView .View>
6966            </ListView >
8481                        <Style  BasedOn =" {StaticResource DefaultButtonStyle}"   TargetType =" Button"  >
8582                            <Setter  Property =" IsEnabled"   Value =" true"   />
8683                            <Style .Triggers>
87-                                 <DataTrigger 
88-                                     Binding =" {Binding ElementName=CustomBrowsers, Path=SelectedItems.Count}" 
89-                                     Value =" 0"  >
84+                                 <DataTrigger  Binding =" {Binding ElementName=CustomBrowsers, Path=SelectedItems.Count}"   Value =" 0"  >
9085                                    <Setter  Property =" IsEnabled"   Value =" false"   />
9186                                </DataTrigger >
9287                            </Style .Triggers>
Original file line number Diff line number Diff line change 11{
2-     "ID" : " 0ECADE17459B49F587BF81DC3A125110"  ,
3-     "ActionKeyword" : " b"  ,
4-     "Name" : " Browser Bookmarks"  ,
5-     "Description" : " Search your browser bookmarks, optionally retrieve missing favicons from the web."  ,
6-     "Author" : " dcog989"  ,
7-     "Version" : " 1.0.0"  ,
8-     "Language" : " csharp"  ,
9-     "Website" : " https://github.com/Flow-Launcher/Flow.Launcher"  ,
10-     "ExecuteFileName" : " Flow.Launcher.Plugin.BrowserBookmark.dll"  ,
11-     "IcoPath" : " Images\\ bookmark.png"  ,
12-     "Languages" : " Languages" 
2+   "ID" : " 0ECADE17459B49F587BF81DC3A125110"  ,
3+   "ActionKeyword" : " b"  ,
4+   "Name" : " Browser Bookmarks"  ,
5+   "Description" : " Search your browser bookmarks, optionally retrieve missing favicons from the web."  ,
6+   "Author" : " dcog989"  ,
7+   "Version" : " 1.0.0"  ,
8+   "Language" : " csharp"  ,
9+   "Website" : " https://github.com/Flow-Launcher/Flow.Launcher"  ,
10+   "ExecuteFileName" : " Flow.Launcher.Plugin.BrowserBookmark.dll"  ,
11+   "IcoPath" : " Images\\ bookmark.png" 
1312}
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments