updated on Sun Jan 15 08:01:04 UTC 2012
[aur-mirror.git] / nautilus-rgba / nautilus-window_c.patch
blobdacb32f21bfd719538e0e5bbc67a824de165bd73
1 --- nautilus-2.28.0/src/nautilus-window.c 2009-04-20 06:57:20.000000000 -0400
2 +++ nautilus-2.28.0/src/nautilus-window.c 2009-04-12 10:39:49.000000000 -0400
3 @@ -152,7 +152,12 @@
5 /* Set initial window title */
6 gtk_window_set_title (GTK_WINDOW (window), _("Nautilus"));
8 +GdkScreen *screen = gtk_widget_get_screen(window);
9 +GdkColormap *colormap = gdk_screen_get_rgba_colormap(screen);
10 +if (colormap && gdk_screen_is_composited(screen))
12 + gtk_widget_set_default_colormap(colormap);
14 table = gtk_table_new (1, 6, FALSE);
15 window->details->table = table;
16 gtk_widget_show (table);