~ubuntu-branches/ubuntu/natty/file-browser-applet/natty

« back to all changes in this revision

Viewing changes to src/vfs.h

  • Committer: Bazaar Package Importer
  • Author(s): Andrew Starr-Bochicchio
  • Date: 2009-04-11 17:15:39 UTC
  • mfrom: (1.1.4 upstream) (2.1.2 squeeze)
  • Revision ID: james.westby@ubuntu.com-20090411171539-jk4kgkvm4i39nv3c
Tags: 0.6.2-1
* New upstream release. (Closes: #504525)
 - Added context menu with a few actions (open-with, new folder here, 
   delete file/folder, create/extract archive, create CD/DVD from 
   file/folder, compile a tex file).
 - Added configuration option to make text vertical/horizontal when 
   the panel is vertical.
 - Added tooltips to configuration dialog.
 - Fixes upstream bugs #21, #30, #34, #37, #39, #43, #44, #45, #49, 
   #51, #56, #59, #60, and #62.
 - Added mnemonic keyboard shortcut to menus for 
   faster keyboard navigation.
 - Added recent documents' support.
 - Improved menu browser focus after context menu close.
 - Added preliminary DnD dragging out of applet. MOVE is the default 
   behaviour.
 - Some code cleanups and plugged memory leaks.
 - Slightly improved "New Folder" dialog.
 - Migrated to gtk+ builder from libglade.
* debian/control:
 - Add suggests on file-roller, brasero, and rubber 
   for new features.
 - Add Vcs-Bzr field.
 - Drop depricated libglade2-dev Build-Depend
 - Drop unneeded libpanel-applet2-0 Depend. Already picked up by 
   shlibs:Depends.
 - Add versionized Build-Depend on libgtk2.0-dev (>= 2.14)
 - Bump Standards-Version to 3.8.1
* debian/copyright:
 - Use /usr/share/common-licenses/GPL-2 rather than just GLP.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*
2
 
 * File:                                vfs.h
3
 
 * Created:                             February 2008
4
 
 * Created by:                  Axel von Bertoldi
5
 
 * Last Modified:               August 2008
6
 
 * Last Modified by:    Axel von Bertoldi
7
 
 * (C) 2005-2008                Axel von Bertoldi
 
1
            /*
 
2
 * File:                vfs.h
 
3
 * Created:             February 2008
 
4
 * Created by:          Axel von Bertoldi
 
5
 * Last Modified:       August 2008
 
6
 * Last Modified by:    Axel von Bertoldi
 
7
 * (C) 2005-2008        Axel von Bertoldi
8
8
 *
9
9
 * This program is free software; you can redistribute it and/or modify it
10
10
 * under the terms of the GNU General Public License as published by the Free
30
30
 
31
31
/******************************************************************************/
32
32
enum {
33
 
        ARG_APP,
34
 
        ARG_FILE,
 
33
    ARG_APP,
 
34
    ARG_FILE,
35
35
    ARGS_SIZE,
36
36
};
37
37
/******************************************************************************/
38
38
typedef struct _VfsFileInfo VfsFileInfo;
39
39
/******************************************************************************/
40
40
struct _VfsFileInfo {
41
 
        gchar           *display_name; /* need to free this */
42
 
        gchar           *file_name; /* need to free this */
43
 
        GtkWidget       *icon; /* don't need to free this */
44
 
        gboolean        is_executable;
 
41
    gchar       *display_name; /* need to free this */
 
42
    gchar       *file_name; /* need to free this */
 
43
    GtkWidget   *icon; /* don't need to free this */
 
44
    gboolean    is_executable;
45
45
};
46
46
/******************************************************************************/
47
 
gboolean        vfs_file_is_executable          (const gchar *file_name);
48
 
gboolean        vfs_file_is_desktop                     (const gchar *file_name);
49
 
gboolean        vfs_file_is_directory           (const gchar *file_name);
50
 
gboolean        vfs_file_exists                         (const gchar *file_name);
51
 
 
52
 
gchar*          vfs_get_dir_listings            (GPtrArray *files, GPtrArray *dirs, gboolean show_hidden, const gchar *path);
53
 
GList*          vfs_get_all_mime_applications (const gchar *file_name);
54
 
GtkWidget*      vfs_get_icon_for_file           (const gchar *file_name);
55
 
 
56
 
gboolean        vfs_launch_application          (const gchar *const*args);
57
 
gboolean        vfs_file_do_default_action      (const gchar *file_name);
58
 
void            vfs_file_trash                          (gchar *file_name);
 
47
gboolean    vfs_file_is_executable      (const gchar *file_name);
 
48
gboolean    vfs_file_is_desktop         (const gchar *file_name);
 
49
gboolean    vfs_file_is_directory       (const gchar *file_name);
 
50
gboolean    vfs_file_exists             (const gchar *file_name);
 
51
 
 
52
gchar*      vfs_get_dir_listings        (GPtrArray *files, GPtrArray *dirs, gboolean show_hidden, const gchar *path);
 
53
GList*      vfs_get_all_mime_applications (const gchar *file_name);
 
54
GtkWidget*  vfs_get_icon_for_file       (const gchar *file_name);
 
55
 
 
56
gboolean    vfs_launch_application      (const gchar *const*args);
 
57
gboolean    vfs_file_do_default_action  (const gchar *file_name);
 
58
void        vfs_file_trash              (const gchar *file_name);
59
59
/******************************************************************************/
60
60
 
61
61
#endif