Duplicate Dissolve Inset in context menu

2011-06-23 Thread Jean-Pierre Chrétien

Hello,

With LyX-2.0.1svn, if I open the context menu on a phantom (e.g.),
the  Dissolve Inset item appears twice. This triggers a shortcut conflict...

--
Jean-Pierre


Re: Duplicate Dissolve Inset in context menu

2011-06-23 Thread Kornel
Am štvrtok 23 Jún 2011 schrieb Jean-Pierre Chrétien:
 Hello,
 
 With LyX-2.0.1svn, if I open the context menu on a phantom (e.g.),
 the  Dissolve Inset item appears twice. This triggers a shortcut
 conflict...

I would remove it from InsetPhantom context menu in stdcontext.inc:194-195.
Since the phantom inset is also collapsable, this item appears also in 
InsetCollapsable context menu.

Kornel


signature.asc
Description: This is a digitally signed message part.


Re: Duplicate Dissolve Inset in context menu

2011-06-23 Thread Jean-Pierre Chrétien
Kornel kornel at lyx.org writes:


 I would remove it from InsetPhantom context menu in stdcontext.inc:194-195.
 Since the phantom inset is also collapsable, this item appears also in
InsetCollapsable context menu.

I'm afraid this breaks the string freeze, unless suppressing a message (which is
anyway translated because the same string appears in another place) is allowed.

-- 
Jean-Pierre





Re: Duplicate Dissolve Inset in context menu

2011-06-23 Thread Kornel
Am štvrtok 23 Jún 2011 schrieb Jean-Pierre Chrétien:
 Kornel kornel at lyx.org writes:
  I would remove it from InsetPhantom context menu in
  stdcontext.inc:194-195. Since the phantom inset is also collapsable,
  this item appears also in
 
 InsetCollapsable context menu.
 
 I'm afraid this breaks the string freeze, unless suppressing a message
 (which is anyway translated because the same string appears in another
 place) is allowed.

No new string involved, no old string removed.

Kornel


signature.asc
Description: This is a digitally signed message part.


Re: Duplicate Dissolve Inset in context menu

2011-06-23 Thread Jean-Pierre Chrétien

Le 23/06/2011 11:34, Jean-Pierre Chrétien a écrit :

Hello,

With LyX-2.0.1svn, if I open the context menu on a phantom (e.g.),
the Dissolve Inset item appears twice. This triggers a shortcut conflict...


Here is patch.

--
Jean-Pierre

--- lib/ui/stdcontext.inc.orig	2011-06-23 17:11:29.0 +0200
+++ lib/ui/stdcontext.inc	2011-06-23 22:40:21.0 +0200
@@ -192,7 +192,6 @@
 		Item Horizontal Phantom|H inset-modify phantom Phantom HPhantom
 		Item Vertical Phantom|V inset-modify phantom Phantom VPhantom
 		Separator
-		Item Dissolve Inset|D inset-dissolve
 	End
 
 #


Duplicate Dissolve Inset in context menu

2011-06-23 Thread Jean-Pierre Chrétien

Hello,

With LyX-2.0.1svn, if I open the context menu on a phantom (e.g.),
the  Dissolve Inset item appears twice. This triggers a shortcut conflict...

--
Jean-Pierre


Re: Duplicate Dissolve Inset in context menu

2011-06-23 Thread Kornel
Am štvrtok 23 Jún 2011 schrieb Jean-Pierre Chrétien:
> Hello,
> 
> With LyX-2.0.1svn, if I open the context menu on a phantom (e.g.),
> the  Dissolve Inset item appears twice. This triggers a shortcut
> conflict...

I would remove it from InsetPhantom context menu in stdcontext.inc:194-195.
Since the phantom inset is also collapsable, this item appears also in 
InsetCollapsable context menu.

Kornel


signature.asc
Description: This is a digitally signed message part.


Re: Duplicate Dissolve Inset in context menu

2011-06-23 Thread Jean-Pierre Chrétien
Kornel  lyx.org> writes:


> I would remove it from InsetPhantom context menu in stdcontext.inc:194-195.
> Since the phantom inset is also collapsable, this item appears also in
InsetCollapsable context menu.

I'm afraid this breaks the string freeze, unless suppressing a message (which is
anyway translated because the same string appears in another place) is allowed.

-- 
Jean-Pierre





Re: Duplicate Dissolve Inset in context menu

2011-06-23 Thread Kornel
Am štvrtok 23 Jún 2011 schrieb Jean-Pierre Chrétien:
> Kornel  lyx.org> writes:
> > I would remove it from InsetPhantom context menu in
> > stdcontext.inc:194-195. Since the phantom inset is also collapsable,
> > this item appears also in
> 
> InsetCollapsable context menu.
> 
> I'm afraid this breaks the string freeze, unless suppressing a message
> (which is anyway translated because the same string appears in another
> place) is allowed.

No new string involved, no old string removed.

Kornel


signature.asc
Description: This is a digitally signed message part.


Re: Duplicate Dissolve Inset in context menu

2011-06-23 Thread Jean-Pierre Chrétien

Le 23/06/2011 11:34, Jean-Pierre Chrétien a écrit :

Hello,

With LyX-2.0.1svn, if I open the context menu on a phantom (e.g.),
the Dissolve Inset item appears twice. This triggers a shortcut conflict...


Here is patch.

--
Jean-Pierre

--- lib/ui/stdcontext.inc.orig	2011-06-23 17:11:29.0 +0200
+++ lib/ui/stdcontext.inc	2011-06-23 22:40:21.0 +0200
@@ -192,7 +192,6 @@
 		Item "Horizontal Phantom|H" "inset-modify phantom Phantom HPhantom"
 		Item "Vertical Phantom|V" "inset-modify phantom Phantom VPhantom"
 		Separator
-		Item "Dissolve Inset|D" "inset-dissolve"
 	End
 
 #