[Top][All Lists]

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

Re: [gcmd-dev] In-place rename

From: vlad
Subject: Re: [gcmd-dev] In-place rename
Date: Wed, 21 Jun 2006 15:46:47 +0300

Hmm.. I suppose that nautilus uses an editable cell within a
GtkTreeView, so it is part of the same GtkWindow == no window focus is
changed because "focus under mouse pointer".

Since GtkCList doesn't have such thing as 'editable cell', I am using
a brand new GtkWindow, with a text box in it.
And this window was not though to be "modal", so one can click outside
it to cancel the renaming. == this is the reason it doesnt' work with
"focus under mouse pointer":(

I will switch my window manager to use the same setting an will seek a
way around this


On 6/21/06, Micha <address@hidden> wrote:
However, with window manager set to
'focus under mouse pointer' i need to drag
the mouse over the renaming field everytime,
to set the focus right.
There must be a way to catch focus automatically,
in any case, nautilus does it for example.

vlad <address@hidden>:

| Hello,
| and congrats for the 1.2.0 release :-)
| A couple of days ago I grabbed a CVS copy of gnome-commander (before
| the 1.2.0 release) and I thought I would try implementing an in-place
| rename (with the editing label over the filename in the file list, you
| know).
| I am quite new to gtk, but attached here is what I came up with -- so
| I changed the nature of the gnome-cmd-rename-dialog (inherits
| GtkWindow) and poked around with the function used for positioning the
| contextual menu when shift-F10 is pressed.
| I am hoping this is somewhat useful, at least the idea of implementing
| this rename feature (if the implementation may be thought drastically
| different from what I came up with..)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]