aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2012-01-19 08:07:46 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2012-01-19 08:07:46 +0000
commit82acd302b6c178d1068535ecfbeaeecdae1bd57e (patch)
tree02b3f60223366676b6761d4f9da7bc508ae29113
parent1c5e07140eac1ee51cb0b6bd0949ed3cb6b2e04b (diff)
made 'is shorter than' default for 'Age' condition on filter/search dialog.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@3015 ee746299-78ed-0310-b773-934348b2243d
-rw-r--r--ChangeLog5
-rw-r--r--src/prefs_filter_edit.c4
-rw-r--r--src/prefs_filter_edit.h4
3 files changed, 9 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index 25e62cf9..0672579c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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