+2002-08-14 [melvin] 0.8.1claws59
+
+ * src/crash.c
+ Made bug report not translatable
+ * src/exporthtml.c
+ Fixed exporthtml_build_filespec() return value
+ * src/foldersel.c
+ Fixed incorrect include file
+ * src/gtkspell.c
+ * src/prefs_actions.c
+ * src/prefs_toolbar.c
+ Made debug info not translatable
+ * src/mutt.c
+ * src/quote_fmt.c
+ Added missing includes
+ * src/prefs_common.c
+ Fixed typo
+
2002-08-14 [paul] 0.8.1claws58
* faq/es/sylpheed-faq.html
MICRO_VERSION=1
INTERFACE_AGE=0
BINARY_AGE=0
-EXTRA_VERSION=claws58
+EXTRA_VERSION=claws59
VERSION=$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION$EXTRA_VERSION
dnl set $target
gtk_container_add(GTK_CONTAINER(scrolledwindow1), text1);
crash_report = g_strdup_printf(
- _("Sylpheed version %s\nGTK+ version %d.%d.%d\nFeatures:%s\nOperating system: %s\nC Library: %s\n--\n%s"),
+ "Sylpheed version %s\nGTK+ version %d.%d.%d\nFeatures:%s\nOperating system: %s\nC Library: %s\n--\n%s",
VERSION,
gtk_major_version, gtk_minor_version, gtk_micro_version,
get_compiled_in_features(),
* Build full export file specification.
* Enter: ctl Export control data.
*/
-static void *exporthtml_build_filespec( ExportHtmlCtl *ctl ) {
+static void exporthtml_build_filespec( ExportHtmlCtl *ctl ) {
gchar *fileSpec;
fileSpec = g_strconcat(
#include <gdk/gdkkeysyms.h>
#include <gtk/gtkmain.h>
#include <gtk/gtkwidget.h>
-#include <gtk/gtkctree.h>
#include <gtk/gtkwindow.h>
#include <gtk/gtkvbox.h>
#include <gtk/gtkscrolledwindow.h>
#include "main.h"
#include "utils.h"
#include "gtkutils.h"
+#include "gtksctree.h"
#include "stock_pixmap.h"
#include "foldersel.h"
#include "alertpanel.h"
return NULL;
if ((checkers = gtkpspellcheckers->checkers) != NULL) {
- debug_print(_("Pspell: number of running checkers to delete %d\n"),
+ debug_print("Pspell: number of running checkers to delete %d\n",
g_slist_length(checkers));
g_slist_foreach(checkers, free_checkers, NULL);
}
if ((dict_list = gtkpspellcheckers->dictionary_list) != NULL) {
- debug_print(_("Pspell: number of dictionaries to delete %d\n"),
+ debug_print("Pspell: number of dictionaries to delete %d\n",
g_slist_length(dict_list));
gtkpspell_free_dictionary_list(dict_list);
gtkpspeller = (GtkPspeller *) exist->data;
dictionary_delete(dict);
- debug_print(_("Pspell: Using existing ispell checker %0x\n"),
+ debug_print("Pspell: Using existing ispell checker %0x\n",
(gint) gtkpspeller);
} else {
if ((gtkpspeller = gtkpspeller_real_new(dict)) != NULL) {
gtkpspellcheckers->checkers =
g_slist_append(gtkpspellcheckers->checkers,
gtkpspeller);
- debug_print(_("Pspell: Created a new gtkpspeller %0x\n"),
+ debug_print("Pspell: Created a new gtkpspeller %0x\n",
(gint) gtkpspeller);
} else {
dictionary_delete(dict);
- debug_print(_("Pspell: Could not create spell checker.\n"));
+ debug_print("Pspell: Could not create spell checker.\n");
}
}
- debug_print(_("Pspell: number of existing checkers %d\n"),
+ debug_print("Pspell: number of existing checkers %d\n",
g_slist_length(gtkpspellcheckers->checkers));
return gtkpspeller;
g_return_val_if_fail(gtkpspellcheckers, NULL);
if (gtkpspeller->ispell)
- debug_print(_("Pspell: Won't remove existing ispell checker %0x.\n"),
+ debug_print("Pspell: Won't remove existing ispell checker %0x.\n",
(gint) gtkpspeller);
else {
gtkpspellcheckers->checkers =
g_slist_remove(gtkpspellcheckers->checkers,
gtkpspeller);
- debug_print(_("Pspell: Deleting gtkpspeller %0x.\n"),
+ debug_print("Pspell: Deleting gtkpspeller %0x.\n",
(gint) gtkpspeller);
gtkpspeller_real_delete(gtkpspeller);
}
- debug_print(_("Pspell: number of existing checkers %d\n"),
+ debug_print("Pspell: number of existing checkers %d\n",
g_slist_length(gtkpspellcheckers->checkers));
return gtkpspeller;
dictionary_delete(gtkpspeller->dictionary);
- debug_print(_("Pspell: gtkpspeller %0x deleted.\n"),
+ debug_print("Pspell: gtkpspeller %0x deleted.\n",
(gint) gtkpspeller);
g_free(gtkpspeller);
buf[dict->dictname - dict->fullname] = 0x00;
CONFIG_REPLACE_RETURN_FALSE_IF_FAIL("rem-all-word-list-path", "");
- debug_print(_("Pspell: removed all paths.\n"));
+ debug_print("Pspell: removed all paths.\n");
CONFIG_REPLACE_RETURN_FALSE_IF_FAIL("add-word-list-path", buf);
- debug_print(_("Pspell: added path %s.\n"), buf);
+ debug_print("Pspell: added path %s.\n", buf);
strncpy(buf, dict->dictname, BUFSIZE-1);
language = buf;
else
spelling = NULL;
- debug_print(_("Pspell: Language: %s, spelling: %s, jargon: %s, module: %s\n"),
+ debug_print("Pspell: Language: %s, spelling: %s, jargon: %s, module: %s\n",
language, spelling, jargon, module);
if (language)
result = gtkpspell_set_sug_mode(gtkpspell, mode);
if(!result) {
- debug_print(_("Pspell: error while changing suggestion mode:%s\n"),
+ debug_print("Pspell: error while changing suggestion mode:%s\n",
gtkpspellcheckers->error_message);
gtkpspell_checkers_reset_error();
}
dict_path = g_strdup(pspell_path);
prevdir = g_get_current_dir();
if (chdir(dict_path) <0) {
- debug_print(_("Pspell: error when searching for dictionaries:\n%s\n"),
+ debug_print("Pspell: error when searching for dictionaries:\n%s\n",
g_strerror(errno));
g_free(prevdir);
g_free(dict_path);
return gtkpspellcheckers->dictionary_list;
}
- debug_print(_("Pspell: checking for dictionaries in %s\n"), dict_path);
+ debug_print("Pspell: checking for dictionaries in %s\n", dict_path);
if (NULL != (dir = opendir("."))) {
while (NULL != (ent = readdir(dir))) {
dict->dictname = strrchr(dict->fullname,
G_DIR_SEPARATOR) + 1;
dict->encoding = NULL;
- debug_print(_("Pspell: found dictionary %s %s\n"),
+ debug_print("Pspell: found dictionary %s %s\n",
dict->fullname, dict->dictname);
list = g_slist_insert_sorted(list, dict,
(GCompareFunc) compare_dict);
closedir(dir);
}
else {
- debug_print(_("Pspell: error when searching for dictionaries.\nNo dictionary found.\n(%s)"),
+ debug_print("Pspell: error when searching for dictionaries.\nNo dictionary found.\n(%s)",
g_strerror(errno));
list = create_empty_dictionary_list();
}
if(list==NULL){
- debug_print(_("Pspell: error when searching for dictionaries.\nNo dictionary found.\n"));
+ debug_print("Pspell: error when searching for dictionaries.\nNo dictionary found.\n");
list = create_empty_dictionary_list();
}
*/
#include <sys/stat.h>
+#include <ctype.h>
+#include <string.h>
#include <glib.h>
#include "mgutils.h"
gchar *title[1];
- debug_print(_("Creating actions setting window...\n"));
+ debug_print("Creating actions setting window...\n");
window = gtk_window_new (GTK_WINDOW_DIALOG);
gchar buf[PREFSBUFSIZE];
gchar *act;
- debug_print(_("Reading actions configurations...\n"));
+ debug_print("Reading actions configurations...\n");
rcpath = g_strconcat(get_rc_dir(), G_DIR_SEPARATOR_S, ACTIONS_RC, NULL);
if ((fp = fopen(rcpath, "rb")) == NULL) {
PrefFile *pfile;
GSList *cur;
- debug_print(_("Writing actions configuration...\n"));
+ debug_print("Writing actions configuration...\n");
rcpath = g_strconcat(get_rc_dir(), G_DIR_SEPARATOR_S, ACTIONS_RC, NULL);
if ((pfile= prefs_write_open(rcpath)) == NULL) {
cmd = parse_action_cmd(action, msginfo, ctree,
mimeview);
if (!cmd) {
- debug_print(_("Action command error\n"));
+ debug_print("Action command error\n");
is_ok = FALSE; /* ERR: incorrect command */
break;
}
}
}
- debug_print(_("Forking child and grandchild.\n"));
+ debug_print("Forking child and grandchild.\n");
pid = fork();
if (pid == 0) { /* Child */
close(chld_status[0]);
}
- debug_print(_("Child: Waiting for grandchild\n"));
+ debug_print("Child: Waiting for grandchild\n");
waitpid(gch_pid, NULL, 0);
- debug_print(_("Child: grandchild ended\n"));
+ debug_print("Child: grandchild ended\n");
if (sync) {
write(chld_status[1], "0\n", 2);
close(chld_status[1]);
for (cur = children->list; cur; cur = cur->next) {
child_info = (ChildInfo *)(cur->data);
- debug_print(_("Killing child group id %d\n"), child_info->pid);
+ debug_print("Killing child group id %d\n", child_info->pid);
if (child_info->pid && kill(-child_info->pid, SIGTERM) < 0)
perror("kill");
}
GSList *cur;
ChildInfo *child_info;
- debug_print(_("Freeing children data %p\n"), children);
+ debug_print("Freeing children data %p\n", children);
g_free(children->action);
for (cur = children->list; cur;) {
{
GSList *cur;
- debug_print(_("Updating actions input/output dialog.\n"));
+ debug_print("Updating actions input/output dialog.\n");
if (!children->nb) {
gtk_widget_set_sensitive(children->abort_btn, FALSE);
gdk_input_remove(child_info->tag_status);
c = read(source, &buf, 1);
- debug_print(_("Child returned %c\n"), buf);
+ debug_print("Child returned %c\n", buf);
waitpid(-child_info->pid, NULL, 0);
childinfo_close_pipes(child_info);
gchar *input;
gint c;
- debug_print(_("Sending input to grand child.\n"));
+ debug_print("Sending input to grand child.\n");
if (!(cond && GDK_INPUT_WRITE))
return;
gtk_entry_set_text(GTK_ENTRY(children->input_entry), "");
gtk_widget_set_sensitive(children->input_hbox, TRUE);
- debug_print(_("Input to grand child sent.\n"));
+ debug_print("Input to grand child sent.\n");
}
static void catch_output(gpointer data, gint source, GdkInputCondition cond)
gint c, i;
gchar buf[PREFSBUFSIZE];
- debug_print(_("Catching grand child's output.\n"));
+ debug_print("Catching grand child's output.\n");
if (child_info->type & ACTION_PIPE_OUT
&& source == child_info->chld_out) {
gboolean is_selection = FALSE;
gtk_box_pack_start (GTK_BOX (vbox2), hbox_newmail_notify, FALSE,
FALSE, 0);
- label_newmail_notify_cmd = gtk_label_new (_("Command to execute:\n"
+ label_newmail_notify_cmd = gtk_label_new (_("Command to execute:\n"
"(use %d as number of new "
"mails)"));
gtk_label_set_justify(GTK_LABEL(label_newmail_notify_cmd),
gchar *titles[N_DISPLAYED_ITEMS_COLS];
- debug_print(_("Creating custom toolbar window...\n"));
+ debug_print("Creating custom toolbar window...\n");
window = gtk_window_new (GTK_WINDOW_DIALOG);
gtk_widget_set_usize (window, 450, -1);
#include <gdk/gdkkeysyms.h>
#include "intl.h"
+#include "manage_window.h"
+#include "gtkutils.h"
static GtkWidget *quote_desc_win;