summaryrefslogtreecommitdiff
path: root/libslab/directory-tile.h
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2012-12-12 15:41:41 +0100
committerStefano Karapetsas <[email protected]>2012-12-12 15:41:41 +0100
commit762dd31acc761e33f05d27857a7b5f2b23f6d917 (patch)
tree3a91cd3f6213a8b8e5b19a73174800b1b03f6b7b /libslab/directory-tile.h
parent443a918bd4735e674bdec300f6b8eabe8cda24e0 (diff)
downloadmate-control-center-762dd31acc761e33f05d27857a7b5f2b23f6d917.tar.bz2
mate-control-center-762dd31acc761e33f05d27857a7b5f2b23f6d917.tar.xz
re-add previously deleted files into libslab
they are dependencies of gnome-main-menu they are migrated to gsettings
Diffstat (limited to 'libslab/directory-tile.h')
-rw-r--r--libslab/directory-tile.h61
1 files changed, 61 insertions, 0 deletions
diff --git a/libslab/directory-tile.h b/libslab/directory-tile.h
new file mode 100644
index 00000000..374faa2b
--- /dev/null
+++ b/libslab/directory-tile.h
@@ -0,0 +1,61 @@
+/*
+ * This file is part of libtile.
+ *
+ * Copyright (c) 2006 Novell, Inc.
+ *
+ * Libtile is free software; you can redistribute it and/or modify it under the
+ * terms of the GNU Lesser General Public License as published by the Free
+ * Software Foundation; either version 2 of the License, or (at your option)
+ * any later version.
+ *
+ * Libtile is distributed in the hope that it will be useful, but WITHOUT ANY
+ * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+ * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for
+ * more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * along with libslab; if not, write to the Free Software Foundation, Inc., 51
+ * Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+ */
+
+#ifndef __DIRECTORY_TILE_H__
+#define __DIRECTORY_TILE_H__
+
+#include <time.h>
+
+#include <libslab/nameplate-tile.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+#define DIRECTORY_TILE_TYPE (directory_tile_get_type ())
+#define DIRECTORY_TILE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), DIRECTORY_TILE_TYPE, DirectoryTile))
+#define DIRECTORY_TILE_CLASS(c) (G_TYPE_CHECK_CLASS_CAST ((c), DIRECTORY_TILE_TYPE, DirectoryTileClass))
+#define IS_DIRECTORY_TILE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), DIRECTORY_TILE_TYPE))
+#define IS_DIRECTORY_TILE_CLASS(c) (G_TYPE_CHECK_CLASS_TYPE ((c), DIRECTORY_TILE_TYPE))
+#define DIRECTORY_TILE_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), DIRECTORY_TILE_TYPE, DirectoryTileClass))
+
+typedef struct {
+ NameplateTile nameplate_tile;
+} DirectoryTile;
+
+typedef struct {
+ NameplateTileClass nameplate_tile_class;
+} DirectoryTileClass;
+
+#define DIRECTORY_TILE_ACTION_OPEN 0
+#define DIRECTORY_TILE_ACTION_RENAME 1
+#define DIRECTORY_TILE_ACTION_MOVE_TO_TRASH 2
+#define DIRECTORY_TILE_ACTION_DELETE 3
+#define DIRECTORY_TILE_ACTION_SEND_TO 4
+
+GType directory_tile_get_type (void);
+
+GtkWidget *directory_tile_new (const gchar *uri, const gchar *title, const gchar *icon_name, const gchar *mime_type);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif