/pidgin/main: df9c0c0d8dda: Merge with release-2.x.y.
Elliott Sales de Andrade
qulogic at pidgin.im
Tue Aug 28 03:43:24 EDT 2012
Changeset: df9c0c0d8ddaeb6c889196470a0874d2709d47fd
Author: Elliott Sales de Andrade <qulogic at pidgin.im>
Date: 2012-08-28 03:42 -0400
Branch: default
URL: http://hg.pidgin.im/pidgin/main/rev/df9c0c0d8dda
Description:
Merge with release-2.x.y.
diffstat:
Makefile.mingw | 2 +-
libpurple/protocols/jabber/Makefile.mingw | 2 +-
libpurple/protocols/silc/Makefile.mingw | 2 +-
libpurple/win32/global.mak | 4 ++--
pidgin/gtkutils.c | 12 ++++--------
pidgin/win32/nsis/pidgin-installer.nsi | 4 ++--
6 files changed, 11 insertions(+), 15 deletions(-)
diffs (118 lines):
diff --git a/Makefile.mingw b/Makefile.mingw
--- a/Makefile.mingw
+++ b/Makefile.mingw
@@ -66,7 +66,7 @@ EXTERNAL_DLLS = \
saslLOGIN.dll \
saslPLAIN.dll \
libsilc-1-1-2.dll \
- libsilcclient-1-1-2.dll \
+ libsilcclient-1-1-3.dll \
smime3.dll \
softokn3.dll \
sqlite3.dll \
diff --git a/libpurple/protocols/jabber/Makefile.mingw b/libpurple/protocols/jabber/Makefile.mingw
--- a/libpurple/protocols/jabber/Makefile.mingw
+++ b/libpurple/protocols/jabber/Makefile.mingw
@@ -113,7 +113,7 @@ LIBS = \
-lpurple
ifeq ($(CYRUS_SASL), 1)
-CYRUS_SASL_TOP := $(WIN32_DEV_TOP)/cyrus-sasl-2.1.22-daa1
+CYRUS_SASL_TOP := $(WIN32_DEV_TOP)/cyrus-sasl-2.1.25
INCLUDE_PATHS += -I$(CYRUS_SASL_TOP)/include
LIB_PATHS += -L$(CYRUS_SASL_TOP)/bin
LIBS += -llibsasl
diff --git a/libpurple/protocols/silc/Makefile.mingw b/libpurple/protocols/silc/Makefile.mingw
--- a/libpurple/protocols/silc/Makefile.mingw
+++ b/libpurple/protocols/silc/Makefile.mingw
@@ -11,7 +11,7 @@ DEFINES := $(subst -DWIN32_LEAN_AND_MEAN
TARGET = libsilc
NEEDED_DLLS = $(SILC_TOOLKIT)/bin/libsilc-1-1-2.dll \
- $(SILC_TOOLKIT)/bin/libsilcclient-1-1-2.dll
+ $(SILC_TOOLKIT)/bin/libsilcclient-1-1-3.dll
TYPE = PLUGIN
# Static or Plugin...
diff --git a/libpurple/win32/global.mak b/libpurple/win32/global.mak
--- a/libpurple/win32/global.mak
+++ b/libpurple/win32/global.mak
@@ -17,9 +17,9 @@ GTK_BIN ?= $(GTK_TOP)/bin
BONJOUR_TOP ?= $(WIN32_DEV_TOP)/Bonjour_SDK
LIBXML2_TOP ?= $(WIN32_DEV_TOP)/libxml2-2.7.4
MEANWHILE_TOP ?= $(WIN32_DEV_TOP)/meanwhile-1.0.2_daa2
-NSS_TOP ?= $(WIN32_DEV_TOP)/nss-3.12.5-nspr-4.8.2
+NSS_TOP ?= $(WIN32_DEV_TOP)/nss-3.13.6-nspr-4.9.2
PERL_LIB_TOP ?= $(WIN32_DEV_TOP)/perl-5.10.0
-SILC_TOOLKIT ?= $(WIN32_DEV_TOP)/silc-toolkit-1.1.8
+SILC_TOOLKIT ?= $(WIN32_DEV_TOP)/silc-toolkit-1.1.10
TCL_LIB_TOP ?= $(WIN32_DEV_TOP)/tcl-8.4.5
GSTREAMER_TOP ?= $(WIN32_DEV_TOP)/gstreamer-0.10.13
diff --git a/pidgin/gtkutils.c b/pidgin/gtkutils.c
--- a/pidgin/gtkutils.c
+++ b/pidgin/gtkutils.c
@@ -2162,7 +2162,7 @@ icon_filesel_choose_cb(GtkWidget *widget
static void
icon_preview_change_cb(GtkFileChooser *widget, struct _icon_chooser *dialog)
{
- GdkPixbuf *pixbuf, *scale;
+ GdkPixbuf *pixbuf;
int height, width;
char *basename, *markup, *size;
struct stat st;
@@ -2171,7 +2171,7 @@ icon_preview_change_cb(GtkFileChooser *w
filename = gtk_file_chooser_get_preview_filename(
GTK_FILE_CHOOSER(dialog->icon_filesel));
- if (!filename || g_stat(filename, &st) || !(pixbuf = pidgin_pixbuf_new_from_file(filename)))
+ if (!filename || g_stat(filename, &st) || !(pixbuf = pidgin_pixbuf_new_from_file_at_size(filename, 128, 128)))
{
gtk_image_set_from_pixbuf(GTK_IMAGE(dialog->icon_preview), NULL);
gtk_label_set_markup(GTK_LABEL(dialog->icon_text), "");
@@ -2179,8 +2179,7 @@ icon_preview_change_cb(GtkFileChooser *w
return;
}
- width = gdk_pixbuf_get_width(pixbuf);
- height = gdk_pixbuf_get_height(pixbuf);
+ gdk_pixbuf_get_file_info(filename, &width, &height);
basename = g_path_get_basename(filename);
size = purple_str_size_to_units(st.st_size);
markup = g_strdup_printf(_("<b>File:</b> %s\n"
@@ -2188,13 +2187,10 @@ icon_preview_change_cb(GtkFileChooser *w
"<b>Image size:</b> %dx%d"),
basename, size, width, height);
- scale = gdk_pixbuf_scale_simple(pixbuf, width * 50 / height,
- 50, GDK_INTERP_BILINEAR);
- gtk_image_set_from_pixbuf(GTK_IMAGE(dialog->icon_preview), scale);
+ gtk_image_set_from_pixbuf(GTK_IMAGE(dialog->icon_preview), pixbuf);
gtk_label_set_markup(GTK_LABEL(dialog->icon_text), markup);
g_object_unref(G_OBJECT(pixbuf));
- g_object_unref(G_OBJECT(scale));
g_free(filename);
g_free(basename);
g_free(size);
diff --git a/pidgin/win32/nsis/pidgin-installer.nsi b/pidgin/win32/nsis/pidgin-installer.nsi
--- a/pidgin/win32/nsis/pidgin-installer.nsi
+++ b/pidgin/win32/nsis/pidgin-installer.nsi
@@ -360,7 +360,7 @@ Section $(PIDGINSECTIONTITLE) SecPidgin
${AndIf} ${IsWinNT4}
;SILC
Delete "$INSTDIR\plugins\libsilc.dll"
- Delete "$INSTDIR\libsilcclient-1-1-2.dll"
+ Delete "$INSTDIR\libsilcclient-1-1-3.dll"
Delete "$INSTDIR\libsilc-1-1-2.dll"
;GSSAPI
Delete "$INSTDIR\sasl2\saslGSSAPI.dll"
@@ -637,7 +637,7 @@ Section Uninstall
Delete "$INSTDIR\libpurple.dll"
Delete "$INSTDIR\libsasl.dll"
Delete "$INSTDIR\libsilc-1-1-2.dll"
- Delete "$INSTDIR\libsilcclient-1-1-2.dll"
+ Delete "$INSTDIR\libsilcclient-1-1-3.dll"
Delete "$INSTDIR\libxml2-2.dll"
Delete "$INSTDIR\libymsg.dll"
Delete "$INSTDIR\nss3.dll"
More information about the Commits
mailing list