From 01b7be2da9eba76dee915bce2a8430aca35ace0b Mon Sep 17 00:00:00 2001 From: Christopher Michael Date: Wed, 1 Nov 2006 14:16:38 +0000 Subject: [PATCH] Make entry widgets in the fsel preview read-only...a user should not be able to edit these here. SVN revision: 26899 --- src/bin/e_widget_fsel.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/bin/e_widget_fsel.c b/src/bin/e_widget_fsel.c index 24b09ab..dbb1231 100644 --- a/src/bin/e_widget_fsel.c +++ b/src/bin/e_widget_fsel.c @@ -328,6 +328,7 @@ e_widget_fsel_add(Evas *evas, const char *dev, const char *path, char *selected, 0, 0, 1, 1, 1, 1, 1, 1); o = e_widget_entry_add(evas, &(wd->preview_size_text)); + e_widget_entry_readonly_set(o, 1); wd->o_preview_size_entry = o; e_widget_sub_object_add(obj, o); e_widget_min_size_set(o, 100, -1); @@ -343,6 +344,7 @@ e_widget_fsel_add(Evas *evas, const char *dev, const char *path, char *selected, 0, 1, 1, 1, 1, 1, 1, 1); o = e_widget_entry_add(evas, &(wd->preview_owner_text)); + e_widget_entry_readonly_set(o, 1); wd->o_preview_owner_entry = o; e_widget_sub_object_add(obj, o); e_widget_min_size_set(o, 100, -1); @@ -358,6 +360,7 @@ e_widget_fsel_add(Evas *evas, const char *dev, const char *path, char *selected, 0, 2, 1, 1, 1, 1, 1, 1); o = e_widget_entry_add(evas, &(wd->preview_perms_text)); + e_widget_entry_readonly_set(o, 1); wd->o_preview_perms_entry = o; e_widget_sub_object_add(obj, o); e_widget_min_size_set(o, 100, -1); @@ -373,6 +376,7 @@ e_widget_fsel_add(Evas *evas, const char *dev, const char *path, char *selected, 0, 3, 1, 1, 1, 1, 1, 1); o = e_widget_entry_add(evas, &(wd->preview_time_text)); + e_widget_entry_readonly_set(o, 1); wd->o_preview_time_entry = o; e_widget_sub_object_add(obj, o); e_widget_min_size_set(o, 100, -1); -- 2.7.4