On Wed, 15 Aug 2012 22:57:35 -0300 Gustavo Sverzut Barbieri
<barbi...@profusion.mobi> said:

> On Wednesday, August 15, 2012, Carsten Haitzler wrote:
> 
> > On Wed, 15 Aug 2012 10:32:54 -0300 Gustavo Sverzut Barbieri
> > <barbi...@profusion.mobi <javascript:;>> said:
> >
> > > There is a similar code in our "xdg-open" version enlightenment_open.
> > Could
> > > u check?
> >
> > well xdg-open (and e_open by inference) take a file/uri ... but a terminal
> > takes nothing. well maybe a command. i'm not sure how this fits in UNLESS
> > we
> > add a special -t or something option to open a terminal (then with an
> > optional
> > command). i.e. it needs more context than it currently accept.s
> 
> 
> There is! I can't check it now so I asked u. I added a way to open terminal
> from it :-)

oh you added one? oh well then... then i can fix it. let me look. :)

> >
> > > On Wednesday, August 15, 2012, Enlightenment SVN wrote:
> > >
> > > > Log:
> > > > abstract the "get terminal desktop" code into util code and now use
> > > >   from e_exec AND in efm - open terminal here menu item is there with
> > > >   code to set your default terminal in default applications too.
> > > >
> > > >
> > > >
> > > > Author:       raster
> > > > Date:         2012-08-15 02:59:37 -0700 (Wed, 15 Aug 2012)
> > > > New Revision: 75290
> > > > Trac:         http://trac.enlightenment.org/e/changeset/75290
> > > >
> > > > Modified:
> > > >   trunk/e/src/bin/e_exec.c trunk/e/src/bin/e_utils.c
> > > > trunk/e/src/bin/e_utils.h
> > > > trunk/e/src/modules/conf_applications/e_int_config_defapps.c
> > > > trunk/e/src/modules/fileman/e_fwin.c
> > > >
> > > > Modified: trunk/e/src/bin/e_exec.c
> > > > ===================================================================
> > > > --- trunk/e/src/bin/e_exec.c    2012-08-15 09:52:26 UTC (rev 75289)
> > > > +++ trunk/e/src/bin/e_exec.c    2012-08-15 09:59:37 UTC (rev 75290)
> > > > @@ -264,38 +264,9 @@
> > > >          e_util_library_path_strip();
> > > >          if ((desktop) && (desktop->terminal))
> > > >            {
> > > > -             Efreet_Desktop *tdesktop, *td;
> > > > -             int i;
> > > > -             // XXX: FIXME: this should become config some day...
> > > > -             const char *terms[] =
> > > > -               {
> > > > -                  "terminology.desktop",
> > > > -                  "xterm.desktop",
> > > > -                  "rxvt.desktop",
> > > > -                  "gnome-terimnal.desktop",
> > > > -                  "konsole.desktop",
> > > > -                  NULL
> > > > -               };
> > > > +             Efreet_Desktop *tdesktop;
> > > >
> > > > -             for (i = 0; terms[i]; i++)
> > > > -               {
> > > > -                  tdesktop =
> > efreet_util_desktop_file_id_find(terms[i]);
> > > > -                  if (tdesktop) break;
> > > > -               }
> > > > -             if (!tdesktop)
> > > > -               {
> > > > -                  l =
> > > > efreet_util_desktop_category_list("TerminalEmulator");
> > > > -                  if (l)
> > > > -                    {
> > > > -                       // just take first one since above list doesn't
> > > > work.
> > > > -                       tdesktop = l->data;
> > > > -                       EINA_LIST_FREE(l, td)
> > > > -                         {
> > > > -                            // free/unref the desktosp we are not
> > going
> > > > to use
> > > > -                            if (td != tdesktop)
> > efreet_desktop_free(td);
> > > > -                         }
> > > > -                    }
> > > > -               }
> > > > +             tdesktop = e_util_terminal_desktop_get();> will include
> > endpoint security, mobile security and the latest in malware
> > > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> > > _______________________________________________
> > > enlightenment-devel mailing list
> > > enlightenment-devel@lists.sourceforge.net <javascript:;>
> > > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
> > >
> >
> >
> > --
> > ------------- Codito, ergo sum - "I code, therefore I am" --------------
> > The Rasterman (Carsten Haitzler)    ras...@rasterman.com <javascript:;>
> >
> >
> 
> -- 
> Gustavo Sverzut Barbieri
> http://profusion.mobi embedded systems
> --------------------------------------
> MSN: barbi...@gmail.com
> Skype: gsbarbieri
> Mobile: +55 (19) 9225-2202


-- 
------------- Codito, ergo sum - "I code, therefore I am" --------------
The Rasterman (Carsten Haitzler)    ras...@rasterman.com


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to