2
* This file is part of the Main Menu.
4
* Copyright (c) 2006, 2007 Novell, Inc.
6
* The Main Menu is free software; you can redistribute it and/or modify it
7
* under the terms of the GNU General Public License as published by the Free
8
* Software Foundation; either version 2 of the License, or (at your option)
11
* The Main Menu is distributed in the hope that it will be useful, but WITHOUT
12
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
16
* You should have received a copy of the GNU General Public License along with
17
* the Main Menu; if not, write to the Free Software Foundation, Inc., 51
18
* Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
21
#ifndef __SYSTEM_TILE_H__
22
#define __SYSTEM_TILE_H__
24
#include <libslab/nameplate-tile.h>
26
#include <libgnome/gnome-desktop-item.h>
30
#define SYSTEM_TILE_TYPE (system_tile_get_type ())
31
#define SYSTEM_TILE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), SYSTEM_TILE_TYPE, SystemTile))
32
#define SYSTEM_TILE_CLASS(c) (G_TYPE_CHECK_CLASS_CAST ((c), SYSTEM_TILE_TYPE, SystemTileClass))
33
#define IS_SYSTEM_TILE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), SYSTEM_TILE_TYPE))
34
#define IS_SYSTEM_TILE_CLASS(c) (G_TYPE_CHECK_CLASS_TYPE ((c), SYSTEM_TILE_TYPE))
35
#define SYSTEM_TILE_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), SYSTEM_TILE_TYPE, SystemTileClass))
38
NameplateTile nameplate_tile;
42
NameplateTileClass nameplate_tile_class;
45
#define SYSTEM_TILE_ACTION_OPEN 0
46
#define SYSTEM_TILE_ACTION_REMOVE 1
48
GType system_tile_get_type (void);
50
GtkWidget *system_tile_new (const gchar *desktop_item_id, const gchar *title);