Skip to content

Commit

Permalink
updated for 2.8.1 changed version to 2.8.1
Browse files Browse the repository at this point in the history
2006-12-07  Paolo Bacchilega  <paobac@cvs.gnome.org>

	* NEWS: updated for 2.8.1
	* configure.in: changed version to 2.8.1

	* src/dir-list.c (dir_list_change_to__step2, dir_list_change_to):
	interrupt the path list operation before starting a new one.
  • Loading branch information
Paolo Bacchilega authored and Paolo Bacchilega committed Dec 7, 2006
1 parent 4a21ac1 commit 9bf2778
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 6 deletions.
10 changes: 9 additions & 1 deletion ChangeLog
Original file line number Diff line number Diff line change
@@ -1,7 +1,15 @@
2006-12-07 Paolo Bacchilega <paobac@cvs.gnome.org>

* NEWS: updated for 2.8.1
* configure.in: changed version to 2.8.1

* src/dir-list.c (dir_list_change_to__step2, dir_list_change_to):
interrupt the path list operation before starting a new one.

2006-11-27 Paolo Bacchilega <paobac@cvs.gnome.org>

* libgthumb/gth-image-list.c (gth_image_list_expose): use allocation
size instead og gdk_drawable_get_size function.
size instead of gdk_drawable_get_size function.

2006-11-26 Paolo Bacchilega <paobac@cvs.gnome.org>

Expand Down
5 changes: 5 additions & 0 deletions NEWS
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
version 2.8.1
-------------
* Fixed compilation warning.
* Fixed minor image list issues.

version 2.8.0
-------------
* Always reset the exif orientation field after a rotation.
Expand Down
2 changes: 1 addition & 1 deletion configure.in
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ dnl Process this file with autoconf to produce a configure script.

AC_PREREQ(2.52)

AC_INIT(gthumb, 2.8.0, http://bugzilla.gnome.org/enter_bug.cgi?product=gthumb)
AC_INIT(gthumb, 2.8.1, http://bugzilla.gnome.org/enter_bug.cgi?product=gthumb)
AC_CONFIG_SRCDIR(src/main.c)
AM_INIT_AUTOMAKE(AC_PACKAGE_NAME, AC_PACKAGE_VERSION)

Expand Down
16 changes: 12 additions & 4 deletions src/dir-list.c
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,7 @@ dir_list_update_icon_theme (DirList *dir_list)


static void
dir_list_refresh_continue (PathListData *pld,
dir_list_change_to__step3 (PathListData *pld,
gpointer data)
{
DirList *dir_list = data;
Expand Down Expand Up @@ -530,6 +530,14 @@ dir_list_refresh_continue (PathListData *pld,
}


static void
dir_list_change_to__step2 (gpointer callback_data)
{
DirList *dir_list = callback_data;
dir_list->dir_load_handle = path_list_async_new (dir_list->try_path, dir_list_change_to__step3, dir_list);
}


void
dir_list_change_to (DirList *dir_list,
const gchar *path,
Expand All @@ -546,9 +554,9 @@ dir_list_change_to (DirList *dir_list,
dir_list->try_path = g_strdup (path);

if (dir_list->dir_load_handle != NULL)
path_list_handle_free (dir_list->dir_load_handle);

dir_list->dir_load_handle = path_list_async_new (dir_list->try_path, dir_list_refresh_continue, dir_list);
path_list_async_interrupt (dir_list->dir_load_handle, dir_list_change_to__step2, dir_list);
else
dir_list->dir_load_handle = path_list_async_new (dir_list->try_path, dir_list_change_to__step3, dir_list);
}


Expand Down

0 comments on commit 9bf2778

Please sign in to comment.