summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Nocera <hadess@hadess.net>2011-03-10 17:17:12 +0000
committerBastien Nocera <hadess@hadess.net>2011-03-10 17:17:12 +0000
commit5b35409fc1031ecae493660fc71555652525fbc7 (patch)
tree92da67ca74f964581f32748429b35c78991bb82a
parentf6ddecb97e704ec659f32f22ae3876793ba79962 (diff)
downloadtotem-5b35409fc1031ecae493660fc71555652525fbc7.tar.gz
open-location: Make dialogue modal and wider by default
-rw-r--r--src/totem-open-location.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/totem-open-location.c b/src/totem-open-location.c
index 7d382ba37..f53446e6d 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);
}