[rhythmbox] shell: set a reasonable default size for the plugin dialog



commit 25eee35ce254469a71862634e8d81238a5600d1d
Author: Jonathan Matthew <jonathan d14n org>
Date:   Sun Jul 24 19:09:00 2011 +1000

    shell: set a reasonable default size for the plugin dialog

 shell/rb-shell.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/shell/rb-shell.c b/shell/rb-shell.c
index 5b55a4f..80bff7c 100644
--- a/shell/rb-shell.c
+++ b/shell/rb-shell.c
@@ -2595,6 +2595,7 @@ rb_shell_cmd_plugins (GtkAction *action,
 		manager = peas_gtk_plugin_manager_new (NULL);
 		gtk_widget_show_all (GTK_WIDGET (manager));
 		gtk_box_pack_start (GTK_BOX (content_area), manager, TRUE, TRUE, 0);
+		gtk_window_set_default_size (GTK_WINDOW (shell->priv->plugins), 600, 400);
 	}
 
 	gtk_window_present (GTK_WINDOW (shell->priv->plugins));



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