Re: [PATCH] Multi-VC chooser preferences



2009/3/12 Vincent Legoll <vincent legoll gmail com>:
> The real meat is in the first patch, which gained an additional
> feature since last time: the tooltip on the combobox is
> dynamically changed, to help the user understand what this
> thing is about when there is only one VC in a directory and
> the control is greyed (I expect the vast majority of users to
> be in this category). We don't want bugs logged because they
> think something is not working when in fact it is.

In choose_vc(), there is this:

+        self.combobox_vcs.set_tooltip_text(tooltip_texts[len(vcs) == 1])

The gtk.Tooltip API is new in 2.12, so this needs to be guarded
against older versions. In a couple of other places in meld, there's a
simple check along the lines of:

if gtk.pygtk_version >= (2, 12, 0):
    x.set_tooltip_text(y)

for this exact API, so that should go here too.

> set-vcview-fileentry-hbox2-spacing-to-hig-stds.patch is the HIG
> compliance patch from Kai. (hope this is all of it, and didn't miss
> anything)

I think Stephen was right here, and these spacings shouldn't both be
6. I'd say either set the hbox2 spacing to 12, or the HistoryFileEntry
spacing to 3. I'd probably go with the second option, but I don't
actually mind.

Otherwise, looks like a really nice addition to me.

Kai


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]