diff options
author | Gerald Combs <gerald@wireshark.org> | 2012-12-21 17:37:57 +0000 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2012-12-21 17:37:57 +0000 |
commit | 962b4f08f76e70ca445523027c1792883ae3ea9d (patch) | |
tree | acce5f56e16c774fd4bb80341a0ea81f138399c8 /ui/gtk/dlg_utils.h | |
parent | 8c9f80fccc7c1a646f30d2fd235d2bdc1f29d17e (diff) |
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
Diffstat (limited to 'ui/gtk/dlg_utils.h')
-rw-r--r-- | ui/gtk/dlg_utils.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ui/gtk/dlg_utils.h b/ui/gtk/dlg_utils.h index 725bebbe39..618b6b2fce 100644 --- a/ui/gtk/dlg_utils.h +++ b/ui/gtk/dlg_utils.h @@ -79,6 +79,7 @@ #define DLG_OUTER_MARGIN 11 #define DLG_BUTTON_SPACING 7 +#define DLG_LABEL_SPACING 5 #define DLG_UNRELATED_SPACING 11 /* elif defined (__APPLE__) */ @@ -88,6 +89,7 @@ #define DLG_OUTER_MARGIN 12 #define DLG_BUTTON_SPACING 6 +#define DLG_LABEL_SPACING 4 /* Not specified. Guessing. */ #define DLG_UNRELATED_SPACING 12 #endif |