2012/1/24 Vincent Torri <[email protected]>: > On Tue, Jan 24, 2012 at 2:41 PM, Enlightenment SVN > <[email protected]> wrote: >> Log: >> Ecrire: Added "save as". > > too bad we can't provide another set of icons. I really don't like the Tango > one > I already talked a bit about it on IRC. Maybe we can establish some reserved keyword in the data part so that elm uses icons from the currently set fdo icon set instead of the icons provided in the edj. I guess therefore the icons would need matching names too. But we could do this and write short docs about this behavior?
> Vincent > >> >> Author: tasn >> Date: 2012-01-24 05:41:39 -0800 (Tue, 24 Jan 2012) >> New Revision: 67492 >> Trac: http://trac.enlightenment.org/e/changeset/67492 >> >> Modified: >> trunk/ecrire/src/bin/main.c >> >> Modified: trunk/ecrire/src/bin/main.c >> =================================================================== >> --- trunk/ecrire/src/bin/main.c 2012-01-24 13:21:23 UTC (rev 67491) >> +++ trunk/ecrire/src/bin/main.c 2012-01-24 13:41:39 UTC (rev 67492) >> @@ -418,6 +418,12 @@ >> } >> >> static void >> +_save_as(void *data, Evas_Object *obj __UNUSED__, void *event_info >> __UNUSED__) >> +{ >> + ui_file_open_save_dialog_open(data, _fs_save_done, EINA_TRUE); >> +} >> + >> +static void >> _new_do(void *data) >> { >> elm_object_text_set(data, ""); >> @@ -651,6 +657,8 @@ >> elm_toolbar_item_append(tbar, "document-open", _("Open"), _open, win); >> save_item = >> elm_toolbar_item_append(tbar, "document-save", _("Save"), _save, win); >> + elm_toolbar_item_append(tbar, "document-save-as", _("Save As"), _save_as, >> + win); >> elm_toolbar_item_separator_set( >> elm_toolbar_item_append(tbar, "", "", NULL, NULL), EINA_TRUE); >> undo_item = >> >> >> ------------------------------------------------------------------------------ >> Keep Your Developer Skills Current with LearnDevNow! >> The most comprehensive online learning library for Microsoft developers >> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, >> Metro Style Apps, more. Free future releases when you subscribe now! >> http://p.sf.net/sfu/learndevnow-d2d >> _______________________________________________ >> enlightenment-svn mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/enlightenment-svn > > ------------------------------------------------------------------------------ > Keep Your Developer Skills Current with LearnDevNow! > The most comprehensive online learning library for Microsoft developers > is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, > Metro Style Apps, more. Free future releases when you subscribe now! > http://p.sf.net/sfu/learndevnow-d2d > _______________________________________________ > enlightenment-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel -- Leif ------------------------------------------------------------------------------ Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d _______________________________________________ enlightenment-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
