[Gimp-developer] How to edit context menu?

2010-06-19 Thread Bear
hi, I wanna edit my GIMP's context menu. Now the context menu is as seems as the menu bar. I wanna use my customized context menu to replace the original one. I found some clue in app/widgets/gimpuimanager.c:573 which say: void gimp_ui_manager_ui_popup (GimpUIManager*manager,

Re: [Gimp-developer] How to edit context menu?

2010-06-19 Thread Michael Natterer
On Sat, 2010-06-19 at 20:29 +0800, Bear wrote: hi, I wanna edit my GIMP's context menu. Now the context menu is as seems as the menu bar. I wanna use my customized context menu to replace the original one. I found some clue in app/widgets/gimpuimanager.c:573 which say: void

[Gimp-developer] Rotate on the arbitrary line -- feature request

2010-06-19 Thread doug p.
I had scanned a bunch of small odd shapped images and most of them I couldn't get rotated exactly right. I had to use photoshop and they have a feature where I can draw a straight line, and say to rotate the image to that line. It was called Rotate to Arbitrary. I see a similiar feature in Gimp

Re: [Gimp-developer] How to edit context menu?

2010-06-19 Thread Bear
hi, Er... but my work is to make it popup something like a new window instead the original context menu... Could you help me? thx! -- Bear 2010-06-19 - From:Michael Natterer Send

Re: [Gimp-developer] Rotate on the arbitrary line -- feature request

2010-06-19 Thread yahvuu
On 19.06.2010 17:50, doug p. wrote: [..] where I can draw a straight line, and say to rotate the image to that line. [..] How can I request this feature to be added. Hi doug, the best way to request user interface improvements is to sketch your idea and post it on the UI brainstorm [1]. I'm

Re: [Gimp-developer] Rotate on the arbitrary line -- feature request

2010-06-19 Thread gg
On 06/19/10 10:16, yahvuu wrote: On 19.06.2010 17:50, doug p. wrote: [..] where I can draw a straight line, and say to rotate the image to that line. [..] How can I request this feature to be added. Hi doug, the best way to request user interface improvements is to sketch your idea

Re: [Gimp-developer] Rotate on the arbitrary line -- feature request

2010-06-19 Thread Rob Antonishen
Doug There are a couple of scripts that provide this behaviour: http://registry.gimp.org/node/22910 Or http://registry.gimp.org/node/18821 which also needs http://registry.gimp.org/node/18820 I find the first to be the simplest. -Rob A On 6/19/10, doug p. for...@gimpusers.com wrote: I had

Re: [Gimp-developer] Rotate on the arbitrary line -- feature request

2010-06-19 Thread GSR - FR
Hi, for...@gimpusers.com (2010-06-19 at 1750.20 +0200): I had scanned a bunch of small odd shapped images and most of them I couldn't get rotated exactly right. I had to use photoshop and they have a feature where I can draw a straight line, and say to rotate the image to that line. It was

Re: [Gimp-developer] How to edit context menu?

2010-06-19 Thread Sven Neumann
On Sat, 2010-06-19 at 23:49 +0800, Bear wrote: hi, Er... but my work is to make it popup something like a new window instead the original context menu... Could you help me? thx! Are you familiar with GTK+? If not, please read the documentation and tutorials before you ask here. We can

Re: [Gimp-developer] Rotate on the arbitrary line -- feature request

2010-06-19 Thread Sven Neumann
On Sat, 2010-06-19 at 17:50 +0200, doug p. wrote: I had scanned a bunch of small odd shapped images and most of them I couldn't get rotated exactly right. I had to use photoshop and they have a feature where I can draw a straight line, and say to rotate the image to that line. It was called

Re: [Gimp-developer] How to edit context menu?

2010-06-19 Thread Bill Skaggs
If you want to do this for your new tool, you might benefit from looking at gimptexttool.c -- the function gimp_text_tool_get_popup is what sets up the context menu for the text tool. It is invoked in the gimp_text_tool_class_init function, in the line that reads tool_class-get_popup =