[gnome-tour/wip/cdavis/remove-window-handle] welcome: Drop HdyWindowHandle
- From: Christopher Davis <christopherdavis src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-tour/wip/cdavis/remove-window-handle] welcome: Drop HdyWindowHandle
- Date: Sat, 13 Feb 2021 06:20:33 +0000 (UTC)
commit bc3370b87ba0abf675a4857b2983241116e9a1e3
Author: Christopher Davis <brainblasted disroot org>
Date: Fri Feb 12 22:19:22 2021 -0800
welcome: Drop HdyWindowHandle
Since we have a headerbar now and the first page is part
of the carousel, we shouldn't use HdyWindowHandle.
src/widgets/pages/welcome.rs | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/widgets/pages/welcome.rs b/src/widgets/pages/welcome.rs
index 437b587..f7facc2 100644
--- a/src/widgets/pages/welcome.rs
+++ b/src/widgets/pages/welcome.rs
@@ -20,7 +20,7 @@ pub enum Action {
}
pub struct WelcomePageWidget {
- pub widget: libhandy::WindowHandle,
+ pub widget: gtk::Box,
#[cfg(feature = "video")]
player: gst_player::Player,
#[cfg(feature = "video")]
@@ -31,7 +31,7 @@ pub struct WelcomePageWidget {
impl WelcomePageWidget {
pub fn new() -> Self {
- let widget = libhandy::WindowHandle::new();
+ let widget = gtk::Box::new(gtk::Orientation::Horizontal, 0);
#[cfg(feature = "video")]
let player = {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]