
I have just committed a patch for the gtkmmified preferences dialog it's not finished but it's ready to replace the old dialog.
Todo: -Enable opening of dialog by doubleclicking toolbar buttons. -Add access keys to all labels and widgets (HIG chapter 10) -Add icons to the pagelist -Fix bitmapoversample (add to preferences-skeleton.h) -Change dialog title to Inkscape preferences (HIG chapter 3) -Move menu entry for inkscape preferences from file to edit menu. (HIG chapter 4) -Add dialogs.showclose preference -Investigate this http://sourceforge.net/mailarchive/message.php?msg_id=14240882
About Adding access keys to all labels and widgets, this would break all translations so i'd like to know if we really want this before i go ahead and do it.
I'd welcome any comments on the dialog and the todo list.
-- Marco

On Fri, 2006-01-13 at 03:09 +0300, Alexandre Prokoudine wrote:
On 1/13/06, Marco Scholten wrote:
Todo: -Add access keys to all labels and widgets (HIG chapter 10)
Do you need help with this one?
Alexandre
Sure, it should be quite simple really This function adds a widget to a page:
void DialogPage::add_line(bool indent, const Glib::ustring label, Gtk::Widget& widget, const Glib::ustring suffix, const Glib::ustring& tip, bool expand = true);
Just add an underscore to the string of the second argument, that's all, the widget in the third argument will automatically be set as the mnemonic widget for that label.
-- Marco

----- Original Message ----- From: "Ralf Stephan" <ralf@...748...> To: "Marco Scholten" <mscholtn@...353...> Cc: "inkscape devel" inkscape-devel@lists.sourceforge.net Sent: Friday, January 13, 2006 12:29 PM Subject: Re: [Inkscape-devel] gtkmmified preferences dialog
I have just committed a patch for the gtkmmified preferences dialog it's not finished but it's ready to replace the old dialog.
There is no file attached to the entry. Can you please upload the patch, or send it to me? I can commit for you if you like.
ralf
Oops.. forgot to click a checkbox there, i will upload it again tonight, i don't have the patch here on this computer.
-- Marco

Marco Scholten's new dialog is now committed in CVS.
I'd welcome any comments on the dialog and the todo list.
If I may have a start, it's great.
Todo: -Enable opening of dialog by doubleclicking toolbar buttons.
Yes. And position to the right page.
-Add access keys to all labels and widgets (HIG chapter 10)
The same with Doc Props todo here.
-Add icons to the pagelist
Volunteers needed!
[...some interesting things omitted...] -Add dialogs.showclose preference
Yes. The text would be "Show HIG-conform close button in dialogs" and the tooltip should mention that it refers to the Gtkmm dialogs, I think.
About Adding access keys to all labels and widgets, this would break all translations so i'd like to know if we really want this before i go ahead and do it.
That would interest me, too, but we can't wiggle out of that IMO.
ralf

Ralf Stephan wrote:
Marco Scholten's new dialog is now committed in CVS.
I'd welcome any comments on the dialog and the todo list.
If I may have a start, it's great.
Agreed!
-Add icons to the pagelist
Volunteers needed!
I will go ahead and email Andre Sousa (the guy who made our new icons) to see if he might have time for it, as that would make the most sense imho.
-Josh

On Fri, 2006-01-13 at 13:23 -0700, Joshua A. Andler wrote:
Ralf Stephan wrote:
Marco Scholten's new dialog is now committed in CVS.
I'd welcome any comments on the dialog and the todo list.
If I may have a start, it's great.
Agreed!
I'm pleased you like it. :)
-Add icons to the pagelist
Volunteers needed!
I will go ahead and email Andre Sousa (the guy who made our new icons) to see if he might have time for it, as that would make the most sense imho.
That would be great, please tell me what format those icons will be and i will add it to InkscapePreferences::AddPage()
-- Marco

