[gnome-sudoku/popover-style] popover: use osd style context



commit f46060009472b39eb302eb2c7ca09966fe804c25
Author: Michael Catanzaro <mcatanzaro gnome org>
Date:   Thu Aug 14 10:01:45 2014 -0500

    popover: use osd style context

 src/sudoku-view.vala |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/sudoku-view.vala b/src/sudoku-view.vala
index 933f4be..2eb5d3d 100644
--- a/src/sudoku-view.vala
+++ b/src/sudoku-view.vala
@@ -139,6 +139,7 @@ private class SudokuCellView : Gtk.DrawingArea
         });
 
         popover = new Popover (this);
+        popover.get_style_context ().add_class ("osd");
         popover.add (number_picker);
         popover.modal = false;
         popover.position = PositionType.BOTTOM;
@@ -152,6 +153,7 @@ private class SudokuCellView : Gtk.DrawingArea
         earmark_picker.set_earmarks (row, col);
 
         earmark_popover = new Popover (this);
+        earmark_popover.get_style_context ().add_class ("osd");
         earmark_popover.add (earmark_picker);
         earmark_popover.modal = false;
         earmark_popover.position = PositionType.BOTTOM;


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