[Kazehakase-cvs] CVS update: kazehakase/src/actions

Back to archive index

Kouhei Sutou kous****@users*****
Tue Apr 25 11:45:41 JST 2006


Index: kazehakase/src/actions/kz-actions-popup.c
diff -u kazehakase/src/actions/kz-actions-popup.c:1.57 kazehakase/src/actions/kz-actions-popup.c:1.58
--- kazehakase/src/actions/kz-actions-popup.c:1.57	Sat Jan 14 19:01:52 2006
+++ kazehakase/src/actions/kz-actions-popup.c	Tue Apr 25 11:45:41 2006
@@ -457,10 +457,9 @@
 
 
 GtkActionGroup *
-kz_actions_popup_create_group (KzWindow *kz, GtkAccelGroup *accel_group)
+kz_actions_popup_create_group (KzWindow *kz)
 {
 	GtkActionGroup *action_group;
-	GList *node, *action_list;
 
 	action_group = gtk_action_group_new("KzWindowPopup");
 
@@ -471,16 +470,6 @@
 				     kz_actions_popup_len,
 				     kz);
 
-	action_list = gtk_action_group_list_actions(action_group);
-	
-	for (node = action_list; node; node = g_list_next(node))
-	{
-		gtk_action_set_accel_group(GTK_ACTION(node->data),
-					   accel_group);
-		gtk_action_connect_accelerator(GTK_ACTION(node->data));
-	}
-	g_list_free(action_list);
-
 	return action_group;
 }
 
Index: kazehakase/src/actions/kz-actions-popup.h
diff -u kazehakase/src/actions/kz-actions-popup.h:1.5 kazehakase/src/actions/kz-actions-popup.h:1.6
--- kazehakase/src/actions/kz-actions-popup.h:1.5	Sat Oct 23 19:24:36 2004
+++ kazehakase/src/actions/kz-actions-popup.h	Tue Apr 25 11:45:41 2006
@@ -37,8 +37,7 @@
 extern GtkActionEntry      kz_actions_popup[];
 extern const gint          kz_actions_popup_len;
 
-GtkActionGroup *kz_actions_popup_create_group (KzWindow      *kz,
-					       GtkAccelGroup *accel_group);
+GtkActionGroup *kz_actions_popup_create_group (KzWindow      *kz);
 
 void            kz_actions_popup_menu_modal   (KzWindow      *kz,
 					       guint          button,
Index: kazehakase/src/actions/kz-actions-tab.c
diff -u kazehakase/src/actions/kz-actions-tab.c:1.37 kazehakase/src/actions/kz-actions-tab.c:1.38
--- kazehakase/src/actions/kz-actions-tab.c:1.37	Tue Mar  7 01:39:26 2006
+++ kazehakase/src/actions/kz-actions-tab.c	Tue Apr 25 11:45:41 2006
@@ -434,10 +434,9 @@
 
 
 GtkActionGroup *
-kz_actions_tab_popup_create_group (KzWindow *kz, GtkAccelGroup *accel_group)
+kz_actions_tab_popup_create_group (KzWindow *kz)
 {
 	GtkActionGroup *action_group;
-	GList *node, *action_list;
 
 	action_group = gtk_action_group_new("KzWindowTabPopup");
 
@@ -452,16 +451,6 @@
 					    kz_toggle_actions_tab,
 					    kz_toggle_actions_tab_len,
 					    kz);
-	
-	action_list = gtk_action_group_list_actions(action_group);
-	
-	for (node = action_list; node; node = g_list_next(node))
-	{
-		gtk_action_set_accel_group(GTK_ACTION(node->data),
-					   accel_group);
-		gtk_action_connect_accelerator(GTK_ACTION(node->data));
-	}
-	g_list_free(action_list);
 
 	return action_group;
 }
Index: kazehakase/src/actions/kz-actions-tab.h
diff -u kazehakase/src/actions/kz-actions-tab.h:1.5 kazehakase/src/actions/kz-actions-tab.h:1.6
--- kazehakase/src/actions/kz-actions-tab.h:1.5	Thu Sep 30 09:06:06 2004
+++ kazehakase/src/actions/kz-actions-tab.h	Tue Apr 25 11:45:41 2006
@@ -37,8 +37,7 @@
 extern GtkActionEntry kz_actions_tab[];
 extern const gint     kz_actions_tab_len;
 
-GtkActionGroup *kz_actions_tab_popup_create_group (KzWindow      *kz,
-						   GtkAccelGroup *accel_group);
+GtkActionGroup *kz_actions_tab_popup_create_group (KzWindow      *kz);
 
 void            kz_actions_tab_popup_menu_modal   (KzTabLabel    *kztab,
 						   guint          button,
Index: kazehakase/src/actions/kz-actions.c
diff -u kazehakase/src/actions/kz-actions.c:1.221 kazehakase/src/actions/kz-actions.c:1.222
--- kazehakase/src/actions/kz-actions.c:1.221	Wed Mar 29 12:23:18 2006
+++ kazehakase/src/actions/kz-actions.c	Tue Apr 25 11:45:41 2006
@@ -2522,11 +2522,10 @@
 
 
 GtkActionGroup *
-kz_actions_create_group (KzWindow *kz, GtkAccelGroup *accel_group)
+kz_actions_create_group (KzWindow *kz)
 {
 	GtkActionGroup *action_group;
 	GtkAction *action;
-	GList *node, *action_list;
 
 	action_group = gtk_action_group_new("KzWindow");
 	gtk_action_group_set_translation_domain(action_group, NULL);
@@ -2593,16 +2592,6 @@
 		g_object_unref(action);
 	}
 
-	action_list = gtk_action_group_list_actions(action_group);
-	
-	for (node = action_list; node; node = g_list_next(node))
-	{
-		gtk_action_set_accel_group(GTK_ACTION(node->data),
-					   accel_group);
-		gtk_action_connect_accelerator(GTK_ACTION(node->data));
-	}
-	g_list_free(action_list);
-
 	return action_group;
 }
 
Index: kazehakase/src/actions/kz-actions.h
diff -u kazehakase/src/actions/kz-actions.h:1.12 kazehakase/src/actions/kz-actions.h:1.13
--- kazehakase/src/actions/kz-actions.h:1.12	Thu Jan 13 12:22:03 2005
+++ kazehakase/src/actions/kz-actions.h	Tue Apr 25 11:45:41 2006
@@ -40,8 +40,7 @@
 extern GtkActionEntry kz_actions[];
 extern const gint     kz_actions_len;
 
-GtkActionGroup *kz_actions_create_group              (KzWindow      *kz,
-						      GtkAccelGroup *accel_group);
+GtkActionGroup *kz_actions_create_group              (KzWindow      *kz);
 
 void            kz_actions_set_sensitive             (KzWindow      *kz,
 						      KzEmbed       *kzembed);


More information about the Kazehakase-cvs mailing list
Back to archive index