...
 
Commits (6)
2003-03-28 Dmitry G. Mastrukov <dmitry@taurussoft.org>
* configure.in: Added Belarusian to ALL_LINGUAS.
2003-03-09 Paolo Bacchilega <paolo.bacch@tin.it>
[ gthumb 2.0.2 released ]
2003-03-09 Paolo Bacchilega <paolo.bacch@tin.it>
* libgthumb/pixbuf-utils.c (_gdk_pixbuf_save_as_jpeg): use bpp
instead of 3.
2003-03-05 Paolo Bacchilega <paolo.bacch@tin.it>
* src/gthumb-window.h (GCONF_NOTIFICATIONS):
* src/gthumb-window.c (window_new): update back button style on
the fly.
* src/e-combo-button.c (e_combo_button_set_style): s/icon/icons/
2003-02-08 Paolo Bacchilega <paolo.bacch@tin.it>
* src/dlg-file-utils.c (dlg_files_copy): fix fcdata->current_file
initialization.
2003-02-05 Paolo Bacchilega <paolo.bacch@tin.it>
* src/dlg-file-utils.c (real_files_delete__continue2)
(file_progress_update_cb, file_delete_progress_update_cb): return
FALSE when an error occur.
2003-01-26 Paolo Bacchilega <paolo.bacch@tin.it>
[ gthumb 2.0.1 released ]
......
version 2.0.2
-------------
* Bugfixes.
version 2.0.1
-------------
* Bugfixes.
......
......@@ -2,7 +2,7 @@ dnl Process this file with autoconf to produce a configure script.
AC_PREREQ(2.52)
AC_INIT(gthumb, 2.0.1)
AC_INIT(gthumb, 2.0.2)
AC_CONFIG_SRCDIR(src/main.c)
AM_INIT_AUTOMAKE(AC_PACKAGE_NAME, AC_PACKAGE_VERSION)
AM_CONFIG_HEADER(config.h)
......@@ -211,7 +211,7 @@ dnl ###############################################
AC_PATH_PROG(GLIB_GENMARSHAL, glib-genmarshal)
AC_PATH_PROG(GLIB_MKENUMS, glib-mkenums)
ALL_LINGUAS="am cs da de es fr it ja ko lv ms nl no pt_BR ru sv zh_TW"
ALL_LINGUAS="am be cs da de es fr it ja ko lv ms nl no pt_BR ru sv zh_TW"
GETTEXT_PACKAGE=gthumb
AC_SUBST(GETTEXT_PACKAGE)
AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE")
......
......@@ -570,7 +570,6 @@ _gdk_pixbuf_save_as_jpeg (GdkPixbuf *pixbuf,
guchar *ptr;
guchar *pixels = NULL;
JSAMPROW *jbuf;
int y = 0;
int quality = 75; /* default; must be between 0 and 100 */
int smoothing = 0;
gboolean optimize = FALSE;
......@@ -697,7 +696,7 @@ _gdk_pixbuf_save_as_jpeg (GdkPixbuf *pixbuf,
g_return_val_if_fail (pixels != NULL, FALSE);
/* allocate a small buffer to convert image data */
buf = g_try_malloc (w * 3 * sizeof (guchar));
buf = g_try_malloc (w * bpp * sizeof (guchar));
if (! buf) {
g_set_error (error,
GDK_PIXBUF_ERROR,
......@@ -753,8 +752,6 @@ _gdk_pixbuf_save_as_jpeg (GdkPixbuf *pixbuf,
jbuf = (JSAMPROW *)(&buf);
jpeg_write_scanlines (&cinfo, jbuf, 1);
i++;
y++;
}
/* finish off */
......
2003-03-28 Dmitry G. Mastrukov <dmitry@taurussoft.org>
* be.po: Added Belarusian translation
from Belarusian team <i18n@infonet.by>.
2003-03-28 Dmitry G. Mastrukov <dmitry@taurussoft.org>
* ru.po: updated Russian translation
from Russian team <gnome-cyr@gnome.org>.
2003-01-27 Pablo Gonzalo del Campo <pablodc@bigfoot.com>
* es.po: Fixed menus and preferences hotkeys.
2003-01-25 Christian Neumair <chris@gnome-de.org>
* de.po: Updated German translation.
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
......@@ -197,7 +197,7 @@ real_files_delete__continue2 (GnomeVFSResult result,
{
ConfirmFileDeleteData *cfddata = data;
if (result != GNOME_VFS_OK)
if ((result != GNOME_VFS_OK) && (result != GNOME_VFS_ERROR_INTERRUPTED))
_gtk_error_dialog_run (GTK_WINDOW (cfddata->window->app),
"%s %s",
_("Could not delete the images:"),
......@@ -1201,6 +1201,7 @@ file_progress_update_cb (GnomeVFSAsyncHandle *handle,
if (info->status != GNOME_VFS_XFER_PROGRESS_STATUS_OK) {
fcdata->result = info->vfs_status;
return FALSE;
} else if (info->phase == GNOME_VFS_XFER_PHASE_COMPLETED) {
if (fcdata->result == GNOME_VFS_OK) {
......@@ -1536,7 +1537,7 @@ dlg_files_copy (GThumbWindow *window,
fcdata->file_list = path_list_dup (file_list);
fcdata->copied_list = NULL;
fcdata->created_list = NULL;
fcdata->current_file = file_list;
fcdata->current_file = fcdata->file_list;
fcdata->destination = g_strdup (dest_path);
fcdata->remove_source = remove_source;
fcdata->copy_cache = copy_cache;
......@@ -1703,6 +1704,7 @@ file_delete_progress_update_cb (GnomeVFSAsyncHandle *handle,
if (info->status != GNOME_VFS_XFER_PROGRESS_STATUS_OK) {
fddata->result = info->vfs_status;
return FALSE;
} else if (info->phase == GNOME_VFS_XFER_PHASE_COLLECTING) {
message = g_strdup (_("Collecting images info"));
......@@ -1885,7 +1887,7 @@ folder_progress_update_cb (GnomeVFSAsyncHandle *handle,
if (info->status != GNOME_VFS_XFER_PROGRESS_STATUS_OK) {
fcdata->result = info->vfs_status;
return TRUE;
return FALSE;
} else if (info->phase == GNOME_VFS_XFER_PHASE_INITIAL) {
/**/
......
......@@ -628,7 +628,7 @@ e_combo_button_set_style (EComboButton *combo_button,
toolbar_style = TOOLBAR_STYLE_TEXT_BELOW;
else if (strcmp (system_style, "both_horiz") == 0)
toolbar_style = TOOLBAR_STYLE_TEXT_BESIDE;
else if (strcmp (system_style, "icon") == 0)
else if (strcmp (system_style, "icons") == 0)
toolbar_style = TOOLBAR_STYLE_ICONS;
else if (strcmp (system_style, "text") == 0)
toolbar_style = TOOLBAR_STYLE_TEXT;
......
......@@ -4537,6 +4537,14 @@ window_new (void)
PREF_UI_TOOLBAR_STYLE,
pref_ui_toolbar_style_changed,
window);
window->cnxn_id[i++] = eel_gconf_notification_add (
PREF_UI_TOOLBAR_STYLE,
pref_ui_toolbar_style_changed,
window);
window->cnxn_id[i++] = eel_gconf_notification_add (
"/desktop/gnome/interface/toolbar_style",
pref_ui_toolbar_style_changed,
window);
window->cnxn_id[i++] = eel_gconf_notification_add (
PREF_UI_TOOLBAR_VISIBLE,
......
......@@ -35,7 +35,7 @@
#include "gth-pixbuf-op.h"
#include "gthumb-preloader.h"
#define GCONF_NOTIFICATIONS 14
#define GCONF_NOTIFICATIONS 16
typedef enum {
......