SF.net SVN: geany: [1114] trunk
ntrel at users.sourceforge.net
ntrel at xxxxx
Mon Dec 18 11:56:47 UTC 2006
Revision: 1114
http://svn.sourceforge.net/geany/?rev=1114&view=rev
Author: ntrel
Date: 2006-12-18 03:56:46 -0800 (Mon, 18 Dec 2006)
Log Message:
-----------
Don't log simple error messages like 'No text to find'.
Modified Paths:
--------------
trunk/ChangeLog
trunk/src/callbacks.c
trunk/src/document.c
trunk/src/search.c
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2006-12-17 23:57:11 UTC (rev 1113)
+++ trunk/ChangeLog 2006-12-18 11:56:46 UTC (rev 1114)
@@ -1,3 +1,9 @@
+2006-12-18 Nick Treleaven <nick.treleaven at btinternet.com>
+
+ * src/callbacks.c, src/search.c, src/document.c:
+ Don't log simple error messages like 'No text to find'.
+
+
2006-12-17 Enrico Tröger <enrico.troeger at uvena.de>
* geany.glade, src/interface.c:
Modified: trunk/src/callbacks.c
===================================================================
--- trunk/src/callbacks.c 2006-12-17 23:57:11 UTC (rev 1113)
+++ trunk/src/callbacks.c 2006-12-18 11:56:46 UTC (rev 1114)
@@ -1228,9 +1228,9 @@
// if we are here, there was no match and we are beeping ;-)
utils_beep();
if (type == tm_tag_prototype_t)
- msgwin_status_add(_("Declaration of \"%s()\" not found"), editor_info.current_word);
+ ui_set_statusbar(_("Declaration of \"%s()\" not found"), editor_info.current_word);
else
- msgwin_status_add(_("Definition of \"%s()\" not found"), editor_info.current_word);
+ ui_set_statusbar(_("Definition of \"%s()\" not found"), editor_info.current_word);
}
@@ -1435,7 +1435,7 @@
if (doc_list[idx].file_type == NULL)
{
- msgwin_status_add(_("Please set the filetype for the current file before using this function."));
+ ui_set_statusbar(_("Please set the filetype for the current file before using this function."));
return;
}
@@ -1480,7 +1480,7 @@
if (doc_list[idx].file_type == NULL)
{
- msgwin_status_add(_("Please set the filetype for the current file before using this function."));
+ ui_set_statusbar(_("Please set the filetype for the current file before using this function."));
return;
}
Modified: trunk/src/document.c
===================================================================
--- trunk/src/document.c 2006-12-17 23:57:11 UTC (rev 1113)
+++ trunk/src/document.c 2006-12-18 11:56:46 UTC (rev 1114)
@@ -566,7 +566,7 @@
// filename must not be NULL when it is a new file
if (filename == NULL)
{
- msgwin_status_add(_("Invalid filename"));
+ ui_set_statusbar(_("Invalid filename"));
return -1;
}
Modified: trunk/src/search.c
===================================================================
--- trunk/src/search.c 2006-12-17 23:57:11 UTC (rev 1113)
+++ trunk/src/search.c 2006-12-18 11:56:46 UTC (rev 1114)
@@ -960,7 +960,7 @@
gtk_entry_get_text(GTK_ENTRY(gtk_bin_get_child(GTK_BIN(dir_combo))));
if (utf8_dir == NULL || utils_str_equal(utf8_dir, ""))
- msgwin_status_add(_("Invalid directory for find in files."));
+ ui_set_statusbar(_("Invalid directory for find in files."));
else if (search_text && *search_text)
{
gchar *locale_dir;
@@ -990,7 +990,7 @@
g_free(locale_dir);
}
else
- msgwin_status_add(_("No text to find."));
+ ui_set_statusbar(_("No text to find."));
}
else
gtk_widget_hide(widgets.find_in_files_dialog);
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