tRight-justify drug and gun prices. - vaccinewars - be a doctor and try to vacc… | |
git clone git://src.adamsgaard.dk/vaccinewars | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 12b1a4370cdf75767ba3caeccb42f9172f571c71 | |
parent 4d4416f904ff8fa0eb41b79cb5a76f97e6499f8c | |
Author: Ben Webb <[email protected]> | |
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(-) | |
--- | |
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); |