Marco Scholten wrote:
I will go ahead and email Andre Sousa (the guy who made our new icons) to see if he might have time for it, as that would make the most sense imho.
That would be great, please tell me what format those icons will be and i will add it to InkscapePreferences::AddPage()
They will be in SVG in our main icons file. Given that these preferences icons don't currently exist, if you give them intuitive names and provide the list of those names for the artist, it will help.
Since the tool icons already exist, you should theoretically be able hook those up as-is (draw_rect. draw_arc, etc... the next paragraph explains how to get the names). If you haven't seen the new icons yet, you can grab them from http://placide.home.sapo.pt/inkscape/index.html . I'd recommend throwing that file in your ~/.inkscape/icons/ dir (if that dir doesn't exist you can create it), so you can see what we'll be working with (note that even if you don't do this, it's all okay because the names are still the same).
Those icons are still a work in progress, but there shouldn't be any significant changes (none that would affect your work) to this file other than more icons being added. To get the names of the icons, go ahead and open the icons file and pull up the XML editor. When you select an icon the "id" is it's name. Hopefully by checking the names for a few of the icons, it should give you an idea on how to name any new icons needed for the preferences dialog.
I hope that this was helpful.
-Josh

Joshua A. Andler wrote:
Marco Scholten wrote:
I will go ahead and email Andre Sousa (the guy who made our new icons) to see if he might have time for it, as that would make the most sense imho.
That would be great, please tell me what format those icons will be and i will add it to InkscapePreferences::AddPage()
Since the tool icons already exist, you should theoretically be able hook those up as-is (draw_rect. draw_arc, etc... the next paragraph explains how to get the names). If you haven't seen the new icons yet, you can grab them from http://placide.home.sapo.pt/inkscape/index.html . I'd recommend throwing that file in your ~/.inkscape/icons/ dir (if that dir doesn't exist you can create it), so you can see what we'll be working with (note that even if you don't do this, it's all okay because the names are still the same).
I forgot to mention, you will need to rename that icon file to "icons.svg" as well.
-Josh

Am Freitag, den 13.01.2006, 23:37 +0100 schrieb Marco Scholten:
That would be great, please tell me what format those icons will be and i will add it to InkscapePreferences::AddPage()
-- Marco
I made/collected some icons and put them here: http://hagemaenner.de/stuff/inkscape/preferences/
Tobias

On Fri, 2006-01-13 at 20:24 +0100, Ralf Stephan wrote:
Marco Scholten's new dialog is now committed in CVS.
I'd welcome any comments on the dialog and the todo list.
If I may have a start, it's great.
Thanks :)
Todo: -Enable opening of dialog by doubleclicking toolbar buttons.
Yes. And position to the right page.
That's the plan.
-Add access keys to all labels and widgets (HIG chapter 10)
The same with Doc Props todo here.
-Add icons to the pagelist
Volunteers needed!
[...some interesting things omitted...] -Add dialogs.showclose preference
Yes. The text would be "Show HIG-conform close button in dialogs" and the tooltip should mention that it refers to the Gtkmm dialogs, I think.
That is really interesting for us developers but i doubt an avarage user knows or cares about gtk+/gtkmm, instead i think we should work hard to make sure that soon there will only be the gtkmm kind of dialog :)
About Adding access keys to all labels and widgets, this would break all translations so i'd like to know if we really want this before i go ahead and do it.
That would interest me, too, but we can't wiggle out of that IMO.
I agree, our first concern should be to make the best possible user interface even if it takes a little more work.
-- Marco

On 1/13/06, Ralf Stephan <ralf@...748...> wrote:
Marco Scholten's new dialog is now committed in CVS.
Thanks, looks great!
One problem is that this conversion lost one improvement that I recently added to that dialog: a static style swatch showing each tool's own style. This is the diff:
http://cvs.sourceforge.net/viewcvs.py/inkscape/inkscape/src/dialogs/display-...
Could you please restore this in the new dialog? It should not be too difficult since the swatch itself is a GtkMM widget.
-- bulia byak Inkscape. Draw Freely. http://www.inkscape.org
participants (6)
-
Alexandre Prokoudine
-
bulia byak
-
Joshua A. Andler
-
Marco Scholten
-
Ralf Stephan
-
Tobias Jakobs