From 4638935351b2ecc0280c3a64d66ca434ec753616 Mon Sep 17 00:00:00 2001 From: Timur Bakeyev Date: Sun, 31 Jan 1999 23:08:33 +0000 Subject: [PATCH] gscreen.c mods... Mon Feb 1 00:49:18 1999 Timur Bakeyev * gscreen.c (panel_configure_file_list): Add central justification, as we got it (useless, imho :) --- gnome/ChangeLog | 5 +++++ gnome/gscreen.c | 15 +++++++++++---- 2 files changed, 16 insertions(+), 4 deletions(-) diff --git a/gnome/ChangeLog b/gnome/ChangeLog index 9918fe113..617f6bb12 100644 --- a/gnome/ChangeLog +++ b/gnome/ChangeLog @@ -1,3 +1,8 @@ +Mon Feb 1 00:49:18 1999 Timur Bakeyev + + * gscreen.c (panel_configure_file_list): Add central justification, + as we got it (useless, imho :) + Sun Jan 31 19:42:47 1999 Norbert Warmuth * Makefile.in (install_mx): make it work with srcdir != builddir diff --git a/gnome/gscreen.c b/gnome/gscreen.c index c8fe3eb63..716e6dc00 100644 --- a/gnome/gscreen.c +++ b/gnome/gscreen.c @@ -639,10 +639,17 @@ panel_configure_file_list (WPanel *panel, GtkWidget *sw, GtkWidget *file_list) continue; /* Set desired justification */ - if (format->just_mode == J_LEFT) - just = GTK_JUSTIFY_LEFT; - else - just = GTK_JUSTIFY_RIGHT; + switch (HIDE_FIT(format->just_mode)){ + case J_LEFT: + just = GTK_JUSTIFY_LEFT; + break; + case J_RIGHT: + just = GTK_JUSTIFY_RIGHT; + break; + case J_CENTER: + just = GTK_JUSTIFY_CENTER; + break; + } gtk_clist_set_column_justification (GTK_CLIST (file_list), i, just); i++;