summaryrefslogtreecommitdiff
path: root/ui/gtk/packet_list.c
diff options
context:
space:
mode:
authorAlexis La Goutte <alexis.lagoutte@gmail.com>2012-10-11 20:16:24 +0000
committerAlexis La Goutte <alexis.lagoutte@gmail.com>2012-10-11 20:16:24 +0000
commitb504e64b6acd63bb8ff46e05b8f2d000d3e21ee1 (patch)
treecbc256bac3c7a5b425daf2980a93a4b7e83fb993 /ui/gtk/packet_list.c
parentb0b96f7f0737738e127b1c7ae6046074892a2224 (diff)
downloadwireshark-b504e64b6acd63bb8ff46e05b8f2d000d3e21ee1.tar.gz
From Edwin Groothuis via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7842
Make relative time columns rightly right justified When showing the relative time in the framelist columns, they are left aligned. This is sub-optimal if you are scanning the list for a different time. This patch, very small, will properly right justify these times: DELTA_TIME DELTA_TIME_DIS svn path=/trunk/; revision=45481
Diffstat (limited to 'ui/gtk/packet_list.c')
-rw-r--r--ui/gtk/packet_list.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ui/gtk/packet_list.c b/ui/gtk/packet_list.c
index cc69291010..397e5108d4 100644
--- a/ui/gtk/packet_list.c
+++ b/ui/gtk/packet_list.c
@@ -175,6 +175,8 @@ right_justify_column (gint col)
case COL_UNRES_SRC_PORT:
case COL_DEF_DST_PORT:
case COL_DEF_SRC_PORT:
+ case COL_DELTA_TIME:
+ case COL_DELTA_TIME_DIS:
right_justify = TRUE;
break;