mail-archives/monodevelop-patches-list/2004-March/000779.html

203 строки
8.9 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Monodevelop-patches-list] r1172 - in trunk/MonoDevelop: . src/Main/Base/Commands src/Main/Base/Gui/CompletionDatabaseWizard
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:monodevelop-patches-list%40lists.ximian.com?Subject=%5BMonodevelop-patches-list%5D%20r1172%20-%20in%20trunk/MonoDevelop%3A%20.%20src/Main/Base/Commands%20src/Main/Base/Gui/CompletionDatabaseWizard&In-Reply-To=">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="000778.html">
<LINK REL="Next" HREF="000780.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Monodevelop-patches-list] r1172 - in trunk/MonoDevelop: . src/Main/Base/Commands src/Main/Base/Gui/CompletionDatabaseWizard</H1>
<B>commit-watcher at mono-cvs.ximian.com</B>
<A HREF="mailto:monodevelop-patches-list%40lists.ximian.com?Subject=%5BMonodevelop-patches-list%5D%20r1172%20-%20in%20trunk/MonoDevelop%3A%20.%20src/Main/Base/Commands%20src/Main/Base/Gui/CompletionDatabaseWizard&In-Reply-To="
TITLE="[Monodevelop-patches-list] r1172 - in trunk/MonoDevelop: . src/Main/Base/Commands src/Main/Base/Gui/CompletionDatabaseWizard">commit-watcher at mono-cvs.ximian.com
</A><BR>
<I>Mon Mar 15 12:20:43 EST 2004</I>
<P><UL>
<LI>Previous message: <A HREF="000778.html">[Monodevelop-patches-list] r1171 - in trunk/MonoDevelop: . src/Main/Base/Gui/CompletionDatabaseWizard
</A></li>
<LI>Next message: <A HREF="000780.html">[Monodevelop-patches-list] r1173 - trunk/MonoDevelop
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#779">[ date ]</a>
<a href="thread.html#779">[ thread ]</a>
<a href="subject.html#779">[ subject ]</a>
<a href="author.html#779">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>Author: tberman
Date: 2004-03-15 12:20:43 -0500 (Mon, 15 Mar 2004)
New Revision: 1172
Modified:
trunk/MonoDevelop/ChangeLog
trunk/MonoDevelop/src/Main/Base/Commands/AutostartCommands.cs
trunk/MonoDevelop/src/Main/Base/Gui/CompletionDatabaseWizard/druid.cs
Log:
fix bug #55439
gui was being bad, and popping up when it shouldnt, now we behave properly.
Modified: trunk/MonoDevelop/ChangeLog
===================================================================
--- trunk/MonoDevelop/ChangeLog 2004-03-15 16:58:13 UTC (rev 1171)
+++ trunk/MonoDevelop/ChangeLog 2004-03-15 17:20:43 UTC (rev 1172)
@@ -1,7 +1,12 @@
2004-03-15 Todd Berman &lt;<A HREF="http://lists.ximian.com/mailman/listinfo/monodevelop-patches-list">tberman at sevenl.net</A>&gt;
* monodevelop.desktop: added some bugzilla info
- * src/Main/Base/Gui/CompletionDatabaseWizard: added some titles
+ * src/Main/Base/Gui/CompletionDatabaseWizard/druis.cs:
+ added some titles
+ fix cancel action.
+ * src/Main/Base/Commands/AutostartCommands.cs:
+ fix bug #55439, we now dont show the main gui when generating
+ the completion database.
2004-03-12 Gustavo Gir&#225;ldez &lt;<A HREF="http://lists.ximian.com/mailman/listinfo/monodevelop-patches-list">gustavo.giraldez at gmx.net</A>&gt;
@@ -97,7 +102,8 @@
2004-03-06 Martin Baulig &lt;<A HREF="http://lists.ximian.com/mailman/listinfo/monodevelop-patches-list">martin at ximian.com</A>&gt;
* configure.in: AC_SUBST(debugger_prefix).
- * src/Main/Base/Services/Makefile.am: Use full path name for Mono.Debugger.dll.
+ * src/Main/Base/Services/Makefile.am: Use full path name for
+ Mono.Debugger.dll.
* src/Main/Base/Gui/Workbench/DefaultWorkbench.cs: connect to the
debugger's StoppedEvent.
@@ -111,16 +117,18 @@
2004-03-05 John BouAntoun &lt;<A HREF="http://lists.ximian.com/mailman/listinfo/monodevelop-patches-list">jba-mono at optusnet.com.au</A>&gt;
- * src/Main/Base/Gui/Components/OpenFileTab.cs : deleted (duplicates TabLabel)
- * src/Main/Base/Commands/FileTabStripCommands.cs : deleted because OpenFileTab deleted
+ * src/Main/Base/Gui/Components/OpenFileTab.cs : deleted (duplicates
+ TabLabel)
+ * src/Main/Base/Commands/FileTabStripCommands.cs : deleted because
+ OpenFileTab deleted
* src/Main/Base/Makefile.am : removed file refs from compilation
* build/AddIns/SharpDevelopCore.addin: removed file refs from addins
2004-03-05 John BouAntoun &lt;<A HREF="http://lists.ximian.com/mailman/listinfo/monodevelop-patches-list">jba-mono at optusnet.com.au</A>&gt;
- * src/AddIns/DisplayBindings/SourceEditor/Gui/Dialogs/ReplaceDialog.cs :
- changed Gtk.Combo's to Gnome.Entry's to fix bug where MD would lock up with
- hidden &quot;Not Found&quot; Dialog popping up under the find dialog
+ * src/AddIns/DisplayBindings/SourceEditor/Gui/Dialogs/ReplaceDialog.cs :
+ changed Gtk.Combo's to Gnome.Entry's to fix bug where MD would lock up
+ with hidden &quot;Not Found&quot; Dialog popping up under the find dialog
* src/AddIns/DisplayBindings/SourceEditor/Gui/Dialogs/ReplaceInFilesDialog.cs:
as above
* data/resources/glade/texteditoraddin.glade : as above
@@ -138,10 +146,11 @@
2004-03-05 John BouAntoun &lt;<A HREF="http://lists.ximian.com/mailman/listinfo/monodevelop-patches-list">jba-mono at optusnet.com.au</A>&gt;
- * src/Main/Base/Gui/Dialogs/ProjectOptionsDialog.cs : added configuration
- renaming
- * src/Main/Base/Gui/Dialogs/TreeViewOptions.cs : made InitializeComponent
- virtual so ProjectOptionDialog could override (see above)
+ * src/Main/Base/Gui/Dialogs/ProjectOptionsDialog.cs : added
+ configuration renaming
+ * src/Main/Base/Gui/Dialogs/TreeViewOptions.cs : made
+ InitializeComponent virtual so ProjectOptionDialog could override (see
+ above)
2004-03-04 Mike Kestner &lt;<A HREF="http://lists.ximian.com/mailman/listinfo/monodevelop-patches-list">mkestner at ximian.com</A>&gt;
Modified: trunk/MonoDevelop/src/Main/Base/Commands/AutostartCommands.cs
===================================================================
--- trunk/MonoDevelop/src/Main/Base/Commands/AutostartCommands.cs 2004-03-15 16:58:13 UTC (rev 1171)
+++ trunk/MonoDevelop/src/Main/Base/Commands/AutostartCommands.cs 2004-03-15 17:20:43 UTC (rev 1172)
@@ -44,12 +44,16 @@
w.SetMemento((IXmlConvertable)propertyService.GetProperty(workbenchMemento, new WorkbenchMemento()));
w.UpdateViews(null, null);
WorkbenchSingleton.CreateWorkspace();
+ ((Gtk.Window)w).Visible = false;
}
}
public class StartCodeCompletionWizard : AbstractCommand
{
+
+ public static bool generatingCompletionData = false;
+
public override void Run()
{
PropertyService propertyService = (PropertyService)ServiceManager.Services.GetService(typeof(PropertyService));
@@ -58,6 +62,7 @@
//Console.WriteLine(&quot;checking for existence of {0}&quot;, codeCompletionProxyFile);
if (!File.Exists (codeCompletionProxyFile)) {
+ generatingCompletionData = true;
RunWizard();
DefaultParserService parserService = (DefaultParserService)ServiceManager.Services.GetService(typeof(IParserService));
parserService.LoadProxyDataFile();
@@ -140,6 +145,12 @@
public override void Run()
{
+
+ if (StartCodeCompletionWizard.generatingCompletionData) {
+ Gtk.Application.Run ();
+ return;
+ }
+
ReflectionClass reflectionClass = new ReflectionClass(typeof(object), null);
// register string tag provider (TODO: move to add-in tree :)
@@ -189,6 +200,7 @@
}
((Gtk.Window)WorkbenchSingleton.Workbench).ShowAll ();
+ ((Gtk.Window)WorkbenchSingleton.Workbench).Visible = true;
WorkbenchSingleton.Workbench.RedrawAllComponents ();
// Give Gtk time to display the workbench window before showing the TOTD.
Modified: trunk/MonoDevelop/src/Main/Base/Gui/CompletionDatabaseWizard/druid.cs
===================================================================
--- trunk/MonoDevelop/src/Main/Base/Gui/CompletionDatabaseWizard/druid.cs 2004-03-15 16:58:13 UTC (rev 1171)
+++ trunk/MonoDevelop/src/Main/Base/Gui/CompletionDatabaseWizard/druid.cs 2004-03-15 17:20:43 UTC (rev 1172)
@@ -191,6 +191,7 @@
if (really) {
this.Destroy();
this.Canceled(this);
+ ((Gtk.Window)WorkbenchSingleton.Workbench).Visible = true;
}
}
}
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="000778.html">[Monodevelop-patches-list] r1171 - in trunk/MonoDevelop: . src/Main/Base/Gui/CompletionDatabaseWizard
</A></li>
<LI>Next message: <A HREF="000780.html">[Monodevelop-patches-list] r1173 - trunk/MonoDevelop
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#779">[ date ]</a>
<a href="thread.html#779">[ thread ]</a>
<a href="subject.html#779">[ subject ]</a>
<a href="author.html#779">[ author ]</a>
</LI>
</UL>
<hr>
<a href="http://lists.ximian.com/mailman/listinfo/monodevelop-patches-list">More information about the Monodevelop-patches-list
mailing list</a><br>
</body></html>