[anjuta] git: Set the default window size for message dialogs
- From: James Liggett <jrliggett src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [anjuta] git: Set the default window size for message dialogs
- Date: Tue, 18 Jan 2011 23:20:00 +0000 (UTC)
commit d8171d0c9814287630bc867bd9113c78b7bb7959
Author: James Liggett <jrliggett cox net>
Date: Tue Jan 18 15:13:46 2011 -0800
git: Set the default window size for message dialogs
plugins/git/git-pane.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plugins/git/git-pane.c b/plugins/git/git-pane.c
index 4fadc7b..e45b917 100644
--- a/plugins/git/git-pane.c
+++ b/plugins/git/git-pane.c
@@ -227,7 +227,7 @@ message_dialog (GtkMessageType message_type, const gchar *message, Git *plugin)
text_view = gtk_text_view_new ();
text_buffer = gtk_text_view_get_buffer (GTK_TEXT_VIEW (text_view));
- gtk_widget_set_size_request (text_view, 500, 150);
+ gtk_window_set_default_size (GTK_WINDOW (dialog), 550, 200);
gtk_container_add (GTK_CONTAINER (scrolled_window), text_view);
gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (scrolled_window),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]