--- panel-plugin/notes.c.orig 2008-10-22 13:17:35.116352251 +0800 +++ panel-plugin/notes.c 2008-10-22 13:17:23.583021748 +0800 @@ -181,6 +181,11 @@ notes_window->window = gtk_window_new (GTK_WINDOW_TOPLEVEL); gtk_window_set_deletable (GTK_WINDOW (notes_window->window), FALSE); gtk_window_set_title (GTK_WINDOW (notes_window->window), window_name); + GdkScreen *screen = gtk_widget_get_screen(notes_window->window); + GdkColormap *colormap = gdk_screen_get_rgba_colormap (screen); + if (colormap && gdk_screen_is_composited (screen)){ + gtk_widget_set_default_colormap(colormap); + } #ifdef HAVE_XFCONF gtk_window_set_skip_taskbar_hint (GTK_WINDOW (notes_window->window), xfconf_channel_get_bool (notes_plugin->xfconf_channel, --- panel-plugin/notes.c.orig 2008-10-22 13:37:09.359569264 +0800 +++ panel-plugin/notes.c 2008-10-22 13:36:13.736241544 +0800 @@ -502,7 +502,7 @@ gboolean show_statusbar = FALSE; gboolean sticky = TRUE; gboolean visible = TRUE; - gint transparency = 10; + gint transparency = 0; gchar *font_descr = NULL; if (G_LIKELY (NULL == notes_window->name)) @@ -1077,7 +1077,7 @@ { guint opacity; - if (transparency < 0 || transparency > 90) + if (transparency < 0 || transparency > 100) return; TRACE ("Set transparency to `%d'", transparency);