File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -450,8 +450,7 @@ public class PantheonShell.Appearance : Switchboard.SettingsPage {
450450 overlay. add_overlay (dock);
451451 overlay. add_overlay (window_back);
452452 overlay. add_overlay (window_front);
453- overlay. add_css_class (Granite . STYLE_CLASS_CARD );
454- overlay. add_css_class (Granite . STYLE_CLASS_ROUNDED );
453+ overlay. add_css_class (Granite . CssClass . CARD );
455454
456455 var monitor = Gdk . Display . get_default (). get_monitor_at_surface (
457456 (((Gtk . Application ) Application . get_default ()). active_window). get_surface ()
Original file line number Diff line number Diff line change @@ -113,9 +113,12 @@ public class PantheonShell.Wallpaper : Switchboard.SettingsPage {
113113 var box = new Gtk .Box (VERTICAL , 0 );
114114 box. append (view_overlay);
115115 box. append (actionbar);
116- box. add_css_class (Granite . STYLE_CLASS_FRAME );
117116
118- child = box;
117+ var frame = new Gtk .Frame (null ) {
118+ child = box
119+ };
120+
121+ child = frame;
119122 add_css_class (" wallpaper" );
120123
121124 add_wallpaper_button. clicked. connect (show_wallpaper_chooser);
Original file line number Diff line number Diff line change @@ -74,8 +74,7 @@ public class PantheonShell.WallpaperContainer : Gtk.FlowBoxChild {
7474 content_fit = COVER ,
7575 height_request = THUMB_HEIGHT
7676 };
77- image. add_css_class (Granite . STYLE_CLASS_CARD );
78- image. add_css_class (Granite . STYLE_CLASS_ROUNDED );
77+ image. add_css_class (Granite . CssClass . CARD );
7978
8079 var check = new Gtk .CheckButton () {
8180 active = true ,
You can’t perform that action at this time.
0 commit comments