diff --git a/data/gtk/image_view.ui b/data/gtk/image_view.ui
index f1001c0..473b052 100644
--- a/data/gtk/image_view.ui
+++ b/data/gtk/image_view.ui
@@ -15,77 +15,49 @@
diff --git a/data/gtk/window.ui b/data/gtk/window.ui
index a2efd71..5513310 100644
--- a/data/gtk/window.ui
+++ b/data/gtk/window.ui
@@ -6,12 +6,15 @@
360
Image Viewer
-
+
vertical
-
+ never
+ true
+ false
+
-
-
+
+
status_page
True
@@ -41,13 +44,14 @@
-
- primary_menu
image_menu
-
+
+
diff --git a/data/style.css b/data/style.css
index 2cffbb2..702c76d 100644
--- a/data/style.css
+++ b/data/style.css
@@ -8,6 +8,10 @@ button.circular {
background-color: @theme_base_color;
}
+flap.fullscreen-widget dimming, shadow, border, outline {
+ background: none;
+}
+
.checkerboard {
background-color: #7f7f7f;
background-image: linear-gradient(
diff --git a/src/widgets/image_view.rs b/src/widgets/image_view.rs
index dd78c38..88d2a5b 100644
--- a/src/widgets/image_view.rs
+++ b/src/widgets/image_view.rs
@@ -41,10 +41,6 @@ mod imp {
#[derive(Debug, Default, CompositeTemplate)]
#[template(resource = "/org/gnome/ImageViewer/gtk/image_view.ui")]
pub struct IvImageView {
- #[template_child]
- pub headerbar: TemplateChild,
- #[template_child]
- pub menu_button: TemplateChild,
#[template_child]
pub picture: TemplateChild,
#[template_child]
@@ -54,9 +50,7 @@ mod imp {
#[template_child]
pub press_gesture: TemplateChild,
- // Cell allows for interior mutability of primitive types
- pub header_visible: Cell,
- // RefCell does the same for non-primitive types.
+ // RefCell allows for interior mutability of non-primitive types.
pub menu_model: RefCell