From 1b4b38e1efd91296b68aa1ef4ced76c3cb9a64ab Mon Sep 17 00:00:00 2001 From: Yosef Or Boczko Date: Wed, 26 Mar 2014 04:23:28 +0200 Subject: [PATCH] Use headerbar in the clone dialog https://bugzilla.gnome.org/show_bug.cgi?id=727068 --- gitg/gitg-clone-dialog.vala | 2 +- gitg/resources/ui/gitg-clone-dialog.ui | 83 +++++++++++++------------- 2 files changed, 42 insertions(+), 43 deletions(-) diff --git a/gitg/gitg-clone-dialog.vala b/gitg/gitg-clone-dialog.vala index b246a7cf..365d3559 100644 --- a/gitg/gitg-clone-dialog.vala +++ b/gitg/gitg-clone-dialog.vala @@ -52,7 +52,7 @@ public class CloneDialog : Gtk.Dialog public CloneDialog(Gtk.Window? parent) { - Object(); + Object(use_header_bar: 1); if (parent != null) { diff --git a/gitg/resources/ui/gitg-clone-dialog.ui b/gitg/resources/ui/gitg-clone-dialog.ui index 6c8ad5d0..972b7f3c 100644 --- a/gitg/resources/ui/gitg-clone-dialog.ui +++ b/gitg/resources/ui/gitg-clone-dialog.ui @@ -8,53 +8,52 @@ False True dialog + + + True + False + False + + + _Cancel + True + True + True + True + center + + + + start + + + + + Cl_one + True + False + True + True + True + True + + + + end + + + + False vertical 2 - - - False - end - - - gtk-cancel - True - True - True - True - - - False - True - 0 - - - - - Cl_one - True - False - True - True - True - True - - - False - True - 1 - - - - - False - True - end - 0 - - True