~noskcaj/ubuntu/trusty/xfdesktop4/4.11.2-1

« back to all changes in this revision

Viewing changes to .pc/0007-Icon-positions-are-saved-restored-per-resolution.patch/src/xfdesktop-file-icon-manager.h

  • Committer: Package Import Robot
  • Author(s): Lionel Le Folgoc
  • Date: 2012-05-18 22:18:02 UTC
  • mfrom: (3.1.7 experimental)
  • Revision ID: package-import@ubuntu.com-20120518221802-htmj6h4apaij25l2
Tags: 4.10.0-1ubuntu1
* Merge from Debian experimental, remaining Ubuntu change:
  - debian/patches/xubuntu_improve-nautilus-interactions.patch: added,
    should prevent nautilus from taking over the desktop if xfdesktop is
    running (and vice-versa).

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*
2
 
 *  xfdesktop - xfce4's desktop manager
3
 
 *
4
 
 *  Copyright (c) 2006 Brian Tarricone, <bjt23@cornell.edu>
5
 
 *
6
 
 *  This program is free software; you can redistribute it and/or modify
7
 
 *  it under the terms of the GNU General Public License as published by
8
 
 *  the Free Software Foundation; either version 2 of the License, or
9
 
 *  (at your option) any later version.
10
 
 *
11
 
 *  This program is distributed in the hope that it will be useful,
12
 
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
13
 
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14
 
 *  GNU Library General Public License for more details.
15
 
 *
16
 
 *  You should have received a copy of the GNU General Public License
17
 
 *  along with this program; if not, write to the Free Software
18
 
 *  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
19
 
 */
20
 
 
21
 
#ifndef __XFDESKTOP_FILE_ICON_MANAGER_H__
22
 
#define __XFDESKTOP_FILE_ICON_MANAGER_H__
23
 
 
24
 
#include <glib.h>
25
 
#include <xfconf/xfconf.h>
26
 
 
27
 
#include "xfdesktop-special-file-icon.h"
28
 
#include "xfdesktop-icon-view-manager.h"
29
 
 
30
 
G_BEGIN_DECLS
31
 
 
32
 
#define XFDESKTOP_TYPE_FILE_ICON_MANAGER     (xfdesktop_file_icon_manager_get_type())
33
 
#define XFDESKTOP_FILE_ICON_MANAGER(obj)     (G_TYPE_CHECK_INSTANCE_CAST((obj), XFDESKTOP_TYPE_FILE_ICON_MANAGER, XfdesktopFileIconManager))
34
 
#define XFDESKTOP_IS_FILE_ICON_MANAGER(obj)  (G_TYPE_CHECK_INSTANCE_TYPE((obj), XFDESKTOP_TYPE_FILE_ICON_MANAGER))
35
 
 
36
 
typedef struct _XfdesktopFileIconManager         XfdesktopFileIconManager;
37
 
typedef struct _XfdesktopFileIconManagerClass    XfdesktopFileIconManagerClass;
38
 
typedef struct _XfdesktopFileIconManagerPrivate  XfdesktopFileIconManagerPrivate;
39
 
 
40
 
struct _XfdesktopFileIconManager
41
 
{
42
 
    GObject parent;
43
 
    
44
 
    /*< private >*/
45
 
    XfdesktopFileIconManagerPrivate *priv;
46
 
};
47
 
 
48
 
struct _XfdesktopFileIconManagerClass
49
 
{
50
 
    GObjectClass parent;
51
 
};
52
 
 
53
 
GType xfdesktop_file_icon_manager_get_type(void) G_GNUC_CONST;
54
 
 
55
 
XfdesktopIconViewManager *xfdesktop_file_icon_manager_new(GFile *folder,
56
 
                                                          XfconfChannel *channel);
57
 
 
58
 
void xfdesktop_file_icon_manager_set_show_removable_media(XfdesktopFileIconManager *manager,
59
 
                                                          gboolean show_removable_media);
60
 
gboolean xfdesktop_file_icon_manager_get_show_removable_media(XfdesktopFileIconManager *manager);
61
 
 
62
 
void xfdesktop_file_icon_manager_set_show_special_file(XfdesktopFileIconManager *manager,
63
 
                                                       XfdesktopSpecialFileIconType type,
64
 
                                                       gboolean show_special_file);
65
 
gboolean xfdesktop_file_icon_manager_get_show_special_file(XfdesktopFileIconManager *manager,
66
 
                                                           XfdesktopSpecialFileIconType type);
67
 
void xfdesktop_file_icon_manager_set_show_thumbnails(XfdesktopFileIconManager *manager,
68
 
                                                     gboolean show_thumbnails);
69
 
gboolean xfdesktop_file_icon_manager_get_show_thumbnails(XfdesktopFileIconManager *manager);
70
 
 
71
 
 
72
 
G_END_DECLS
73
 
 
74
 
#endif  /* __XFDESKTOP_FILE_ICON_MANAGER_H__ */