gnome-system-monitor r2304 - trunk/src
- From: acimitan svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-system-monitor r2304 - trunk/src
- Date: Wed, 13 Feb 2008 17:33:10 +0000 (GMT)
Author: acimitan
Date: Wed Feb 13 17:33:09 2008
New Revision: 2304
URL: http://svn.gnome.org/viewvc/gnome-system-monitor?rev=2304&view=rev
Log:
better patch for rgba theming, reclosing #515907
Modified:
trunk/src/interface.cpp
Modified: trunk/src/interface.cpp
==============================================================================
--- trunk/src/interface.cpp (original)
+++ trunk/src/interface.cpp Wed Feb 13 17:33:09 2008
@@ -636,8 +636,9 @@
GdkScreen* screen = gtk_widget_get_screen(app);
GdkColormap* colormap = gdk_screen_get_rgba_colormap(screen);
- if (colormap && gdk_screen_is_composited(screen))
- gtk_widget_set_default_colormap(colormap);
+ /* use rgba colormap, if available */
+ if (colormap)
+ gtk_widget_set_default_colormap(colormap);
main_box = gtk_vbox_new (FALSE, 0);
gtk_container_add(GTK_CONTAINER(app), main_box);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]