From 01898dc200f1f8f6ee9f77b93aa0a0ed283bf84f Mon Sep 17 00:00:00 2001 From: Chong Yidong Date: Sun, 24 Oct 2010 19:40:55 -0400 Subject: Avoid inline image variables for checkboxes (Bug#7222). * etc/images/checked.xpm: * etc/images/unchecked.xpm: New images. * image.el (image-checkbox-checked, image-checkbox-unchecked): Deleted (Bug#7222). * startup.el (fancy-startup-tail): Instead of using inline images, refer to image files from etc/. * wid-edit.el (checkbox): Likewise. (widget-image-find): Center image specs. --- etc/ChangeLog | 5 +++++ etc/images/checked.xpm | 20 ++++++++++++++++++++ etc/images/unchecked.xpm | 20 ++++++++++++++++++++ 3 files changed, 45 insertions(+) create mode 100644 etc/images/checked.xpm create mode 100644 etc/images/unchecked.xpm (limited to 'etc') diff --git a/etc/ChangeLog b/etc/ChangeLog index ce5ec4cdff9..4d074790f22 100644 --- a/etc/ChangeLog +++ b/etc/ChangeLog @@ -1,3 +1,8 @@ +2010-10-24 Chong Yidong + + * images/checked.xpm: + * images/unchecked.xpm: New images. + 2010-10-20 Richard Stallman * DISTRIB: Update donation section. diff --git a/etc/images/checked.xpm b/etc/images/checked.xpm new file mode 100644 index 00000000000..4dbcb9e6fdd --- /dev/null +++ b/etc/images/checked.xpm @@ -0,0 +1,20 @@ +/* XPM */ +static char * checked_xpm[] = { +"12 12 5 1", +" c None", +". c gray20", +"+ c white", +"@ c gray70", +"# c black", +"............", +"............", +"..@@@@@@##+.", +"..@@@@@@##+.", +"..#@@@@##@+.", +"..##@@@##@+.", +"..###@##@@+.", +"..@#####@@+.", +"..@@###@@@+.", +"..@++##++++.", +".@+++++++++.", +"............"}; diff --git a/etc/images/unchecked.xpm b/etc/images/unchecked.xpm new file mode 100644 index 00000000000..85eec75230e --- /dev/null +++ b/etc/images/unchecked.xpm @@ -0,0 +1,20 @@ +/* XPM */ +static char * unchecked_xpm[] = { +"12 12 5 1", +" c None", +". c gray20", +"+ c white", +"@ c gray70", +"# c black", +"............", +"............", +"..@@@@@@@@+.", +"..@@@@@@@@+.", +"..@@@@@@@@+.", +"..@@@@@@@@+.", +"..@@@@@@@@+.", +"..@@@@@@@@+.", +"..@@@@@@@@+.", +"..@++++++++.", +".@+++++++++.", +"............"}; -- cgit v1.2.1