Another panel movement patch (Re: Getting a usability patch into gnome-panel package?)
William Lachance
wrlach at gmail.com
Tue Feb 12 00:16:51 GMT 2008
On Sun, 2008-02-10 at 17:11 -0400, William Lachance wrote:
>
> On Sun, 2008-02-10 at 22:09 +1300, Matthew Paul Thomas wrote:
> > The panel could copy this behavior: Alt+dragging could move the
> > panel,
> > while normal dragging does nothing. That way people would be much
> > less
> > likely to move the panel by mistake.
>
> FYI, I'm working on this solution (which is even better than anything
> suggested so far: thanks Matthew). Annoyingly, it seems as if I'll need
> to modify metacity in order to make this work. I'll keep everyone
> updated on my progress...
Ok, the two attached patches make it so you need to hold the ALT key
(actually mod1) down to move the panel. Some modification of metacity
was required, not yet sure if said modifications are in the appropriate
place (I'll try to get ahold of the metacity developers to see what they
think).
Things I'm still wondering about:
1. Metacity has a special gconf setting
(/apps/metacity/general/mouse_button_modifier) so that the user can
specify which key they'd like to use as a modifier for making just the
window move. Should gnome-panel respect this setting, even though it's
only supposed to apply to metacity?
2. In the spirit of removing modes, would it also be reasonable to
remove the "locked" mode on each panel applet... and make it so _they_
can only be moved with the mouse when the modifier key is pressed?
3. Am I asking these questions in the appropriate forum? As an
unaffiliated developer, I'd be just as happy to do this work upstream.
Unfortunately, there's no GNOME mailing list for panel issues that I
know of (and I don't get nearly the same level of feedback through
bugzilla).
4. Finally, I'll reiterate my original question: how _does_ one get a
patch into the Ubuntu gnome packages? ;)
--
William Lachance <wrlach at gmail.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: panel-altmove-metacity.patch
Type: text/x-patch
Size: 1387 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/ubuntu-desktop/attachments/20080211/51440c73/attachment-0002.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: panel-altmove.patch
Type: text/x-patch
Size: 464 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/ubuntu-desktop/attachments/20080211/51440c73/attachment-0003.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/ubuntu-desktop/attachments/20080211/51440c73/attachment-0001.pgp
More information about the ubuntu-desktop
mailing list