Hi!
I'm Michael from Vienna and am using Geany for several month (used SciTE
before).
Geany has a lot of features I like. One of the rare nuisances is the
"Find"-dialog-box that rejects to set "Case sensitive" by default. There is an
option in the Geany configuration file for this but it is ignored by Geany.
Today I took a look into the source code and found the reason why. The default
is loaded, but when the checkbox is created there is line of code missing to
actually *use* the default settings.
I'm using version 0.19 of Geany on Gentoo-Linux. Here is my patch:
--- src.orig/search.c 2010-05-11 12:10:31.000000000 +0000
+++ src/search.c 2010-11-27 14:36:06.189515685 +0000
@@ -273,6 +273,7 @@
g_object_set_data_full(G_OBJECT(dialog), "check_case",
g_object_ref(checkbox1),
(GDestroyNotify)g_object_unref);
gtk_button_set_focus_on_click(GTK_BUTTON(checkbox1), FALSE);
+ gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(checkbox1),
settings.fif_case_sensitive);
checkbox2 = gtk_check_button_new_with_mnemonic(_("Match only a _whole
word")); g_object_set_data_full(G_OBJECT(dialog), "check_word",
Greetings, Michael