svnno****@sourc*****
svnno****@sourc*****
Tue Feb 17 11:41:26 JST 2009
Revision: 3726 http://svn.sourceforge.jp/view?root=kazehakase&view=rev&rev=3726 Author: ikezoe Date: 2009-02-17 11:41:26 +0900 (Tue, 17 Feb 2009) Log Message: ----------- Emit "load-start" signal in cb_downloader_start. Modified Paths: -------------- kazehakase/trunk/src/bookmarks/Makefile.am kazehakase/trunk/src/bookmarks/kz-bookmark-file.c Modified: kazehakase/trunk/src/bookmarks/Makefile.am =================================================================== --- kazehakase/trunk/src/bookmarks/Makefile.am 2009-02-17 02:21:44 UTC (rev 3725) +++ kazehakase/trunk/src/bookmarks/Makefile.am 2009-02-17 02:41:26 UTC (rev 3726) @@ -30,6 +30,7 @@ kz-root-bookmark.h \ kz-smart-bookmark.h \ kz-bookmark-file.h \ + kz-xmlrpc-bookmark.h \ kz-bookmark-separator.h \ kz-bookmark-filter.h \ kz-bookmark-folder.h \ @@ -71,6 +72,7 @@ kz-root-bookmark.c \ kz-smart-bookmark.c \ kz-bookmark-file.c \ + kz-xmlrpc-bookmark.c \ kz-bookmark-folder.c \ kz-bookmark-separator.c \ kz-bookmark-filter.c \ Modified: kazehakase/trunk/src/bookmarks/kz-bookmark-file.c =================================================================== --- kazehakase/trunk/src/bookmarks/kz-bookmark-file.c 2009-02-17 02:21:44 UTC (rev 3725) +++ kazehakase/trunk/src/bookmarks/kz-bookmark-file.c 2009-02-17 02:41:26 UTC (rev 3726) @@ -748,6 +748,9 @@ static void cb_downloader_start (KzDownloader *downloader, gpointer data) { + g_signal_emit(data, + kz_bookmark_file_signals[LOAD_START_SIGNAL], + 0); } static void @@ -825,10 +828,6 @@ last_mod = kz_bookmark_get_last_modified(KZ_BOOKMARK(bookmark_file)); g_object_set(bookmark_file, "previous-last-modified", last_mod, NULL); - g_signal_emit(bookmark_file, - kz_bookmark_file_signals[LOAD_START_SIGNAL], - 0); - kz_bookmark_folder_remove_all(KZ_BOOKMARK_FOLDER(bookmark_file)); if (priv->downloader)