@@ -1221,19 +1221,15 @@ private static List<Result> GetHistoryItems(IEnumerable<HistoryItem> historyItem
1221
1221
{
1222
1222
Title = string . Format ( title , h . Query ) ,
1223
1223
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 ,
1230
1225
OriginQuery = new Query { RawQuery = h . Query } ,
1231
1226
Action = _ =>
1232
1227
{
1233
1228
App . API . BackToQueryResults ( ) ;
1234
1229
App . API . ChangeQuery ( h . Query ) ;
1235
1230
return false ;
1236
- }
1231
+ } ,
1232
+ Glyph = new GlyphInfo ( FontFamily : "/Resources/#Segoe Fluent Icons" , Glyph : "\uE81C " )
1237
1233
} ;
1238
1234
results . Add ( result ) ;
1239
1235
}
@@ -1579,7 +1575,8 @@ private Result ContextMenuTopMost(Result result)
1579
1575
App . API . ShowMsg ( App . API . GetTranslation ( "success" ) ) ;
1580
1576
App . API . ReQuery ( ) ;
1581
1577
return false ;
1582
- }
1578
+ } ,
1579
+ Glyph = new GlyphInfo ( FontFamily : "/Resources/#Segoe Fluent Icons" , Glyph : "\uE74B " )
1583
1580
} ;
1584
1581
}
1585
1582
else
@@ -1588,15 +1585,15 @@ private Result ContextMenuTopMost(Result result)
1588
1585
{
1589
1586
Title = App . API . GetTranslation ( "setAsTopMostInThisQuery" ) ,
1590
1587
IcoPath = "Images\\ up.png" ,
1591
- Glyph = new GlyphInfo ( FontFamily : "/Resources/#Segoe Fluent Icons" , Glyph : "\xeac2 " ) ,
1592
1588
PluginDirectory = Constant . ProgramDirectory ,
1593
1589
Action = _ =>
1594
1590
{
1595
1591
_topMostRecord . AddOrUpdate ( result ) ;
1596
1592
App . API . ShowMsg ( App . API . GetTranslation ( "success" ) ) ;
1597
1593
App . API . ReQuery ( ) ;
1598
1594
return false ;
1599
- }
1595
+ } ,
1596
+ Glyph = new GlyphInfo ( FontFamily : "/Resources/#Segoe Fluent Icons" , Glyph : "\uE74A " )
1600
1597
} ;
1601
1598
}
1602
1599
0 commit comments