Enlightenment CVS committal
Author : handyande
Project : e17
Module : apps/e
Dir : e17/apps/e/src/modules/itray
Modified Files:
e_mod_config.c e_mod_main.h
Log Message:
Move the manipulation of user specified policy flags (ALLOW_OVERLAP and
ALWAYS_ON_TOP (not used yet)) to the gadman edit menu, saves a LOT of code
inside modules
===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/e/src/modules/itray/e_mod_config.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -3 -r1.5 -r1.6
--- e_mod_config.c 13 Feb 2006 15:46:18 -0000 1.5
+++ e_mod_config.c 12 Mar 2006 16:12:58 -0000 1.6
@@ -9,7 +9,6 @@
struct _cfdata
{
int rowsize;
- int allow_overlap;
};
struct _Cfg_File_Data
@@ -51,7 +50,6 @@
_fill_data(ITray *ib, CFData *cfdata)
{
cfdata->rowsize = ib->conf->rowsize;
- cfdata->allow_overlap = ib->conf->allow_overlap;
}
static void *
@@ -83,11 +81,6 @@
o = e_widget_list_add(evas, 0, 0);
- of = e_widget_framelist_add(evas, _("Extras"), 0);
- ob = e_widget_check_add(evas, _("Allow windows to overlap this gadget"),
&(cfdata->allow_overlap));
- e_widget_framelist_object_append(of, ob);
- e_widget_list_object_append(o, of, 1, 1, 0.5);
-
return o;
}
@@ -97,10 +90,6 @@
ITray *ib;
ib = cfd->data;
- if (cfdata->allow_overlap && !ib->conf->allow_overlap)
- ib->conf->allow_overlap = 1;
- else if (!cfdata->allow_overlap && ib->conf->allow_overlap)
- ib->conf->allow_overlap = 0;
e_config_save_queue();
_itray_box_cb_config_updated(ib);
@@ -119,11 +108,6 @@
e_widget_framelist_object_append(of, ob);
e_widget_list_object_append(o, of, 1, 1, 0.5);
- of = e_widget_framelist_add(evas, _("Extras"), 0);
- ob = e_widget_check_add(evas, _("Allow windows to overlap this gadget"),
&(cfdata->allow_overlap));
- e_widget_framelist_object_append(of, ob);
- e_widget_list_object_append(o, of, 1, 1, 0.5);
-
return o;
}
@@ -136,10 +120,6 @@
e_border_button_bindings_ungrab_all();
if (cfdata->rowsize != ib->conf->rowsize)
ib->conf->rowsize = cfdata->rowsize;
- if (cfdata->allow_overlap && !ib->conf->allow_overlap)
- ib->conf->allow_overlap = 1;
- else if (!cfdata->allow_overlap && ib->conf->allow_overlap)
- ib->conf->allow_overlap = 0;
e_border_button_bindings_grab_all();
e_config_save_queue();
===================================================================
RCS file: /cvsroot/enlightenment/e17/apps/e/src/modules/itray/e_mod_main.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- e_mod_main.h 1 Feb 2006 09:36:56 -0000 1.2
+++ e_mod_main.h 12 Mar 2006 16:12:58 -0000 1.3
@@ -18,7 +18,6 @@
int rowsize;
int width;
Evas_List *boxes;
- int allow_overlap;
};
struct _Config_Box
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs