diff options
-rw-r--r-- | ChangeLog | 15 | ||||
-rw-r--r-- | applets/icons/mbmenu.png | bin | 699 -> 977 bytes | |||
-rw-r--r-- | applets/icons/minisys.png | bin | 452 -> 317 bytes | |||
-rw-r--r-- | configure.ac | 6 | ||||
-rw-r--r-- | src/panel.c | 14 | ||||
-rw-r--r-- | src/panel.h | 2 |
6 files changed, 31 insertions, 6 deletions
@@ -1,3 +1,18 @@ +2005-01-11 mallum,,, <mallum@openedhand.com> + + * configure.ac: + Check for more recent libmatchbox. Bump up version + * src/panel.c: (panel_set_bg): + Use new pixbuf_x_pixel call to set background color + ( Color matches for 16bpp ) + * src/panel.h: + Set better font default for panel messages + +2005-01-04 mallum,,, <mallum@openedhand.com> + + * configure.ac: + Bump up version to 0.9 + 2004-12-23 mallum,,, <mallum@openedhand.com> * src/panel_app.c: (panel_app_handle_configure_request): diff --git a/applets/icons/mbmenu.png b/applets/icons/mbmenu.png Binary files differindex 0396de8..6c7952f 100644 --- a/applets/icons/mbmenu.png +++ b/applets/icons/mbmenu.png diff --git a/applets/icons/minisys.png b/applets/icons/minisys.png Binary files differindex 4753dec..3d2940f 100644 --- a/applets/icons/minisys.png +++ b/applets/icons/minisys.png diff --git a/configure.ac b/configure.ac index bf0ac69..558f15a 100644 --- a/configure.ac +++ b/configure.ac @@ -1,5 +1,5 @@ AC_PREREQ(2.53) -AC_INIT([matchbox-panel], 0.8.3, [mallum@handhelds.org]) +AC_INIT([matchbox-panel], 0.9.1, [mallum@handhelds.org]) AC_CONFIG_SRCDIR([src/panel.c]) AM_INIT_AUTOMAKE() @@ -53,8 +53,8 @@ AC_ARG_ENABLE(debug, enable_debug=$enableval, enable_debug=no ) -PKG_CHECK_MODULES(LIBMB, libmb >= 1.5,, - AC_MSG_ERROR([*** Required Matchbox Library (libmb) 1.5 not installed ***])) +PKG_CHECK_MODULES(LIBMB, libmb >= 1.6,, + AC_MSG_ERROR([*** Required Matchbox Library (libmb) 1.6 not installed ***])) dnl ------ Debug Build ------------------------------------------------------ diff --git a/src/panel.c b/src/panel.c index 9f7820a..c43da93 100644 --- a/src/panel.c +++ b/src/panel.c @@ -354,19 +354,29 @@ panel_set_bg(MBPanel *panel, int bg_type, char *bg_spec) &panel->xcol )) { + /* XAllocColor(panel->dpy, DefaultColormap(panel->dpy, panel->screen), &panel->xcol); + */ XSetWindowBackground(panel->dpy, panel->win, - panel->xcol.pixel); + mb_pixbuf_lookup_x_pixel(panel->pb, + panel->xcol.red >> 8, + panel->xcol.green >> 8, + panel->xcol.blue >> 8, 0)); + + // panel->xcol.pixel); XClearWindow(panel->dpy, panel->win); if (panel->bg_pxm != None) XFreePixmap(panel->dpy, panel->bg_pxm); panel->bg_pxm = None; - snprintf(xprop_def, 32, "rgb:%li", panel->xcol.pixel); + snprintf(xprop_def, 32, "rgb:%li", mb_pixbuf_lookup_x_pixel(panel->pb, + panel->xcol.red >> 8, + panel->xcol.green >> 8, + panel->xcol.blue >> 8, 0)); } panel->root_pixmap_id = 0; break; diff --git a/src/panel.h b/src/panel.h index 05f35de..e7f9081 100644 --- a/src/panel.h +++ b/src/panel.h @@ -110,7 +110,7 @@ #define DEFAULT_COLOR_SPEC "#e2e2de" /* Same as gnome ? */ -#define MB_MSG_FONT "Sans-8:bold" +#define MB_MSG_FONT "Sans 14px" enum { BG_SOLID_COLOR, |