svnno****@sourc*****
svnno****@sourc*****
Thu Apr 12 15:11:53 JST 2007
Revision: 3169 http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=kazehakase&view=rev&rev=3169 Author: makeinu Date: 2007-04-12 15:11:52 +0900 (Thu, 12 Apr 2007) Log Message: ----------- Restore current page of the session correctly. Modified Paths: -------------- kazehakase/trunk/ChangeLog kazehakase/trunk/src/kz-window.c Modified: kazehakase/trunk/ChangeLog =================================================================== --- kazehakase/trunk/ChangeLog 2007-04-12 05:55:13 UTC (rev 3168) +++ kazehakase/trunk/ChangeLog 2007-04-12 06:11:52 UTC (rev 3169) @@ -1,3 +1,7 @@ +2007-04-12 Takuro Ashie <ashie****@homa*****> + + * src/kz-window.c: Restore current page of the session correctly. + 2007-04-12 Kouhei Sutou <kou****@cozmi*****> * data/ext/ruby/kazehakase-init-pre.rb: don't handle GLib message Modified: kazehakase/trunk/src/kz-window.c =================================================================== --- kazehakase/trunk/src/kz-window.c 2007-04-12 05:55:13 UTC (rev 3168) +++ kazehakase/trunk/src/kz-window.c 2007-04-12 06:11:52 UTC (rev 3169) @@ -2020,7 +2020,9 @@ kz_actions_set_tab_sensitive(kz, kzembed); /* set current_position in history */ - kz_bookmark_set_current(kz->tabs, page_num); + /* FIXME: KzSession should block automatically */ + if (!kz_session_is_frozen(KZ_SESSION(KZ_GET_CURRENT_SESSION))) + kz_bookmark_set_current(kz->tabs, page_num); } static void