@@ -1221,19 +1221,15 @@ private static List<Result> GetHistoryItems(IEnumerable<HistoryItem> historyItem
12211221 {
12221222 Title = string . Format ( title , h . Query ) ,
12231223 SubTitle = string . Format ( time , h . ExecutedDateTime ) ,
1224- IcoPath = "Images\\ history.png" ,
1225- Preview = new Result . PreviewInfo
1226- {
1227- PreviewImagePath = Constant . HistoryIcon ,
1228- Description = string . Format ( time , h . ExecutedDateTime )
1229- } ,
1224+ IcoPath = Constant . HistoryIcon ,
12301225 OriginQuery = new Query { RawQuery = h . Query } ,
12311226 Action = _ =>
12321227 {
12331228 App . API . BackToQueryResults ( ) ;
12341229 App . API . ChangeQuery ( h . Query ) ;
12351230 return false ;
1236- }
1231+ } ,
1232+ Glyph = new GlyphInfo ( FontFamily : "/Resources/#Segoe Fluent Icons" , Glyph : "\uE81C " )
12371233 } ;
12381234 results . Add ( result ) ;
12391235 }
@@ -1579,7 +1575,8 @@ private Result ContextMenuTopMost(Result result)
15791575 App . API . ShowMsg ( App . API . GetTranslation ( "success" ) ) ;
15801576 App . API . ReQuery ( ) ;
15811577 return false ;
1582- }
1578+ } ,
1579+ Glyph = new GlyphInfo ( FontFamily : "/Resources/#Segoe Fluent Icons" , Glyph : "\uE74B " )
15831580 } ;
15841581 }
15851582 else
@@ -1588,15 +1585,15 @@ private Result ContextMenuTopMost(Result result)
15881585 {
15891586 Title = App . API . GetTranslation ( "setAsTopMostInThisQuery" ) ,
15901587 IcoPath = "Images\\ up.png" ,
1591- Glyph = new GlyphInfo ( FontFamily : "/Resources/#Segoe Fluent Icons" , Glyph : "\xeac2 " ) ,
15921588 PluginDirectory = Constant . ProgramDirectory ,
15931589 Action = _ =>
15941590 {
15951591 _topMostRecord . AddOrUpdate ( result ) ;
15961592 App . API . ShowMsg ( App . API . GetTranslation ( "success" ) ) ;
15971593 App . API . ReQuery ( ) ;
15981594 return false ;
1599- }
1595+ } ,
1596+ Glyph = new GlyphInfo ( FontFamily : "/Resources/#Segoe Fluent Icons" , Glyph : "\uE74A " )
16001597 } ;
16011598 }
16021599
0 commit comments