Hello all,
I have also assigned a ' Shift+Ctrl+R ' , shortcut to the new widget I linked with the 'Recolor Artwork' entry. Till this blossoms into a possible new tool, the ad-hoc 

:D

---------- Forwarded message ----------
From: Arshdeep Singh <moduli16@...400...>
Date: Tue, Apr 16, 2013 at 11:54 AM
Subject: Re: [Inkscape-devel] Displayig a Tool in the Menu
To: Jon Cruz <jon@...18...>, inkscape-devel@lists.sourceforge.net


Hi all,
I was successful in showing the custom widget in the menu of Object. I used the fillstyle widget as an instance to test my code.
Screenshots are attached.


On Mon, Apr 15, 2013 at 8:07 PM, Arshdeep Singh <moduli16@...400...> wrote:
*came to you for advice.


On Mon, Apr 15, 2013 at 7:23 PM, Arshdeep Singh <moduli16@...400...> wrote:
I had added that Jon. Only then I cam to your for advice.


On Mon, Apr 15, 2013 at 12:46 PM, Jon Cruz <jon@...18...> wrote:

On Apr 14, 2013, at 11:27 AM, Arshdeep Singh wrote:

> Thankyou Jon. Actually I've done this a number of times. Adding
>
> registerFactory("RecolorArtwork", &create<RecolorArtwork, Floating Behavior>);
>
> gives an error saying that RecolorArtwork was not defined in the scope.
>
> Complete Error:
> Make error line 301: problem compiling: src/ui/dialog/dialog-manager.cpp: In con
> structor 'Inkscape::UI::Dialog::DialogManager::DialogManager()':
> src/ui/dialog/dialog-manager.cpp:108:51: error: 'RecolorArtwork' was not declare
> d in this scope

Might only need to add the #include for your new header.

Similar to line 27:

#include "ui/dialog/fill-and-stroke.h"






--
Arshdeep Singh
Third Year, Computer Engineering
Delhi Technological University
Ph: +91-9654115614
https://sites.google.com/site/adsingh1729/home



--
Arshdeep Singh
Third Year, Computer Engineering
Delhi Technological University
Ph: +91-9654115614
https://sites.google.com/site/adsingh1729/home



--
Arshdeep Singh
Third Year, Computer Engineering
Delhi Technological University
Ph: +91-9654115614
https://sites.google.com/site/adsingh1729/home



--
Arshdeep Singh
Third Year, Computer Engineering
Delhi Technological University
Ph: +91-9654115614
https://sites.google.com/site/adsingh1729/home