On 2-11-2009 01:04:32, Moritz Wilhelmy wrote:
> Would you please add it to the surf page in the suckless wiki?
Sure. I'll make a fresh diff today, if there are no protests I'll be
glad to submit.
Regards,
Ted
> On Fri, Oct 23, 2009 at 08:52:33PM +0200, Tadeusz Sośnierz wrote:
> > On 23-10-2009 19:26:50, Julien Pecqueur wrote:
> > > Le mardi 20 octobre 2009 à 02:44:53, Tadeusz Sośnierz a écrit :
> > > > Hello,
> > > > I wrote some patch for bookmark handling, attached. Everything is driven
> > > > by the right-click menu. Sadly, I had no idea how to include some labels
> > > > for the urls. Also, I'm rather beggining with C, so I'm sorry for any
> > > > eye-stabbing stupidities you may encounter, and please report
> > > > them to me.
> > > >
> > > > Hope You'll like it.
> > >
> > > I'd have the same idea few weeks ago and i wrote a very-simple bookmarks
> > > management implementation for surf (using dmenu). However, your idea of
> > > displaying bookmarks list in a about:bookmarks page is smartest :)
> > >
> > > > +void
> > > > +addbookmark(Client *c, const Arg *arg) {
> > > > + char *bmark_uri;
> > > > + FILE *f;
> > > > + bmark_uri = geturi(c);
> > > > + f = fopen(bmarksfile, "a+");
> > > > + fprintf(f, "%s\n", geturi(c));
> > > > + fclose(f);
> > > > +}
> > >
> > > The pointer *bmark_uri is not used in the function.
> >
> > Right, my bad. Thanks for noticing!
> >
> > > Good job, i'll be apply your patch this evening!
> >
> > I'm glad you like it.
> >
> > Regards
> >
> > --
> > ===========================================================
> > () ascii ribbon campaign - against html e-mail
> > /\ www.asciiribbon.org - against proprietary attachments
> >
> >
-- =========================================================== () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachmentsReceived on Mon Nov 02 2009 - 04:10:33 UTC
This archive was generated by hypermail 2.2.0 : Mon Nov 02 2009 - 05:12:01 UTC