I just did a big change in the behavior of Inkscape icons. Funny thing is, it's a net reduction in lines of code.
Anyway, now when it goes to build an icon, it first asks GTK+ if there's a stock image of that name. If so, it loads it on up. And it also returns the stock GtkImage instead of a new instance of SPIcon built from an extracted bitmap.
One of the things is that now the stock icons being used will reflect the current theme, when before they'd always be the default GTK+ stock icons regardless of what theme was being used. Also... if the theme is changed will the app is open, they stock icons will now change to stay in step.
Perhaps we should use more stock icons. Perhaps we should get inkscape ones pushed out into standard stock land. Perhaps we should have nice SVG inkscape theme sets to switch when main themes are changed. Perhaps...
Anyway, play around and see what comes up.
Jon A. Cruz wrote:
Anyway, now when it goes to build an icon, it first asks GTK+ if there's a stock image of that name. If so, it loads it on up. And it also returns the stock GtkImage instead of a new instance of SPIcon built from an extracted bitmap.
One of the things is that now the stock icons being used will reflect the current theme, when before they'd always be the default GTK+ stock icons regardless of what theme was being used. Also... if the theme is changed will the app is open, they stock icons will now change to stay in step.
Perhaps we should use more stock icons. Perhaps we should get inkscape ones pushed out into standard stock land. Perhaps we should have nice SVG inkscape theme sets to switch when main themes are changed. Perhaps...
Getting Inkscape icons pushed into stock sounds most resonable to me, especially if Inkscape can share some artwork with GIMP, and (with a fd.o-icon naming spec) Scribus. I belive Andy Fitzsimon did a list in the wiki of what could currently be used from stock and what could be added to the stock archive here: http://www.inkscape.org/cgi-bin/wiki.pl?ApplicationIcons
Anyway, play around and see what comes up.
Really cool that you are working on this. Good luck!
On Sat, 05 Mar 2005 12:16:23 +0100, Andreas Nilsson <nisses.mail@...563...> wrote:
Getting Inkscape icons pushed into stock sounds most resonable to me, especially if Inkscape can share some artwork with GIMP, and (with a fd.o-icon naming spec) Scribus.
By the way, I believe we forgot about cursor icons. They should have same look. I did some work on it in Scribus to make look'n'feel of tool cursor match (thanx to MrB and Franz for patches) Inkscape's look'n'feel, but now both of them are a bit different from GIMP.
I would appreciate if anyone looked at cursor icons and said if it needs any fixes.
These files are in scribus\icons directory in 1.3cvs:
DrawFrame.xpm DrawImageFrame.xpm DrawPolylineFrame.xpm DrawTable.xpm DrawTextFrame.xpm
There are some more for zoom/linking/unlinking etc, but they don't seem to be in CVS yet.
I belive Andy Fitzsimon did a list in the wiki of what could currently be used from stock and what could be added to the stock archive here: http://www.inkscape.org/cgi-bin/wiki.pl?ApplicationIcons
Nice one!
Alexandre
On Sat, 5 Mar 2005, Andreas Nilsson wrote:
Date: Sat, 05 Mar 2005 12:16:23 +0100 From: Andreas Nilsson <nisses.mail@...563...> To: Inkscape Devel List inkscape-devel@lists.sourceforge.net Subject: Re: [Inkscape-devel] Icon loading changes
Jon A. Cruz wrote:
Anyway, now when it goes to build an icon, it first asks GTK+ if there's a stock image of that name. If so, it loads it on up. And it also returns the stock GtkImage instead of a new instance of SPIcon built from an extracted bitmap.
One of the things is that now the stock icons being used will reflect the current theme, when before they'd always be the default GTK+ stock icons regardless of what theme was being used. Also... if the theme is changed will the app is open, they stock icons will now change to stay in step.
Perhaps we should use more stock icons. Perhaps we should get inkscape ones pushed out into standard stock land. Perhaps we should have nice SVG inkscape theme sets to switch when main themes are changed. Perhaps...
Getting Inkscape icons pushed into stock sounds most resonable to me, especially if Inkscape can share some artwork with GIMP, and (with a fd.o-icon naming spec) Scribus. I belive Andy Fitzsimon did a list in the wiki of what could currently be used from stock and what could be added to the stock archive here: http://www.inkscape.org/cgi-bin/wiki.pl?ApplicationIcons
I've been looking at tackling this from the other direction and getting more of these stock graphics pushed into GTK for all kinds of GTK applications to use. http://live.gnome.org/UsabilityTeam_2fStockItems
Sincerely
Alan Horkan
Free SVG Clip Art http://OpenClipArt.org Dia is for Diagrams http://gnome.org/projects/dia/ Alan's Journal http://advogato.org/person/AlanHorkan/
Inkscape, Draw Freely http://inkscape.org Abiword is Awesome http://www.abisource.com
On Sat, 5 Mar 2005 13:25:19 +0000 (GMT), Alan Horkan <horkana@...44...> wrote:
I've been looking at tackling this from the other direction and getting more of these stock graphics pushed into GTK for all kinds of GTK applications to use.
Would you like to port Scribus to Gtk first? :)
http://standards.freedesktop.org/icon-theme-spec/icon-theme-spec-0.8.html
Alexandre
On Saturday 05 March 2005 15:05, Alexandre Prokoudine wrote:
On Sat, 5 Mar 2005 13:25:19 +0000 (GMT), Alan Horkan
<horkana@...44...> wrote:
I've been looking at tackling this from the other direction and getting more of these stock graphics pushed into GTK for all kinds of GTK applications to use.
Would you like to port Scribus to Gtk first? :)
hahahahahahahahahahahahahahah
http://standards.freedesktop.org/icon-theme-spec/icon-theme-spec-0.8.html
Craig
On Sat, 5 Mar 2005 16:13:09 +0100, Craig Bradney <cbradney@...242...> wrote:
On Saturday 05 March 2005 15:05, Alexandre Prokoudine wrote:
On Sat, 5 Mar 2005 13:25:19 +0000 (GMT), Alan Horkan
<horkana@...44...> wrote:
I've been looking at tackling this from the other direction and getting more of these stock graphics pushed into GTK for all kinds of GTK applications to use.
Would you like to port Scribus to Gtk first? :)
hahahahahahahahahahahahahahah
Well, it's not that funny really. If we want apps share look'n'feel, then we've got to remember about inter[gtk-qt] portability. It's not 1999 after all :)
Alexandre
On Saturday 05 March 2005 20:25, Alexandre Prokoudine wrote:
On Sat, 5 Mar 2005 16:13:09 +0100, Craig Bradney <cbradney@...242...>
wrote:
On Saturday 05 March 2005 15:05, Alexandre Prokoudine wrote:
On Sat, 5 Mar 2005 13:25:19 +0000 (GMT), Alan Horkan
<horkana@...44...> wrote:
I've been looking at tackling this from the other direction and getting more of these stock graphics pushed into GTK for all kinds of GTK applications to use.
Would you like to port Scribus to Gtk first? :)
hahahahahahahahahahahahahahah
Well, it's not that funny really. If we want apps share look'n'feel, then we've got to remember about inter[gtk-qt] portability. It's not 1999 after all :)
Alexandre
Its funny, because we will never port Scribus to gtk, as we have stated many times over. Get over it.
As has been recently discussed in various places re look and feel, its important to realise theres more at stake than just Gimp/Inkscape/Scribus compatibility or look and feel.
Theres plenty of KDE users who want Scribus to be OK/Cancel, theres GTK people who want Cancel/Ok, theres Mac people who want (and almost have) a Scribus native port and Mac icons, theres Windows people who want a port with Windows look and feel.
In the KDE case, apart from a potential migration to having Gnome and KDE share icon sets, they want their icons, Gnome people want their icons. Then theres all the non Gnome/KDE people who want their icons. Then add on top the dialog design, which is not common across platforms.
Making a simple statement about getting these three apps to look like each other, while certainly important, doesnt necessarily bring compatibility in all directions.
Craig
Theres plenty of KDE users who want Scribus to be OK/Cancel, theres
GTK
people who want Cancel/Ok, theres Mac people who want (and almost have) a
Scribus
native port and Mac icons, theres Windows people who want a port with Windows look and feel.
Nah, personally I could care less about a Windows port with Windows look and feel... I just want a Windows port ;)
-Josh
On Wednesday 09 March 2005 16:11, Joshua A. Andler wrote:
Theres plenty of KDE users who want Scribus to be OK/Cancel, theres
GTK
people who want Cancel/Ok, theres Mac people who want (and almost have) a
Scribus
native port and Mac icons, theres Windows people who want a port with Windows look and feel.
Nah, personally I could care less about a Windows port with Windows look and feel... I just want a Windows port ;)
For now, please follow the cygwin instructions on wiki.scribus.net. Apparently they are now foolproof (ha ha!) and quite a few users have reported success. This was completed in the last few days.
We wont be aiming for a Windows port until Qt4 is out and in the main distros. That said, we did actually have an older version running ok. For now, the best idea is via cygwin.
Craig
"Jon A. Cruz" <jon@...18...> wrote in news:4229668E.8010500@...18...:
Anyway, now when it goes to build an icon, it first asks GTK+ if there's a stock image of that name. If so, it loads it on up. And it also returns the stock GtkImage instead of a new instance of SPIcon built from an extracted bitmap.
Great! It also works with Gtk-Qt, so I know have Inkscape with KDE icons.
But the icons are slightly smaller than in other (KDE and Gnome) applications. Is this a bug or a feature? It feels like a bug ... :)
On Sunday 6 March 2005 18:31, Karl Ove Hufthammer wrote:
"Jon A. Cruz" <jon@...18...> wrote
Anyway, now when it goes to build an icon, it first asks GTK+ if there's a stock image of that name. If so, it loads it on up. And it also returns the stock GtkImage instead of a new instance of SPIcon built from an extracted bitmap.
Great! It also works with Gtk-Qt, so I know have Inkscape with KDE icons.
Well, some of them, anyway. At least here. And it looks weird, now. The KDE icons don't blend that well with the Inkscape ones ;-)
Cheers, Jef
Jean-François Lemaire wrote:
Well, some of them, anyway. At least here. And it looks weird, now. The KDE icons don't blend that well with the Inkscape ones ;-)
Ahhh, yes. You've just hit on the big issue. How should we manage interraction of all the different icons and themes.
One thing might be to get all the icons Inkscape uses pushed out into stock ones. At the moment CVS Inkscape is only loading the GTK+ stock ones. We'll probably expand that to draw from more. It's just a matter of working out all the tech details.
I think this was touched on by Bryce's recent article. http://osnews.com/comment.php?news_id=9658
participants (8)
-
Alan Horkan
-
Alexandre Prokoudine
-
Andreas Nilsson
-
Craig Bradney
-
Jean-François Lemaire
-
Jon A. Cruz
-
Joshua A. Andler
-
Karl Ove Hufthammer