Enlightenment CVS committal
Author : kwo
Project : e16
Module : e
Dir : e16/e/src
Modified Files:
backgrounds.c
Log Message:
Add background transparency "compatibility mode" option to configuration dialog.
===================================================================
RCS file: /cvs/e/e16/e/src/backgrounds.c,v
retrieving revision 1.75
retrieving revision 1.76
diff -u -3 -r1.75 -r1.76
--- backgrounds.c 14 May 2006 16:01:17 -0000 1.75
+++ backgrounds.c 28 May 2006 11:09:46 -0000 1.76
@@ -1454,6 +1454,7 @@
static int tmp_bg_yperc;
static char tmp_hiq;
static char tmp_userbg;
+static char tmp_root_hint;
static int tmp_bg_timeout;
static void BG_RedrawView(void);
@@ -1476,6 +1477,7 @@
Conf.backgrounds.timeout = tmp_bg_timeout;
Conf.backgrounds.hiquality = tmp_hiq;
Conf.backgrounds.user = tmp_userbg;
+ Conf.hints.set_xroot_info_on_root_window = tmp_root_hint;
ESetColor(&(tmp_bg->bg_solid), tmp_bg_r, tmp_bg_g, tmp_bg_b);
tmp_bg->bg_tile = tmp_bg_tile;
@@ -2014,6 +2016,7 @@
tmp_hiq = Conf.backgrounds.hiquality;
tmp_userbg = Conf.backgrounds.user;
+ tmp_root_hint = Conf.hints.set_xroot_info_on_root_window;
tmp_bg_timeout = Conf.backgrounds.timeout;
d = bg_sel_dialog = DialogCreate("CONFIGURE_BG");
@@ -2256,6 +2259,15 @@
DialogItemSetColSpan(di, 3);
DialogItemSetAlign(di, 512, 512);
BG_DialogSetFileName(bg_filename);
+
+ di = DialogAddItem(table, DITEM_SEPARATOR);
+ DialogItemSetColSpan(di, 3);
+
+ di = DialogAddItem(table, DITEM_CHECKBUTTON);
+ DialogItemSetColSpan(di, 3);
+ DialogItemSetText(di,
+ _("Enable background transparency compatibility mode"));
+ DialogItemCheckButtonSetPtr(di, &tmp_root_hint);
DialogAddFooter(d, DLG_OAC, CB_ConfigureBG);
-------------------------------------------------------
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs