- i++; list = g_list_next(list);
- }
-
- return i;
-}
-
-
-GtkWidget *make_poparchive(GtkWidget *label)
-{
-GtkListStore *store;
-GtkWidget *combobox;
-GtkCellRenderer *renderer;
-
- //store
- store = gtk_list_store_new (1, G_TYPE_STRING);
- combobox = gtk_combo_box_new_with_model (GTK_TREE_MODEL(store));
- g_object_unref(store);
- renderer = gtk_cell_renderer_text_new ();
- gtk_cell_layout_pack_start (GTK_CELL_LAYOUT (combobox), renderer, TRUE);
- gtk_cell_layout_set_attributes (GTK_CELL_LAYOUT (combobox), renderer, "text", 0, NULL);
-
- if(label)
- gtk_label_set_mnemonic_widget (GTK_LABEL(label), combobox);
-
- return combobox;
-}
-
-/* = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = */
-
-/**
- * free_combobox_icons:
- *
- * generic function to free combobox icons
- *
- */
-static void free_combobox_icons(GdkPixbuf **storage, guint max)
-{
-guint i;
-
- for(i=0;i<max;i++)
- {
- if(storage[i] != NULL)
- g_object_unref(storage[i]);
- }
-}
-
-/**
- * load_combobox_icons:
- *
- * generic function to load combobox icons
- *
- */
-static void load_combobox_icons(gchar **filenames, GdkPixbuf **storage, guint max)