comparison src/layout_util.c @ 569:fd51eac09ead

Use GQ_EDITOR_GENERIC_SLOTS instead of hardcoded value.
author zas_
date Sun, 04 May 2008 00:16:37 +0000
parents fe675761d091
children 6867a444839c
comparison
equal deleted inserted replaced
568:04d4bdf5a2d8 569:fd51eac09ead
857 857
858 /* main edit menu */ 858 /* main edit menu */
859 859
860 if (!lw->action_group) return; 860 if (!lw->action_group) return;
861 861
862 for (i = 0; i < 10; i++) 862 for (i = 0; i < GQ_EDITOR_GENERIC_SLOTS; i++)
863 { 863 {
864 gchar *key; 864 gchar *key;
865 GtkAction *action; 865 GtkAction *action;
866 866
867 key = g_strdup_printf("Editor%d", i); 867 key = g_strdup_printf("Editor%d", i);