Create .hor filter for Placidus files
This commit is contained in:
parent
ea3389aadd
commit
6e847d83ed
@ -18,6 +18,7 @@
|
||||
GtkBuilder *builder;
|
||||
GtkFileFilter *filter_all = NULL;
|
||||
GtkFileFilter *filter_chart = NULL;
|
||||
GtkFileFilter *filter_hor = NULL;
|
||||
GHashTable *xinclude_positions;
|
||||
|
||||
const char *moonStateName[] = {
|
||||
@ -44,6 +45,11 @@ init_filters(void)
|
||||
gtk_file_filter_set_name(filter_chart, _("Astrognome charts"));
|
||||
gtk_file_filter_add_pattern(filter_chart, "*.agc");
|
||||
g_object_ref_sink(filter_chart);
|
||||
|
||||
filter_hor = gtk_file_filter_new();
|
||||
gtk_file_filter_set_name(filter_hor, _("Placidus charts"));
|
||||
gtk_file_filter_add_pattern(filter_hor, "*.hor");
|
||||
g_object_ref_sink(filter_hor);
|
||||
}
|
||||
|
||||
static int
|
||||
|
@ -11,6 +11,7 @@ typedef struct {
|
||||
|
||||
extern GtkFileFilter *filter_all;
|
||||
extern GtkFileFilter *filter_chart;
|
||||
extern GtkFileFilter *filter_hor;
|
||||
|
||||
const gchar *ag_house_system_id_to_nick(GsweHouseSystem house_system);
|
||||
GsweHouseSystem ag_house_system_nick_to_id(const gchar *nick);
|
||||
|
Loading…
Reference in New Issue
Block a user