aboutsummaryrefslogtreecommitdiffstats
path: root/src/bin/options_font.c
diff options
context:
space:
mode:
authorCarsten Haitzler <raster@rasterman.com>2012-12-27 11:20:32 +0000
committerCarsten Haitzler <raster@rasterman.com>2012-12-27 11:20:32 +0000
commite401e8766047c71c5d9c2385b6de2c457db92228 (patch)
tree5e55db9591536f5b04b6f85e159c9ca5da25f24f /src/bin/options_font.c
parentSpec and build dependency fixes. (diff)
downloadterminology-e401e8766047c71c5d9c2385b6de2c457db92228.tar.gz
terminology can do multi instance now (in a single process). that
means 2 or 3 or more windows == same terminology process. there is a checkbox to turn it on. in theory it CAN do multipe terms within 1 windows, except there's incomplete sizing logic code for hansling step sizing and min size with multielp terms in the same window (imagine u laid them out in a table grid... all we need is a table and pack n terms in and presto.. but the sizing will be "bizarre" at the moment)... if they are packed on top of eachother like a notebook... sure - but no notebook widget and no way to sensibly display and switch... but the code infra now all supports it in theory. this is more about testing and making that infra work. first will probably be a grid layout of some sort because frankly... it's easier. but for now... lets get this multi-instance fun on the table. SVN revision: 81740
Diffstat (limited to 'src/bin/options_font.c')
-rw-r--r--src/bin/options_font.c13
1 files changed, 12 insertions, 1 deletions
diff --git a/src/bin/options_font.c b/src/bin/options_font.c
index 46a0655..f4df049 100644
--- a/src/bin/options_font.c
+++ b/src/bin/options_font.c
@@ -84,8 +84,19 @@ static void
_cb_op_font_preview_del(void *data __UNUSED__, Evas *e __UNUSED__, Evas_Object *obj, void *event __UNUSED__)
{
Evas_Object *o;
+ Ecore_Timer *timer = evas_object_data_get(obj, "delay");
+
+ if (timer)
+ {
+ ecore_timer_del(timer);
+ evas_object_data_del(obj, "delay");
+ }
+
o = edje_object_part_swallow_get(obj, "terminology.text.preview");
- if (o) evas_object_del(o);
+ if (o)
+ {
+ evas_object_del(o);
+ }
}
static Eina_Bool