Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=gfpm.git;a=commitdiff;h=be70df35eda747377000ca33a8cea7be6d3378ac
commit be70df35eda747377000ca33a8cea7be6d3378ac Author: Priyank <[EMAIL PROTECTED]> Date: Fri Oct 12 00:45:09 2007 +0530 gfpm_messages * gfpm_plist_message() - set the scrolled window's policy type to GTK_SHADOW_IN to make it look better - increased the size of the window a bit because messages displayed here could be too long sometimes. - made the window resizable if the message is reaally loong. diff --git a/src/gfpm-messages.c b/src/gfpm-messages.c index 97ad81d..426a706 100644 --- a/src/gfpm-messages.c +++ b/src/gfpm-messages.c @@ -418,6 +418,7 @@ gfpm_plist_message (const char *message_title, const char *main_msg, GtkMessageT main_msg); swindow = GTK_SCROLLED_WINDOW(gtk_scrolled_window_new (NULL, NULL)); gtk_scrolled_window_set_policy (swindow, GTK_POLICY_NEVER, GTK_POLICY_AUTOMATIC); + gtk_scrolled_window_set_shadow_type (swindow, GTK_SHADOW_OUT); tvw = gtk_tree_view_new (); gtk_tree_view_set_headers_visible (GTK_TREE_VIEW(tvw), FALSE); gtk_container_add (GTK_CONTAINER(swindow), tvw); @@ -432,11 +433,11 @@ gfpm_plist_message (const char *message_title, const char *main_msg, GtkMessageT g_free (pkgstring); } gtk_tree_view_set_model (GTK_TREE_VIEW(tvw), GTK_TREE_MODEL(store)); - gtk_widget_set_size_request (tvw, 230, 80); + gtk_widget_set_size_request (tvw, 330, 120); gtk_widget_show (tvw); gtk_box_pack_start (GTK_BOX(GTK_DIALOG(dialog)->vbox), GTK_WIDGET(swindow), FALSE, FALSE, 0); gtk_widget_show_all (GTK_DIALOG(dialog)->vbox); - gtk_window_set_resizable (GTK_WINDOW(dialog), FALSE); + gtk_window_set_resizable (GTK_WINDOW(dialog), TRUE); gtk_window_set_title (GTK_WINDOW(dialog), message_title); gtk_dialog_run (GTK_DIALOG(dialog)); _______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
