[gitg] Move clone dialog settings to ui
- From: Ignacio Casal Quinteiro <icq src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gitg] Move clone dialog settings to ui
- Date: Mon, 29 Apr 2013 08:26:37 +0000 (UTC)
commit 395e2a773a47917f83f192fd9be23127950a2655
Author: Jose Manuel Pintor Freire <jmpintorfreire gmail com>
Date: Mon Apr 29 10:22:53 2013 +0200
Move clone dialog settings to ui
Signed-off-by: Ignacio Casal Quinteiro <icq gnome org>
gitg/gitg-window.vala | 2 --
gitg/resources/ui/gitg-clone-dialog.ui | 2 ++
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gitg/gitg-window.vala b/gitg/gitg-window.vala
index 595266c..8218b57 100644
--- a/gitg/gitg-window.vala
+++ b/gitg/gitg-window.vala
@@ -209,9 +209,7 @@ public class Window : Gtk.ApplicationWindow, GitgExt.Application, Initable, Gtk.
var chooser = ret["filechooserbutton-location"] as Gtk.FileChooserButton;
var bare = ret["checkbutton-bare-repository"] as Gtk.CheckButton;
- dlg.modal = true;
dlg.set_transient_for(this);
- dlg.set_resizable(false);
dlg.set_default_response(Gtk.ResponseType.OK);
var default_dir = d_main_settings.get_string("clone-directory");
diff --git a/gitg/resources/ui/gitg-clone-dialog.ui b/gitg/resources/ui/gitg-clone-dialog.ui
index 25d8318..d777efc 100644
--- a/gitg/resources/ui/gitg-clone-dialog.ui
+++ b/gitg/resources/ui/gitg-clone-dialog.ui
@@ -5,6 +5,8 @@
<property name="can_focus">False</property>
<property name="border_width">5</property>
<property name="title" translatable="yes">Clone Repository...</property>
+ <property name="resizable">False</property>
+ <property name="modal">True</property>
<property name="type_hint">dialog</property>
<child internal-child="vbox">
<object class="GtkBox" id="dialog-vbox1">
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]