~kroq-gar78/ubuntu/precise/gnome-control-center/fix-885947

« back to all changes in this revision

Viewing changes to shell/cc-shell-item-view.h

  • Committer: Bazaar Package Importer
  • Author(s): Rodrigo Moya
  • Date: 2011-05-17 10:47:27 UTC
  • mfrom: (0.1.11 experimental) (1.1.45 upstream)
  • Revision ID: james.westby@ubuntu.com-20110517104727-lqel6m8vhfw5jby1
Tags: 1:3.0.1.1-1ubuntu1
* Rebase on Debian, remaining Ubuntu changes:
* debian/control:
  - Build-Depend on hardening-wrapper, dpkg-dev and dh-autoreconf
  - Add dependency on ubuntu-system-service
  - Remove dependency on gnome-icon-theme-symbolic
  - Move dependency on apg, gnome-icon-theme-symbolic and accountsservice to
    be a Recommends: until we get them in main
* debian/rules:
  - Use autoreconf
  - Add binary-post-install rule for gnome-control-center-data
  - Run dh-autoreconf
* debian/gnome-control-center.dirs:
* debian/gnome-control-center.links:
  - Add a link to the control center shell for indicators
* debian/patches/00_disable-nm.patch:
  - Temporary patch to disable building with NetworkManager until we get
    the new one in the archive
* debian/patches/01_git_remove_gettext_calls.patch:
  - Remove calls to AM_GNU_GETTEXT, IT_PROG_INTLTOOL should be enough
* debian/patches/01_git_kill_warning.patch:
  - Kill warning
* debian/patches/50_ubuntu_systemwide_prefs.patch:
  - Ubuntu specific proxy preferences
* debian/patches/51_ubuntu_system_keyboard.patch:
  - Implement the global keyboard spec at https://wiki.ubuntu.com/DefaultKeyboardSettings

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * Copyright (c) 2010 Intel, Inc.
 
3
 *
 
4
 * The Control Center is free software; you can redistribute it and/or modify
 
5
 * it under the terms of the GNU General Public License as published by the
 
6
 * Free Software Foundation; either version 2 of the License, or (at your
 
7
 * option) any later version.
 
8
 *
 
9
 * The Control Center is distributed in the hope that it will be useful, but
 
10
 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
 
11
 * or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
 
12
 * for more details.
 
13
 *
 
14
 * You should have received a copy of the GNU General Public License along
 
15
 * with the Control Center; if not, write to the Free Software Foundation,
 
16
 * Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
17
 *
 
18
 * Author: Thomas Wood <thos@gnome.org>
 
19
 */
 
20
 
 
21
#ifndef _CC_SHELL_ITEM_VIEW_H
 
22
#define _CC_SHELL_ITEM_VIEW_H
 
23
 
 
24
#include <gtk/gtk.h>
 
25
 
 
26
G_BEGIN_DECLS
 
27
 
 
28
#define CC_TYPE_SHELL_ITEM_VIEW cc_shell_item_view_get_type()
 
29
 
 
30
#define CC_SHELL_ITEM_VIEW(obj) \
 
31
  (G_TYPE_CHECK_INSTANCE_CAST ((obj), \
 
32
  CC_TYPE_SHELL_ITEM_VIEW, CcShellItemView))
 
33
 
 
34
#define CC_SHELL_ITEM_VIEW_CLASS(klass) \
 
35
  (G_TYPE_CHECK_CLASS_CAST ((klass), \
 
36
  CC_TYPE_SHELL_ITEM_VIEW, CcShellItemViewClass))
 
37
 
 
38
#define CC_IS_SHELL_ITEM_VIEW(obj) \
 
39
  (G_TYPE_CHECK_INSTANCE_TYPE ((obj), \
 
40
  CC_TYPE_SHELL_ITEM_VIEW))
 
41
 
 
42
#define CC_IS_SHELL_ITEM_VIEW_CLASS(klass) \
 
43
  (G_TYPE_CHECK_CLASS_TYPE ((klass), \
 
44
  CC_TYPE_SHELL_ITEM_VIEW))
 
45
 
 
46
#define CC_SHELL_ITEM_VIEW_GET_CLASS(obj) \
 
47
  (G_TYPE_INSTANCE_GET_CLASS ((obj), \
 
48
  CC_TYPE_SHELL_ITEM_VIEW, CcShellItemViewClass))
 
49
 
 
50
typedef struct _CcShellItemView CcShellItemView;
 
51
typedef struct _CcShellItemViewClass CcShellItemViewClass;
 
52
typedef struct _CcShellItemViewPrivate CcShellItemViewPrivate;
 
53
 
 
54
struct _CcShellItemView
 
55
{
 
56
  GtkIconView parent;
 
57
 
 
58
  CcShellItemViewPrivate *priv;
 
59
};
 
60
 
 
61
struct _CcShellItemViewClass
 
62
{
 
63
  GtkIconViewClass parent_class;
 
64
};
 
65
 
 
66
GType cc_shell_item_view_get_type (void) G_GNUC_CONST;
 
67
 
 
68
GtkWidget *cc_shell_item_view_new (void);
 
69
 
 
70
void cc_shell_item_view_update_cells (CcShellItemView *view);
 
71
 
 
72
G_END_DECLS
 
73
 
 
74
#endif /* _CC_SHELL_ITEM_VIEW_H */