diff --git a/src/astrognome.c b/src/astrognome.c index 799ad93..03f487e 100644 --- a/src/astrognome.c +++ b/src/astrognome.c @@ -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 diff --git a/src/astrognome.h b/src/astrognome.h index 682e05a..6ad04e8 100644 --- a/src/astrognome.h +++ b/src/astrognome.h @@ -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);