tRight-justify drug and gun prices. - 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 12b1a4370cdf75767ba3caeccb42f9172f571c71
 (DIR) parent 4d4416f904ff8fa0eb41b79cb5a76f97e6499f8c
 (HTM) Author: Ben Webb <ben@salilab.org>
       Date:   Wed, 31 Jul 2002 12:36:18 +0000
       
       Right-justify drug and gun prices.
       
       
       Diffstat:
         M src/gui_client/gtk_client.c         |       7 +++++--
       
       1 file changed, 5 insertions(+), 2 deletions(-)
       ---
 (DIR) diff --git a/src/gui_client/gtk_client.c b/src/gui_client/gtk_client.c
       t@@ -3035,10 +3035,13 @@ void CreateInventory(GtkWidget *hbox, gchar *Objects,
            gtk_clist_set_selection_mode(GTK_CLIST(clist), GTK_SELECTION_SINGLE);
            gtk_clist_set_auto_sort(GTK_CLIST(clist), FALSE);
            gtk_container_add(GTK_CONTAINER(frame[i]), scrollwin);
       -    if (i == 0)
       +    if (i == 0) {
       +      gtk_clist_set_column_justification(GTK_CLIST(clist), 1,
       +                                         GTK_JUSTIFY_RIGHT);
              widgets->HereList = clist;
       -    else
       +    } else {
              widgets->CarriedList = clist;
       +    }
          }
          if (CreateHere)
            gtk_box_pack_start(GTK_BOX(hbox), frame[0], TRUE, TRUE, 0);