~ubuntu-branches/ubuntu/maverick/nautilus-actions/maverick

« back to all changes in this revision

Viewing changes to src/test/test-parse-uris.c

  • Committer: Bazaar Package Importer
  • Author(s): Christine Spang
  • Date: 2009-10-25 14:04:13 UTC
  • mfrom: (1.1.7 upstream) (3.1.5 squeeze)
  • Revision ID: james.westby@ubuntu.com-20091025140413-okqdth1kvcx8ko3o
Tags: 2.29.1-1
* New upstream version.
  - implements full API as defined for use by Nautilus menu
    extensions : this let the user define items which will be
    available when there is no selection, and will apply to
    current folder, either in the 'File' menu or in the
    toolbar ;
  - the ability for the user to define a full hierarchy of
    actions with menus, submenus, and so on ;
  - drag and drop ;
  - full cut/copy/paste clipboard support.
  - Gnome bugs fixed:
    - #325528 reported by Frederic Ruaudel
              (bloated  contextual menu)
    - #325587 reported by Frederic Ruaudel
              (drag & drop support)
    - #326699 reported by Frederic Ruaudel
              (action items do not remain in user defined order)
    - #353353 reported by Frederic Ruaudel
              (check if command exist and if not warn user)
    - #588482 reported by Sean
            (ordering in actions list)
    - #326699 reported by Frederic Ruaudel
            (action items do not remain in user defined order)
    - #353353 reported by Frederic Ruaudel
              (check if command exist and if not warn user)
    - #588482 reported by Sean
              (ordering in actions list)
    - #590400 reported by Pierre Wieser
              (have some sort of warnings in the ui)
    - #599520 reported by António Lima
              (do not mark authors names and emails for translating)

Show diffs side-by-side

added added

removed removed

Lines of Context:
37
37
#include <glib/gi18n.h>
38
38
#include <stdlib.h>
39
39
 
40
 
#include <common/na-gnome-vfs-uri.h>
 
40
#include <runtime/na-gnome-vfs-uri.h>
41
41
 
42
42
static const gchar *uris[] = {
43
43
                "http://robert:azerty01@mon.domain.com/path/to/a/document?query#anchor",
50
50
int
51
51
main( int argc, char** argv )
52
52
{
 
53
        int i;
 
54
 
53
55
        g_type_init();
54
56
        g_printf( _( "URIs parsing test.\n\n" ));
55
57
 
56
 
        int i;
57
58
        for( i = 0 ; uris[i] ; ++i ){
58
59
                NAGnomeVFSURI *vfs = g_new0( NAGnomeVFSURI, 1 );
59
60
                na_gnome_vfs_uri_parse( vfs, uris[i] );