[mono/monodevelop] e1fe801b: Revert "Fixed 'Bug 15435 - Printing problem'."
| Newsgroups | gmane.comp.gnome.mono.patches |
|---|---|
| Message-ID | <00000141e9595cee-a0362481-0110-4f68-b1db-c6842cbd5747-000000@email.amazonses.com> |
Branch: refs/heads/master
Home: https://github.com/mono/monodevelop
Compare: https://github.com/mono/monodevelop/compare/3ceed28b8a85...e1fe801bca73
Commit: e1fe801bca73e16702daedc1b39158d4962b08c3
Author: Mike Krüger <[email protected]> (mkrueger)
Date: 2013-10-24 07:22:23 GMT
URL: https://github.com/mono/monodevelop/commit/e1fe801bca73e16702daedc1b39158d4962b08c3
Revert "Fixed 'Bug 15435 - Printing problem'."
This reverts commit 3ceed28b8a851e2d194e7b86aa249da45b18d150.
Changed paths:
M main/src/core/MonoDevelop.Ide/ExtensionModel/MainMenu.addin.xml
M main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Commands/FileCommands.cs
Modified: main/src/core/MonoDevelop.Ide/ExtensionModel/MainMenu.addin.xml
===================================================================
@@ -24,12 +24,10 @@
<CommandItem id = "MonoDevelop.Ide.Commands.FileCommands.SaveAs" />
<CommandItem id = "MonoDevelop.Ide.Commands.FileCommands.SaveAll" />
<CommandItem id = "MonoDevelop.Ide.Commands.FileCommands.ReloadFile" />
- <Condition id="Platform" value="!windows">
- <SeparatorItem id = "SaveSeparator" />
- <CommandItem id = "MonoDevelop.Ide.Commands.FileCommands.PrintPageSetup" />
- <CommandItem id = "MonoDevelop.Ide.Commands.FileCommands.PrintPreviewDocument" />
- <CommandItem id = "MonoDevelop.Ide.Commands.FileCommands.PrintDocument" />
- </Condition>
+ <SeparatorItem id = "SaveSeparator" />
+ <CommandItem id = "MonoDevelop.Ide.Commands.FileCommands.PrintPageSetup" />
+ <CommandItem id = "MonoDevelop.Ide.Commands.FileCommands.PrintPreviewDocument" />
+ <CommandItem id = "MonoDevelop.Ide.Commands.FileCommands.PrintDocument" />
<SeparatorItem id = "RecentSeparator" />
<ItemSet id = "RecentFiles" _label = "Recent _Files">
<CommandItem id = "MonoDevelop.Ide.Commands.FileCommands.RecentFileList" />
Modified: main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Commands/FileCommands.cs
===================================================================
@@ -217,9 +217,6 @@ protected override void Update (CommandInfo info)
internal static bool CanPrint ()
{
- if (Platform.IsWindows)
- return false;
-
IPrintable print;
return IdeApp.Workbench.ActiveDocument != null
&& (print = IdeApp.Workbench.ActiveDocument.GetContent<IPrintable> ()) != null
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches