[PATCH] Request a minimal height for the notes in the dive edit dialog

Amit Chaudhuri amit.k.chaudhuri at gmail.com
Fri Mar 1 00:43:10 PST 2013


..I've a feeling Henrik will be pleased as well.  I think it was him who
seemed to like it also.  [If I'm wrong I owe someone a small apology].

On Fri, Mar 1, 2013 at 4:00 AM, Dirk Hohndel <dirk at hohndel.org> wrote:

>
> Thank you for the changes today, Lubomir. I really like the look and
> feel of the new input dialog you and I put together.
>
> And Amit, sorry it took me so long to buy into the 'remember the size'
> changes - now that I have that I don't know how I made do without it :-)
>
> /D
>
> "Lubomir I. Ivanov" <neolit123 at gmail.com> writes:
>
> > From: "Lubomir I. Ivanov" <neolit123 at gmail.com>
> >
> > This sould give the notes text box around 8 lines of text.
> >
> > Signed-off-by: Lubomir I. Ivanov <neolit123 at gmail.com>
> > ---
> >  info.c | 1 +
> >  1 file changed, 1 insertion(+)
> >
> > diff --git a/info.c b/info.c
> > index 425194e..c0cbd3e 100644
> > --- a/info.c
> > +++ b/info.c
> > @@ -868,6 +868,7 @@ static void dive_info_widget(GtkWidget *obox, struct
> dive *dive, struct dive_inf
> >               info->notes = NULL;
> >       } else {
> >               info->notes = text_view(box, _("Notes"), READ_WRITE);
> > +             gtk_widget_set_size_request(GTK_WIDGET(info->notes), -1,
> 128);
> >               if (dive->notes && *dive->notes)
> >
> gtk_text_buffer_set_text(gtk_text_view_get_buffer(info->notes),
> dive->notes, -1);
> >       }
> > --
> > 1.7.11.msysgit.0
> >
> > _______________________________________________
> > subsurface mailing list
> > subsurface at hohndel.org
> > http://lists.hohndel.org/cgi-bin/mailman/listinfo/subsurface
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.hohndel.org/pipermail/subsurface/attachments/20130301/fe6a4cd4/attachment.html>


More information about the subsurface mailing list