void
gl_paper_init (void)
{
- GList *page_sizes, *p;
+ glPaper *other;
gl_debug (DEBUG_PAPER, "START");
papers = read_papers ();
+ /* Create and append an "Other" entry. */
+ other = g_new0 (glPaper,1);
+ other->id = g_strdup ("Other");
+ other->name = g_strdup (_("Other"));
+ papers = g_list_append (papers, other);
+
gl_debug (DEBUG_PAPER, "END");
}
ids = g_list_append (ids, g_strdup (paper->id));
}
- ids = g_list_append (ids, g_strdup ("Other"));
-
gl_debug (DEBUG_PAPER, "END");
return ids;
}
names = g_list_append (names, g_strdup (paper->name));
}
- names = g_list_append (names, g_strdup ("Other"));
-
gl_debug (DEBUG_PAPER, "END");
return names;
}