2005-02-17 [paul] 1.0.1cvs11.4
authorPaul Mangan <paul@claws-mail.org>
Thu, 17 Feb 2005 08:09:56 +0000 (08:09 +0000)
committerPaul Mangan <paul@claws-mail.org>
Thu, 17 Feb 2005 08:09:56 +0000 (08:09 +0000)
* src/compose.c
* src/exportldif.c
* src/matcher_parser_parse.y
* src/procmime.c
* src/sourcewindow.c
* src/common/Makefile.am
* src/common/intl.h  ** REMOVED **
* src/plugins/trayicon/libeggtrayicon/eggtrayicon.c
sync with main (revision 109)
and clean up

ChangeLog-gtk2.claws
PATCHSETS
configure.ac
src/common/Makefile.am
src/common/intl.h [deleted file]
src/compose.c
src/exportldif.c
src/matcher_parser_parse.y
src/plugins/trayicon/libeggtrayicon/eggtrayicon.c
src/procmime.c
src/sourcewindow.c

index f4c084a..49ead6e 100644 (file)
@@ -1,3 +1,16 @@
+2005-02-17 [paul]      1.0.1cvs11.4
+
+       * src/compose.c
+       * src/exportldif.c
+       * src/matcher_parser_parse.y
+       * src/procmime.c
+       * src/sourcewindow.c
+       * src/common/Makefile.am
+       * src/common/intl.h             ** REMOVED **
+       * src/plugins/trayicon/libeggtrayicon/eggtrayicon.c
+               sync with main (revision 109)
+               and clean up
+
 2005-02-16 [colin]     1.0.1cvs11.3
 
        * src/summaryview.c
index 7c105ba..aa15579 100644 (file)
--- a/PATCHSETS
+++ b/PATCHSETS
 ( cvs diff -u -r 1.79.2.8 -r 1.79.2.9 src/mh.c; ) > 1.0.1cvs11.1.patchset
 ( cvs diff -u -r 1.94.2.45 -r 1.94.2.46 src/messageview.c; ) > 1.0.1cvs11.2.patchset
 ( cvs diff -u -r 1.395.2.52 -r 1.395.2.53 src/summaryview.c; cvs diff -u -r 1.3.2.17 -r 1.3.2.18 src/prefs_themes.c; ) > 1.0.1cvs11.3.patchset
+( cvs diff -u -r 1.382.2.102 -r 1.382.2.103 src/compose.c; cvs diff -u -r 1.1.4.4 -r 1.1.4.5 src/exportldif.c; cvs diff -u -r 1.25.2.7 -r 1.25.2.8 src/matcher_parser_parse.y; cvs diff -u -r 1.49.2.34 -r 1.49.2.35 src/procmime.c; cvs diff -u -r 1.9.2.11 -r 1.9.2.12 src/sourcewindow.c; cvs diff -u -r 1.24.2.5 -r 1.24.2.6 src/common/Makefile.am; cvs diff -u -r -1.1.4.2 -r -1.1.4.3 src/common/intl.h; cvs diff -u -r 1.1.4.3 -r 1.1.4.4 src/plugins/trayicon/libeggtrayicon/eggtrayicon.c; ) > 1.0.1cvs11.4.patchset
index d8d5753..9123736 100644 (file)
@@ -13,7 +13,7 @@ INTERFACE_AGE=0
 BINARY_AGE=0
 EXTRA_VERSION=11
 EXTRA_RELEASE=
-EXTRA_GTK2_VERSION=.3
+EXTRA_GTK2_VERSION=.4
 
 if test \( $EXTRA_VERSION -eq 0 \) -o \( "x$EXTRA_RELEASE" != "x" \); then
     VERSION=${MAJOR_VERSION}.${MINOR_VERSION}.${MICRO_VERSION}${EXTRA_RELEASE}${EXTRA_GTK2_VERSION}
index b8c93f4..8c36e6e 100644 (file)
@@ -31,7 +31,6 @@ sylpheedcommoninclude_HEADERS = \
        base64.h \
        defs.h \
        hooks.h \
-       intl.h \
        log.h \
        md5.h \
        mgutils.h \
