@@ -93,7 +93,6 @@ namespace Scratch {
9393 public const string ACTION_REVERT = " action-revert" ;
9494 public const string ACTION_SAVE = " action-save" ;
9595 public const string ACTION_SAVE_AS = " action-save-as" ;
96- public const string ACTION_TEMPLATES = " action-templates" ;
9796 public const string ACTION_SHOW_REPLACE = " action-show-replace" ;
9897 public const string ACTION_TO_LOWER_CASE = " action-to-lower-case" ;
9998 public const string ACTION_TO_UPPER_CASE = " action-to-upper-case" ;
@@ -149,7 +148,6 @@ namespace Scratch {
149148 { ACTION_SAVE , action_save },
150149 { ACTION_SAVE_AS , action_save_as },
151150 { ACTION_TOGGLE_SHOW_FIND , action_toggle_show_find, null , " false" },
152- { ACTION_TEMPLATES , action_templates },
153151 { ACTION_GO_TO , action_go_to },
154152 { ACTION_SORT_LINES , action_sort_lines },
155153 { ACTION_NEW_TAB , action_new_tab },
@@ -342,10 +340,6 @@ namespace Scratch {
342340 // Show/Hide widgets
343341 show_all ();
344342
345- toolbar. templates_button. visible = (plugins. plugin_iface. template_manager. template_available);
346- plugins. plugin_iface. template_manager. notify[" template_available" ]. connect (() = > {
347- toolbar. templates_button. visible = (plugins. plugin_iface. template_manager. template_available);
348- });
349343
350344 // Create folder for unsaved documents
351345 create_unsaved_documents_directory ();
@@ -1371,9 +1365,6 @@ namespace Scratch {
13711365 toolbar. format_bar. line_menubutton. active = true ;
13721366 }
13731367
1374- private void action_templates () {
1375- plugins. plugin_iface. template_manager. show_window (this );
1376- }
13771368
13781369 private void action_to_lower_case () {
13791370 var doc = document_view. current_document;
0 commit comments