Exemplo n.º 1
0
/*
 * Fill the list widget with a list of the plugin modules.
 * XXX - We might want to combine this with plugins_dump_all().
 */
static void
plugins_add_description(const char *name, const char *version,
                        const char *types, const char *filename,
                        void *user_data)
{
    GtkWidget *list = (GtkWidget *)user_data;

    simple_list_append(list, 0, name, 1, version,
                       2, types, 3, filename, -1);
}
Exemplo n.º 2
0
static void
add_string_to_list(GtkWidget *list, const gchar *title, gchar *captured,
                   gchar *displayed, gchar *pct_displayed, gchar *marked,
                   gchar *pct_marked)
{
    simple_list_append(list,
                       0, title,
                       1, captured,
                       2, displayed,
                       3, pct_displayed,
                       4, marked,
                       5, pct_marked,
                       -1);
}
Exemplo n.º 3
0
static void
about_folders_row(GtkWidget *table, const char *label, const char *dir, const char *tip)
{
  simple_list_append(table, 0, label, 1, dir, 2, tip, -1);
}