Move common time shifting code to ui/time_shift.[ch]. Change the
authorGerald Combs <gerald@wireshark.org>
Fri, 21 Dec 2012 17:37:57 +0000 (17:37 -0000)
committerGerald Combs <gerald@wireshark.org>
Fri, 21 Dec 2012 17:37:57 +0000 (17:37 -0000)
commit962b4f08f76e70ca445523027c1792883ae3ea9d
treeacce5f56e16c774fd4bb80341a0ea81f138399c8
parent8c9f80fccc7c1a646f30d2fd235d2bdc1f29d17e
Move common time shifting code to ui/time_shift.[ch]. Change the
shifting routines to return an error message on failure or NULL on
success.  Prettify and simplify the layout of the GTK+ time shift
dialog. Make the cancel button work as expected.

Add a time shift dialog to the Qt port. I used a Mad Lib (sentence)
layout. Hopefully that won't make translation too difficult.  For some
reason time shifts aren't immediately shown in the packet detail. This
appears to be a bug in the packet list / packet detail code.

Add warning role color definitions to tango_colors.h and use them.

svn path=/trunk/; revision=46680
19 files changed:
CMakeLists.txt
ui/CMakeLists.txt
ui/Makefile.common
ui/gtk/dlg_utils.h
ui/gtk/time_shift_dlg.c
ui/gtk/time_shift_dlg.h
ui/qt/QtShark.pro
ui/qt/label_stack.cpp
ui/qt/main_status_bar.cpp
ui/qt/main_window.h
ui/qt/main_window.ui
ui/qt/main_window_slots.cpp
ui/qt/packet_format_group_box.cpp
ui/qt/tango_colors.h
ui/qt/time_shift_dialog.cpp [new file with mode: 0644]
ui/qt/time_shift_dialog.h [new file with mode: 0644]
ui/qt/time_shift_dialog.ui [new file with mode: 0644]
ui/time_shift.c [new file with mode: 0644]
ui/time_shift.h [new file with mode: 0644]