diff --git a/src/common/intl.h b/src/common/intl.h
deleted file mode 100644 (file)
index 7faa1d8..0000000
+++ /dev/null
@@ -1,34 +0,0 @@
-#ifndef __INTL_H__
-#define __INTL_H__
-
-#ifdef HAVE_CONFIG_H
-#  include "config.h"
-#endif /* HAVE_CONFIG_H */
-
-#ifdef ENABLE_NLS
-#  include <libintl.h>
-#  ifndef TEXTDOMAIN
-#    define _(String) gettext(String)
-#  else
-#    define _(String) dgettext(TEXTDOMAIN, String)
-#  endif /* TEXTDOMAIN */
-#  ifdef gettext_noop
-#    define N_(String) gettext_noop(String)
-#  else
-#    define N_(String) (String)
-#  endif /* gettext_noop */
-#  ifndef HAVE_BIND_TEXTDOMAIN_CODESET
-#    define bind_textdomain_codeset(Domain, Codeset) (Codeset)
-#  endif /* HAVE_BIND_TEXTDOMAIN_CODESET */
-#else
-#  define _(String) (String)
-#  define N_(String) (String)
-#  define textdomain(String) (String)
-#  define gettext(String) (String)
-#  define dgettext(Domain,String) (String)
-#  define dcgettext(Domain,String,Type) (String)
-#  define bindtextdomain(Domain,Directory) (Domain) 
-#  define bind_textdomain_codeset(Domain, Codeset) (Codeset)
-#endif /* ENABLE_NLS */
-
-#endif /* __INTL_H__ */
index 07a9a15..fde2a2b 100644 (file)
@@ -4928,7 +4928,8 @@ static Compose *compose_create(PrefsAccount *account, ComposeMode mode)
        /* text widget */
        scrolledwin = gtk_scrolled_window_new(NULL, NULL);
        gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(scrolledwin),
-                                      GTK_POLICY_NEVER, GTK_POLICY_AUTOMATIC);
+                                      GTK_POLICY_AUTOMATIC,
+                                      GTK_POLICY_AUTOMATIC);
        gtk_scrolled_window_set_shadow_type(GTK_SCROLLED_WINDOW(scrolledwin),
                                            GTK_SHADOW_IN);
        gtk_box_pack_start(GTK_BOX(edit_vbox), scrolledwin, TRUE, TRUE, 0);
index c2c1e4d..805be08 100644 (file)
@@ -27,8 +27,8 @@
 #include <time.h>
 #include <string.h>
 #include <glib.h>
+#include <glib/gi18n.h>
 
-#include "intl.h"
 #include "mgutils.h"
 #include "utils.h"
 #include "exportldif.h"
index 7fc74f6..abe5b2a 100644 (file)
@@ -23,8 +23,8 @@
 #include "defs.h"
 
 #include <glib.h>
+#include <glib/gi18n.h>
 
-#include "intl.h"
 #include "utils.h"
 #include "filtering.h"
 #include "matcher.h"
index 94cf90f..cacbfe1 100644 (file)
@@ -21,7 +21,9 @@
 #ifdef HAVE_CONFIG_H
 #  include "config.h"
 #endif
-#include "intl.h"
+
+#include <glib.h>
+#include <glib/gi18n.h>
 
 #include <string.h>
 #include "eggtrayicon.h"
index 3067893..6add501 100644 (file)
@@ -890,8 +890,9 @@ gchar *procmime_get_tmp_file_name(MimeInfo *mimeinfo)
                        basetmp = procmime_mimeinfo_get_parameter(mimeinfo, "name");
                if (basetmp == NULL)
                        basetmp = "mimetmp";
-               base = g_path_get_basename(basetmp);
-               if (*base == '\0') base = g_strdup("mimetmp");
+               basetmp = g_path_get_basename(basetmp);
+               if (*basetmp == '\0') basetmp = g_strdup("mimetmp");
+               base = conv_filename_from_utf8(basetmp);
                subst_for_shellsafe_filename(base);
        }
 
@@ -899,6 +900,7 @@ gchar *procmime_get_tmp_file_name(MimeInfo *mimeinfo)
                               f_prefix, base, NULL);
 
        g_free(base);
+       
        return filename;
 }
 
index 53730ba..d1328c8 100644 (file)
@@ -86,7 +86,8 @@ SourceWindow *source_window_create(void)
 
        scrolledwin = gtk_scrolled_window_new(NULL, NULL);
        gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(scrolledwin),
-                                      GTK_POLICY_NEVER, GTK_POLICY_AUTOMATIC);
+                                      GTK_POLICY_AUTOMATIC,
+                                      GTK_POLICY_AUTOMATIC);
        gtk_scrolled_window_set_shadow_type(GTK_SCROLLED_WINDOW(scrolledwin),
                                            GTK_SHADOW_IN);
        gtk_container_add(GTK_CONTAINER(window), scrolledwin);