[california] Drop window decoration, use GtkHeaderBar: Closes bgo#725775
- From: Jim Nelson <jnelson src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [california] Drop window decoration, use GtkHeaderBar: Closes bgo#725775
- Date: Mon, 10 Mar 2014 19:30:11 +0000 (UTC)
commit 544ae9c8736fbc21f958a0a8563947bb02e0423f
Author: Yosef Or Boczko <yoseforb gmail com>
Date: Mon Mar 10 12:29:37 2014 -0700
Drop window decoration, use GtkHeaderBar: Closes bgo#725775
src/host/host-main-window.vala | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/host/host-main-window.vala b/src/host/host-main-window.vala
index c4d5c8b..12b4f10 100644
--- a/src/host/host-main-window.vala
+++ b/src/host/host-main-window.vala
@@ -32,6 +32,8 @@ public class MainWindow : Gtk.ApplicationWindow {
// create GtkHeaderBar and pack it in
Gtk.HeaderBar headerbar = new Gtk.HeaderBar();
+ headerbar.show_close_button = true;
+ set_titlebar (headerbar);
bool rtl = get_direction () == Gtk.TextDirection.RTL;
@@ -62,7 +64,6 @@ public class MainWindow : Gtk.ApplicationWindow {
headerbar.pack_end(new_event);
Gtk.Box layout = new Gtk.Box(Gtk.Orientation.VERTICAL, 0);
- layout.pack_start(headerbar, false, true, 0);
layout.pack_end(month_view, true, true, 0);
// current host bindings and signals
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]