[Kazehakase-cvs] CVS update: kazehakase/src

Zurück zum Archiv-Index

Hiroyuki Ikezoe ikezo****@users*****
Sat Jan 6 11:42:25 JST 2007


Index: kazehakase/src/kz-window.c
diff -u kazehakase/src/kz-window.c:1.307 kazehakase/src/kz-window.c:1.308
--- kazehakase/src/kz-window.c:1.307	Sat Jan  6 11:29:43 2007
+++ kazehakase/src/kz-window.c	Sat Jan  6 11:42:25 2007
@@ -369,9 +369,9 @@
 
 	accel_group = gtk_ui_manager_get_accel_group(kz->menu_merge);
 
-	kz_window_setup_action_group (kz->actions, accel_group);
-	kz_window_setup_action_group (kz->popup_actions, accel_group);
-	kz_window_setup_action_group (kz->tabpop_actions, accel_group);
+	kz_window_setup_action_group(kz->actions, accel_group);
+	kz_window_setup_action_group(kz->popup_actions, accel_group);
+	kz_window_setup_action_group(kz->tabpop_actions, accel_group);
 }
 
 static void
@@ -880,6 +880,7 @@
 {
 	GList *childtabs, *tabnode;
 	KzWindowPrivate *priv;
+	KzEmbed *curembed;
 	gint pos;
 	g_return_if_fail(KZ_IS_WINDOW(kz));
 
@@ -920,6 +921,10 @@
 
 	pos = kz_bookmark_get_current(tabs);
 	gtk_notebook_set_current_page(GTK_NOTEBOOK(kz->notebook), pos);
+	curembed = KZ_EMBED(KZ_WINDOW_NTH_PAGE(kz, pos));
+	kz_window_set_cur_embed_callbacks(kz, curembed);
+	kz_actions_set_sensitive(kz, curembed);
+	kz_actions_set_tab_sensitive(kz, curembed);
 }
 
 


More information about the Kazehakase-cvs mailing list
Zurück zum Archiv-Index