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 attachmentsReceived on Fri Oct 23 2009 - 18:52:33 UTC
This archive was generated by hypermail 2.2.0 : Fri Oct 23 2009 - 19:00:02 UTC