@@ -100,14 +100,16 @@ public Result CreateNotebookResult(IOneNoteExtNotebook notebook, List<int> highl
100
100
} ,
101
101
} ;
102
102
}
103
+
104
+
103
105
public Result CreateNewPageResult ( IOneNoteSection section , IOneNoteNotebook notebook , string pageTitle )
104
106
{
105
107
pageTitle = pageTitle . Trim ( ) ;
106
108
return new Result
107
109
{
108
110
Title = $ "Create page: \" { pageTitle } \" ",
109
111
SubTitle = $ "Path: { GetNicePath ( section , notebook , true ) } ",
110
- // IcoPath = Constants.LogoIconPath ,
112
+ IcoPath = Icons . NewPage ,
111
113
Action = c =>
112
114
{
113
115
ScipBeExtensions . CreateAndOpenPage ( LastSelectedSection , pageTitle ) ;
@@ -125,6 +127,7 @@ public Result CreateNewSectionResult(IOneNoteNotebook notebook, string sectionTi
125
127
{
126
128
Title = $ "Create section: \" { sectionTitle } \" ",
127
129
SubTitle = $ "Path: { notebook . Name } ",
130
+ IcoPath = Icons . NewSection ,
128
131
Action = c =>
129
132
{
130
133
ScipBeExtensions . CreateAndOpenSection ( LastSelectedNotebook , sectionTitle ) ;
@@ -144,7 +147,7 @@ public Result CreateNewNotebookResult(string notebookTitle)
144
147
Title = $ "Create notebook: \" { notebookTitle } \" ",
145
148
//TitleHighlightData = context.API.FuzzySearch(notebookTitle,title).MatchData,
146
149
SubTitle = $ "Location: { ScipBeExtensions . GetDefaultNotebookLocation ( ) } ",
147
- // IcoPath =
150
+ IcoPath = Icons . NewNotebook ,
148
151
Action = c =>
149
152
{
150
153
ScipBeExtensions . CreateAndOpenNotebook ( context , notebookTitle ) ;
0 commit comments