SF.net SVN: geany: [638] trunk

ntrel at users.sourceforge.net ntrel at xxxxx
Wed Jul 26 14:29:38 UTC 2006


Revision: 638
Author:   ntrel
Date:     2006-07-26 07:29:30 -0700 (Wed, 26 Jul 2006)
ViewCVS:  http://svn.sourceforge.net/geany/?rev=638&view=rev

Log Message:
-----------
Disable the Compiler tab instead of hiding it so that messages window tabs have the right index on switching

Modified Paths:
--------------
    trunk/ChangeLog
    trunk/src/main.c
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog	2006-07-26 14:28:49 UTC (rev 637)
+++ trunk/ChangeLog	2006-07-26 14:29:30 UTC (rev 638)
@@ -1,3 +1,14 @@
+2006-07-26  Nick Treleaven  <nick.treleaven at btinternet.com>
+
+ * src/win32.c: Don't add .c extension for All files filter.
+                Only set open tool dialog path if it exists.
+ * src/keybindings.c: Use CTRL-SHIFT-space for Windows show calltips.
+ * src/prefs.c: Never show compile & run toolbuttons on Windows and
+                hide the prefs option to show them.
+ * src/main.c: Disable the Compiler tab instead of hiding it so that
+               messages window tabs have the right index on switching.
+
+
 2006-07-25  Enrico Tröger  <enrico.troeger at uvena.de>
 
  * src/encodings.c, src/document.c, src/keyfile.c, src/main.c:

Modified: trunk/src/main.c
===================================================================
--- trunk/src/main.c	2006-07-26 14:28:49 UTC (rev 637)
+++ trunk/src/main.c	2006-07-26 14:29:30 UTC (rev 638)
@@ -615,7 +615,12 @@
 	gtk_widget_hide(app->compile_button);
 	gtk_widget_hide(app->run_button);
 	gtk_widget_hide(lookup_widget(app->window, "separatortoolitem6"));
-	gtk_notebook_remove_page(GTK_NOTEBOOK(msgwindow.notebook), MSG_COMPILER);
+	{
+		GtkWidget *compiler_tab;
+		compiler_tab = gtk_notebook_get_tab_label(GTK_NOTEBOOK(msgwindow.notebook),
+			gtk_notebook_get_nth_page(GTK_NOTEBOOK(msgwindow.notebook), MSG_COMPILER));
+		gtk_widget_set_sensitive(compiler_tab, FALSE);
+	}
 #endif
 
 	// finally realize the window to show the user what we have done


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Commits mailing list