tPack the URL widget in an hbox so that it doesn't stretch to fill the whole window - vaccinewars - be a doctor and try to vaccinate the world
 (HTM) git clone git://src.adamsgaard.dk/vaccinewars
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit fe3b37415dbe09d99dc6e4c119e83ef9ac2ee1c0
 (DIR) parent faee18e474f691a1d193d180da899b8c486d69e4
 (HTM) Author: Ben Webb <ben@salilab.org>
       Date:   Fri, 15 Feb 2002 17:24:19 +0000
       
       Pack the URL widget in an hbox so that it doesn't stretch to fill the whole
       window
       
       
       Diffstat:
         M src/gtk_client.c                    |      18 ++++++++++++++----
       
       1 file changed, 14 insertions(+), 4 deletions(-)
       ---
 (DIR) diff --git a/src/gtk_client.c b/src/gtk_client.c
       t@@ -1926,7 +1926,7 @@ char GtkLoop(int *argc,char **argv[],gboolean ReturnOnFail) {
        }
        
        void display_intro(GtkWidget *widget,gpointer data) {
       -   GtkWidget *dialog,*label,*table,*OKButton,*vbox,*hsep;
       +   GtkWidget *dialog, *label, *table, *OKButton, *vbox, *hbox, *hsep;
           gchar *VersionStr;
           const int rows=6,cols=3;
           int i,j;
       t@@ -1989,9 +1989,19 @@ _("\nFor information on the command line options, type dopewars -h at your\n"
        "options.\n"));
           gtk_box_pack_start(GTK_BOX(vbox),label,FALSE,FALSE,0);
        
       -   label=gtk_url_new("http://dopewars.sourceforge.net/",
       -                     "http://dopewars.sourceforge.net/");
       -   gtk_box_pack_start(GTK_BOX(vbox),label,FALSE,FALSE,0);
       +   /* There must surely be a nicer way of making the URL
       +    * centred - but I can't think of one...
       +    */
       +   hbox = gtk_hbox_new(FALSE, 0);
       +   label = gtk_label_new("");
       +   gtk_box_pack_start(GTK_BOX(hbox), label, TRUE, FALSE, 0);
       +   label = gtk_url_new("http://dopewars.sourceforge.net/",
       +                       "http://dopewars.sourceforge.net/",
       +                       WebBrowser);
       +   gtk_box_pack_start(GTK_BOX(hbox), label, FALSE, FALSE, 0);
       +   label = gtk_label_new("");
       +   gtk_box_pack_start(GTK_BOX(hbox), label, TRUE, FALSE, 0);
       +   gtk_box_pack_start(GTK_BOX(vbox),hbox,FALSE,FALSE,0);
        
           hsep=gtk_hseparator_new();
           gtk_box_pack_start(GTK_BOX(vbox),hsep,FALSE,FALSE,0);