Re: [RFC/PATCH] VcView: Add support for not using tabs for diffs



On Tue, Apr 19, 2011 at 11:17 PM, Peter Tyser <ptyser gmail com> wrote:
> Add the ability to show diffs in a pane to the right of the treeview
> when using meld to diff version-controlled files and directories.
> Previously each diff was shown in its own tab.
>
> A new preference ("Use seperate tab for each VC diff") has been added
> under the "View" menu to allow users to choose whether to use tabs or
> not.  The default value of this setting is "True", maintaining current
> behavior.
>
> This feature is useful as many people use wide screen monitors
> where horizontal space isn't fully utilized.  Being able to see a list
> of all files that have differences at all times can be useful in some
> circumstances, such as reviewing modifications to a source tree prior
> to committing them.
>
> Signed-off-by: Peter Tyser <ptyser gmail com>
> ---
> I was curious what others thought of this.  Its sort of like gedit's
> left-hand filelist pane.  I prefer this layout on my work PC (24"
> monitors) and widescreen laptops.  There are a couple of other
> similar options that could be added to make its functionality
> more like gedit.  I made the least changes I could to demonstrate
> the concept, but would be open to alternate implementations.
>
> I don't like that this fragments the UI settings a little more,
> but adding a side pane to the file and directory diffs seemed
> like a can of worms that I'm not prepared to open as I primarly
> only use the VcView functionality of meld.

Attached are 2 screenshots which illustrate the paned vs tabbed view.
I'm on a small-screened laptop now, so the screen shots don't really
show a good usage scenario.  One can imagine on a wider screen the
file listing would fit nicely next to the diffs.

Best,
Peter

Attachment: paned.png
Description: PNG image

Attachment: tabbed.png
Description: PNG image



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