simon-git: putty (master): Simon Tatham

Commits to Tartarus CVS repository. tartarus-commits at lists.tartarus.org
Fri Sep 25 10:08:52 BST 2015


TL;DR:
  06cf210 Fix window resizing in GTK 3 PuTTY.
  2496760 Fix misplaced separator in GTK3 dialog boxes.

Repository:     git://git.tartarus.org/simon/putty.git
On the web:     http://tartarus.org/~simon-git/gitweb/?p=putty.git
Branch updated: master
Committer:      Simon Tatham <anakin at pobox.com>
Date:           2015-09-25 10:08:52

commit 06cf210552ec4429d6d6ef7d0c2b799cdc287298
web diff http://tartarus.org/~simon-git/gitweb/?p=putty.git;a=commitdiff;h=06cf210552ec4429d6d6ef7d0c2b799cdc287298;hp=64ec5e03d5362ed036e9de1a765085c571eaa3b7
Author: Simon Tatham <anakin at pobox.com>
Date:   Fri Sep 25 09:52:19 2015 +0100

    Fix window resizing in GTK 3 PuTTY.
    
    In GTK 3, it was impossible to resize the window smaller than it
    started off, because the size request on the drawing area was taken as
    a minimum. (I can't actually remember how the GTK 2 version doesn't
    have this problem too.)
    
    Fixed by instead setting the initial window size using
    gtk_window_set_default_geometry() (having first set up the geometry
    hints to reflect the character cell size).

 unix/gtkwin.c |   10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

commit 24967601bb59ffd608a46f7667ccff9326f6faf9
web diff http://tartarus.org/~simon-git/gitweb/?p=putty.git;a=commitdiff;h=24967601bb59ffd608a46f7667ccff9326f6faf9;hp=06cf210552ec4429d6d6ef7d0c2b799cdc287298
Author: Simon Tatham <anakin at pobox.com>
Date:   Fri Sep 25 10:05:57 2015 +0100

    Fix misplaced separator in GTK3 dialog boxes.
    
    When I abandoned GtkDialog for GtkWindow (in dc11417ae), I manually
    added a horizontal GtkSeparator between the content and action areas.
    Or rather, I tried to - but I forgot that gtk_box_pack_end works in
    the opposite order, so that you have to add the bottom-most element
    first and then the one you want to appear above it. So my separator
    was below the action area, rather than between it and the content
    area.

 unix/gtkmisc.c |    9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)



More information about the tartarus-commits mailing list