diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | src/prefs_filter_edit.c | 4 | ||||
-rw-r--r-- | src/prefs_filter_edit.h | 4 |
3 files changed, 9 insertions, 4 deletions
@@ -1,3 +1,8 @@ +2012-01-19 + + * src/prefs_filter_edit.[ch]: made 'is shorter than' default for 'Age' + condition. + 2012-01-18 * src/plugin.[ch] diff --git a/src/prefs_filter_edit.c b/src/prefs_filter_edit.c index 64da3a99..1af4557e 100644 --- a/src/prefs_filter_edit.c +++ b/src/prefs_filter_edit.c @@ -568,8 +568,8 @@ CondHBox *prefs_filter_edit_cond_hbox_create(FilterCondEdit *cond_edit) menu = gtk_menu_new(); gtk_widget_show(menu); - MENUITEM_ADD(menu, menuitem, _("is longer than"), PF_AGE_LONGER); MENUITEM_ADD(menu, menuitem, _("is shorter than"), PF_AGE_SHORTER); + MENUITEM_ADD(menu, menuitem, _("is longer than"), PF_AGE_LONGER); gtk_option_menu_set_menu(GTK_OPTION_MENU(age_match_optmenu), menu); status_match_optmenu = gtk_option_menu_new(); @@ -793,7 +793,7 @@ void prefs_filter_edit_cond_hbox_set(CondHBox *hbox, FilterCond *cond) CondMenuType cond_type = PF_COND_NONE; MatchMenuType match_type = PF_MATCH_NONE; SizeMatchType size_type = PF_SIZE_LARGER; - AgeMatchType age_type = PF_AGE_LONGER; + AgeMatchType age_type = PF_AGE_SHORTER; StatusMatchType status_type = PF_STATUS_MATCH; switch (cond->type) { diff --git a/src/prefs_filter_edit.h b/src/prefs_filter_edit.h index c6f056fa..eede66c8 100644 --- a/src/prefs_filter_edit.h +++ b/src/prefs_filter_edit.h @@ -68,8 +68,8 @@ typedef enum typedef enum { - PF_AGE_LONGER, - PF_AGE_SHORTER + PF_AGE_SHORTER, + PF_AGE_LONGER } AgeMatchType; typedef enum |