diff options
author | Lluis Sanchez <lluis@xamarin.com> | 2014-11-20 17:46:09 +0300 |
---|---|---|
committer | Lluis Sanchez <lluis@xamarin.com> | 2014-11-20 17:46:09 +0300 |
commit | d4e33a5f104ecdbe093d0cfa239944bc47acebb2 (patch) | |
tree | b0aa2d865c6b5404404fd043c878bb3f684cfb58 /main/src/addins/MonoDevelop.Autotools | |
parent | c9fef85044c3b6d92b2a07250f16f288caec995c (diff) |
Remove all calls to ShowException
We use ShowError instead.
Diffstat (limited to 'main/src/addins/MonoDevelop.Autotools')
-rw-r--r-- | main/src/addins/MonoDevelop.Autotools/MakefileOptionPanelWidget.cs | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/main/src/addins/MonoDevelop.Autotools/MakefileOptionPanelWidget.cs b/main/src/addins/MonoDevelop.Autotools/MakefileOptionPanelWidget.cs index c003789327..58a156eaef 100644 --- a/main/src/addins/MonoDevelop.Autotools/MakefileOptionPanelWidget.cs +++ b/main/src/addins/MonoDevelop.Autotools/MakefileOptionPanelWidget.cs @@ -216,7 +216,7 @@ namespace MonoDevelop.Autotools ShowMakefileNotFoundError (e); return false; } catch (Exception e) { - MessageService.ShowException (parentDialog, e, GettextCatalog.GetString ("Specified makefile is invalid: {0}", tmpData.AbsoluteMakefileName)); + MessageService.ShowError (parentDialog, GettextCatalog.GetString ("Specified makefile is invalid: {0}", tmpData.AbsoluteMakefileName), null, e); return false; } @@ -744,8 +744,7 @@ namespace MonoDevelop.Autotools ShowMakefileNotFoundError (e); } catch (Exception e) { if (showError) - MessageService.ShowException (parentDialog,e, - GettextCatalog.GetString ("Error while trying to read the specified Makefile")); + MessageService.ShowError (parentDialog, GettextCatalog.GetString ("Error while trying to read the specified Makefile"), null, e); return null; } @@ -938,9 +937,7 @@ namespace MonoDevelop.Autotools void ShowMakefileNotFoundError (Exception e) { - MessageService.ShowException (parentDialog, - e, - GettextCatalog.GetString ("Unable to find the specified Makefile. You need to specify the path to an existing Makefile for use with the 'Makefile Integration' feature.")); + MessageService.ShowError (parentDialog, GettextCatalog.GetString ("Unable to find the specified Makefile. You need to specify the path to an existing Makefile for use with the 'Makefile Integration' feature.")); } // Returns true if either |