Wireshark-commits: [Wireshark-commits] master 66bb67c: GTK+: Truncate simple_message_box messages.

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Mon, 20 Jun 2016 01:25:42 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=66bb67c6749b01bb41895e341f8d837efa950f79
Submitter: Anders Broman (a.broman58@xxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

66bb67c by Gerald Combs (gerald@xxxxxxxx):

    GTK+: Truncate simple_message_box messages.
    
    In do_simple_message_box, build our primary message using
    g_string_vprintf instead of g_strdup_vprintf. Truncate both the primary
    and secondary messages so that we end up with merely annoyingly wide
    dialogs instead of insanely wide ones.
    
    Bug: 9761
    Change-Id: I93ff76344c0da7d97cce5180ed9ecf9349190f6f
    Reviewed-on: https://code.wireshark.org/review/16005
    Reviewed-by: Michael Mann <mmann78@xxxxxxxxxxxx>
    Petri-Dish: Michael Mann <mmann78@xxxxxxxxxxxx>
    Tested-by: Petri Dish Buildbot <buildbot-no-reply@xxxxxxxxxxxxx>
    Reviewed-by: Anders Broman <a.broman58@xxxxxxxxx>
    

Actions performed:

    from  e3289a8   qt: reset the column sorting when a new file is loaded
    adds  66bb67c   GTK+: Truncate simple_message_box messages.


Summary of changes:
 ui/gtk/simple_dialog.c |   34 ++++++++++++++++++++++++++++------
 1 file changed, 28 insertions(+), 6 deletions(-)