~drbob/+junk/diary-main

« back to all changes in this revision

Viewing changes to src/link.c

  • Committer: Philip Withnall
  • Date: 2008-03-27 16:46:24 UTC
  • Revision ID: philip@tecnocode.co.uk-20080327164624-2c1ucigxyprlu1y2
Removed Picasa link type --- use URIs instead.
Made the link list more resilient to bad data.

Show diffs side-by-side

added added

removed removed

Lines of Context:
35
35
void link_##T##_build_dialog (const gchar *type, GtkTable *dialog_table); \
36
36
void link_##T##_get_values (DiaryLink *link);
37
37
 
38
 
LINK_TYPE (email)
 
38
/*LINK_TYPE (email)*/
39
39
LINK_TYPE (uri)
40
40
LINK_TYPE (file)
41
 
LINK_TYPE (picasa)
42
41
 
43
42
/*
44
43
 * IMPORTANT:
55
54
 
56
55
        /* Translators: These are the names and descriptions of the different link types. */
57
56
        { "file",       N_("File"),             N_("An attached file."),                "system-file-manager",          1,              &link_file_format_value,        &link_file_view,        &link_file_build_dialog,        &link_file_get_values },
58
 
        { "picasa",     N_("Picasa Album"),     N_("A Picasa album on the Internet."),  "insert-image",                 2,              &link_picasa_format_value,      &link_picasa_view,      &link_picasa_build_dialog,      &link_picasa_get_values },
59
57
        { "uri",        N_("URI"),              N_("A URI of a file or web page."),     "applications-internet",        1,              &link_uri_format_value,         &link_uri_view,         &link_uri_build_dialog,         &link_uri_get_values }
60
58
};
61
59