Changeset 1810
- Timestamp:
- 04/20/07 19:59:49
- Files:
-
- trunk/ChangeLog (modified) (1 diff)
- trunk/Makefile.am (modified) (1 diff)
- trunk/configure.ac (modified) (5 diffs)
- trunk/libtinymail-queues (added)
- trunk/libtinymail-queues/.svnignore (added)
- trunk/libtinymail-queues/Makefile.am (added)
- trunk/libtinymail-queues/libtinymail-queues.pc.in (added)
- trunk/libtinymail-queues/tny-get-msg-queue.c (added)
- trunk/libtinymail-queues/tny-get-msg-queue.h (added)
- trunk/libtinymail/tny-folder.c (modified) (1 diff)
- trunk/tests/c-demo/tny-demoui-summary-view.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/ChangeLog
r1806 r1810 2 2 3 3 * Further implementing of TnyMergeFolder 4 * Bugfixes in camel-lite (concurrent camel_folder_get_message on 5 folders that are not selected) 6 * Introduction of libtinymail-queues (which depens on asyncworker) 4 7 5 8 2007-04-18 Philip Van Hoof <pvanhoof@gnome.org> trunk/Makefile.am
r1783 r1810 21 21 if BUILD_ACAP 22 22 SUBDIRS += libtinymail-acap 23 endif 24 25 if BUILD_QUEUES 26 SUBDIRS += libtinymail-queues 23 27 endif 24 28 trunk/configure.ac
r1792 r1810 55 55 56 56 dnl ### default values (will get overwritten) 57 build_queues=false 57 58 build_acap=false 58 59 build_gnome=true … … 186 187 AM_CONDITIONAL(BUILD_ACAP, test x$build_acap = xtrue) 187 188 189 dnl ### Enable queues ## 190 AC_ARG_ENABLE(queues, 191 AC_HELP_STRING([--enable-queues], 192 [Build using queues]), 193 [case "${enableval}" in 194 yes) 195 build_queues=true 196 ;; 197 no) build_queues=false ;; 198 *) AC_MSG_ERROR(bad value ${enableval} for --enable-queues) ;; 199 esac],[build_queues=$build_queues]) 200 AM_CONDITIONAL(BUILD_QUEUES, test x$build_queues = xtrue) 201 202 188 203 189 204 dnl ### Enable building the unit tests ## … … 262 277 AC_SUBST(LIBTINYMAIL_CFLAGS) 263 278 AC_SUBST(LIBTINYMAIL_LIBS) 279 280 if test x$build_queues = xtrue; then 281 PKG_CHECK_MODULES(LIBTINYMAIL_QUEUES, oasyncworker-1.0 glib-2.0 >= 2.8 gobject-2.0) 282 AC_SUBST(LIBTINYMAIL_QUEUES_CFLAGS) 283 AC_SUBST(LIBTINYMAIL_QUEUES_LIBS) 284 fi 285 264 286 265 287 dnl ### libtinymailui, the ui abstraction library ## … … 436 458 libtinymail-acap/Makefile 437 459 libtinymail-acap/libtinymail-acap.pc 460 libtinymail-queues/Makefile 461 libtinymail-queues/libtinymail-queues.pc 438 462 tests/Makefile 439 463 tests/c-demo/Makefile … … 450 474 echo " Enable GNOME features: $build_gnome" 451 475 echo " Enable ACAP features: $build_acap" 476 echo " Build the queues library: $build_queues" 452 477 echo " HTML component: ${with_html_component}" 453 478 echo " Python language bindings: $build_pytinymail" trunk/libtinymail/tny-folder.c
r1737 r1810 887 887 * @user_data: user data for the callback 888 888 * 889 * Get a message in @self identified by @header. You must unreference the 890 * return value after use. 889 * Get a message in @self identified by @header. 891 890 * 892 891 * If you want to use this functionality, it's advised to let your application trunk/tests/c-demo/tny-demoui-summary-view.c
r1806 r1810 500 500 mode = gtk_tree_selection_get_mode (selection); 501 501 502 g_mutex_lock (priv->monitor_lock);503 {504 if (priv->monitor)505 {506 tny_folder_monitor_stop (priv->monitor);507 g_object_unref (G_OBJECT (priv->monitor));508 }509 }510 g_mutex_unlock (priv->monitor_lock);511 512 502 if (mode == GTK_SELECTION_SINGLE) 513 503 { … … 549 539 g_mutex_lock (priv->monitor_lock); 550 540 { 541 if (priv->monitor) { 542 tny_folder_monitor_stop (priv->monitor); 543 g_object_unref (G_OBJECT (priv->monitor)); 544 } 551 545 priv->monitor = TNY_FOLDER_MONITOR (tny_folder_monitor_new (folder)); 552 546 tny_folder_monitor_add_list (priv->monitor, TNY_LIST (hmodel)); … … 572 566 refresh_current_folder, 573 567 refresh_current_folder_status_update, user_data); 574 575 568 576 569 g_object_unref (G_OBJECT (folder)); … … 611 604 g_mutex_lock (priv->monitor_lock); 612 605 { 606 if (priv->monitor) { 607 tny_folder_monitor_stop (priv->monitor); 608 g_object_unref (G_OBJECT (priv->monitor)); 609 } 613 610 priv->monitor = TNY_FOLDER_MONITOR (tny_folder_monitor_new (merge)); 614 611 tny_folder_monitor_add_list (priv->monitor, TNY_LIST (hmodel));
