aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2005-05-02 05:27:56 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2005-05-02 05:27:56 +0000
commitf4f964e4f2c29d9a0709ce4423b0c47f802874bb (patch)
tree52658cc5e629f930f3a73010ccf124f2c98b140b /src
parented8225270aa79262e1c29519a62a7faede6c4dbe (diff)
prefs_filter_edit.c: display unit on AGE condition.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@234 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'src')
-rw-r--r--src/prefs_filter_edit.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/prefs_filter_edit.c b/src/prefs_filter_edit.c
index 9a03d1ef..dab17a12 100644
--- a/src/prefs_filter_edit.c
+++ b/src/prefs_filter_edit.c
@@ -1044,6 +1044,7 @@ static void prefs_filter_edit_set_cond_hbox_widgets(CondHBox *hbox,
gtk_widget_hide(hbox->key_entry);
gtk_widget_show(hbox->spin_btn);
gtk_widget_show(hbox->label);
+ gtk_label_set_text(GTK_LABEL(hbox->label), _("KB"));
break;
case PF_COND_AGE:
gtk_widget_hide(hbox->match_type_optmenu);
@@ -1051,7 +1052,8 @@ static void prefs_filter_edit_set_cond_hbox_widgets(CondHBox *hbox,
gtk_widget_show(hbox->age_match_optmenu);
gtk_widget_hide(hbox->key_entry);
gtk_widget_show(hbox->spin_btn);
- gtk_widget_hide(hbox->label);
+ gtk_widget_show(hbox->label);
+ gtk_label_set_text(GTK_LABEL(hbox->label), _("day(s)"));
break;
case PF_COND_ACCOUNT:
gtk_widget_hide(hbox->match_type_optmenu);