~ubuntu-branches/ubuntu/breezy/kino/breezy

« back to all changes in this revision

Viewing changes to src/callbacks.c

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Kobras
  • Date: 2002-04-21 17:31:41 UTC
  • Revision ID: james.westby@ubuntu.com-20020421173141-zn8x3cykdgf06473
Tags: 0.50-3
* Adapt to libdv 0.9.5. Adjust build-deps accordingly.
* Added Arch line back to any. kino is really useful even without
  IEEE 1394 hardware.
* Include libgtkxmhtml-dev and libzvt-dev to build deps.

Show diffs side-by-side

added added

removed removed

Lines of Context:
744
744
        gchar *tmp;
745
745
        tmp = gnome_help_file_find_file ("kino", "index.html");
746
746
        if (tmp) {
 
747
                /* Mozilla doesn't grok local file names. Expand to full
 
748
                 * URL instead. The check below relies on find_file
 
749
                 * returning an absolute path name. Which it currently does.
 
750
                 */
 
751
                if (*tmp == '/') {
 
752
                        gchar *url=g_malloc(strlen(tmp)+8);
 
753
                        if (url) {
 
754
                                strcpy(url, "file://");
 
755
                                strcat(url, tmp);
 
756
                                g_free(tmp);
 
757
                                tmp=url;
 
758
                        }
 
759
                }
747
760
                gnome_help_goto(0, tmp);
748
761
                g_free(tmp);
749
762
        }