[cheese] Gtk,StyleContext for v/hscrollbar is working now



commit 1f223755dda26e2b148b4b1f6e23ae9dccde228c
Author: Patricia Santana Cruz <patriciasc openismus com>
Date:   Fri Feb 25 14:42:59 2011 +0100

    Gtk,StyleContext for v/hscrollbar is working now

 src/cheese-window.vala |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/cheese-window.vala b/src/cheese-window.vala
index acce92d..04b657a 100644
--- a/src/cheese-window.vala
+++ b/src/cheese-window.vala
@@ -1197,7 +1197,8 @@ public class Cheese.MainWindow : Gtk.Window
 
     Gtk.StyleContext context;
     context = thumb_view.get_style_context ();
-    context.add_provider (css, 600);
+    screen = Gdk.Screen.get_default();
+    context.add_provider_for_screen (screen, css, 600);
 
     thumb_view.button_press_event.connect (on_thumbnail_mouse_button_press);
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]