[totem] open-location: Make dialogue modal and wider by default



commit 5b35409fc1031ecae493660fc71555652525fbc7
Author: Bastien Nocera <hadess hadess net>
Date:   Thu Mar 10 17:17:12 2011 +0000

    open-location: Make dialogue modal and wider by default

 src/totem-open-location.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/totem-open-location.c b/src/totem-open-location.c
index 7d382ba..f53446e 100644
--- a/src/totem-open-location.c
+++ b/src/totem-open-location.c
@@ -74,6 +74,9 @@ totem_open_location_init (TotemOpenLocation *self)
 	g_object_ref (self->priv->uri_container);
 
 	self->priv->uri_entry = GTK_ENTRY (gtk_builder_get_object (builder, "uri"));
+	gtk_entry_set_width_chars (self->priv->uri_entry, 50);
+
+	gtk_window_set_modal (GTK_WINDOW (self), TRUE);
 
 	g_object_unref (builder);
 }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]