Revision: 929 http://svn.sourceforge.net/geany/?rev=929&view=rev Author: eht16 Date: 2006-10-24 16:50:50 -0700 (Tue, 24 Oct 2006)
Log Message: ----------- Removed unneeded macro GEANY_MAX_TAGS_COUNT. Moved macro GEANY_USE_WIN32_DIALOG to geany.h.
Modified Paths: -------------- trunk/ChangeLog trunk/src/dialogs.c trunk/src/geany.h trunk/win32-config.h
Modified: trunk/ChangeLog =================================================================== --- trunk/ChangeLog 2006-10-24 19:46:46 UTC (rev 928) +++ trunk/ChangeLog 2006-10-24 23:50:50 UTC (rev 929) @@ -4,6 +4,9 @@ * win32-config.h, src/dialogs.c: Use GTK's file open dialog also under Windows to have the extended options(kept old dialog code for optional use). + * win32-config.h, src/dialogs.c, src/geany.h: + Removed unneeded macro GEANY_MAX_TAGS_COUNT. + Moved macro GEANY_USE_WIN32_DIALOG to geany.h.
2006-10-24 Nick Treleaven nick.treleaven@btinternet.com
Modified: trunk/src/dialogs.c =================================================================== --- trunk/src/dialogs.c 2006-10-24 19:46:46 UTC (rev 928) +++ trunk/src/dialogs.c 2006-10-24 23:50:50 UTC (rev 929) @@ -48,7 +48,7 @@ #include "encodings.h"
-#ifndef USE_WIN32_DIALOG +#if ! GEANY_USE_WIN32_DIALOG static GtkWidget *add_file_open_extra_widget(); #endif
@@ -56,7 +56,7 @@ /* This shows the file selection dialog to open a file. */ void dialogs_show_open_file () { -#ifdef USE_WIN32_DIALOG +#if GEANY_USE_WIN32_DIALOG win32_show_file_dialog(TRUE); #else /* X11, not win32: use GTK_FILE_CHOOSER */ gchar *initdir;
Modified: trunk/src/geany.h =================================================================== --- trunk/src/geany.h 2006-10-24 19:46:46 UTC (rev 928) +++ trunk/src/geany.h 2006-10-24 23:50:50 UTC (rev 929) @@ -38,7 +38,7 @@ #define GEANY_FILEDEFS_SUBDIR "filedefs" #define GEANY_CODENAME "Kintaro" #define GEANY_HOMEPAGE "http://geany.uvena.de/" -#define GEANY_MAX_TAGS_COUNT 1000 +#define GEANY_USE_WIN32_DIALOG 0 #define GEANY_CHECK_FILE_DELAY 30 #define GEANY_WORDCHARS "_#&abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789\" #define GEANY_MAX_WORD_LENGTH 192
Modified: trunk/win32-config.h =================================================================== --- trunk/win32-config.h 2006-10-24 19:46:46 UTC (rev 928) +++ trunk/win32-config.h 2006-10-24 23:50:50 UTC (rev 929) @@ -324,5 +324,3 @@ /* Define if you want to detect a running instance */ #define HAVE_SOCKET 1
-/* #define USE_WIN32_DIALOG 1 */ -
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.