Hiroyuki Ikezoe
ikezo****@users*****
Sun Dec 31 19:27:47 JST 2006
Index: kazehakase/src/main.c diff -u kazehakase/src/main.c:1.128 kazehakase/src/main.c:1.129 --- kazehakase/src/main.c:1.128 Sun Dec 31 11:37:18 2006 +++ kazehakase/src/main.c Sun Dec 31 19:27:47 2006 @@ -55,8 +55,6 @@ static GOptionContext *context; static GOptionGroup *main_group; -gboolean is_restoring_session = FALSE; - static void activate_action(const gchar *text); /****************************************************************************** Index: kazehakase/src/kazehakase.h diff -u kazehakase/src/kazehakase.h:1.43 kazehakase/src/kazehakase.h:1.44 --- kazehakase/src/kazehakase.h:1.43 Sun Dec 31 10:59:40 2006 +++ kazehakase/src/kazehakase.h Sun Dec 31 19:27:47 2006 @@ -52,7 +52,6 @@ const gchar *kz_ui_level_to_str (KzUILevel level); extern KzApp *kz_app; -extern gboolean is_restoring_session; #define KZ_CONF_GET(s, k, v, t) \ kz_profile_get_value(kz_app_get_profile(kz_app), \ Index: kazehakase/src/kz-window.c diff -u kazehakase/src/kz-window.c:1.278 kazehakase/src/kz-window.c:1.279 --- kazehakase/src/kz-window.c:1.278 Sun Dec 31 10:59:40 2006 +++ kazehakase/src/kz-window.c Sun Dec 31 19:27:47 2006 @@ -2419,7 +2419,7 @@ priv->view_hist = g_list_prepend(priv->view_hist, kzembed); /* set current_position in history */ - if (!kz->is_closing_all && !is_restoring_session) + if (!kz->is_closing_all) { kz_bookmark_set_current(kz->tabs, page_num); kz_window_store_session(kz);