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

« back to all changes in this revision

Viewing changes to shell/cc-shell-category-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
 
 
22
#ifndef _CC_SHELL_CATEGORY_VIEW_H
 
23
#define _CC_SHELL_CATEGORY_VIEW_H
 
24
 
 
25
#include <gtk/gtk.h>
 
26
#include "cc-shell-item-view.h"
 
27
 
 
28
G_BEGIN_DECLS
 
29
 
 
30
#define CC_TYPE_SHELL_CATEGORY_VIEW cc_shell_category_view_get_type()
 
31
 
 
32
#define CC_SHELL_CATEGORY_VIEW(obj) \
 
33
  (G_TYPE_CHECK_INSTANCE_CAST ((obj), \
 
34
  CC_TYPE_SHELL_CATEGORY_VIEW, CcShellCategoryView))
 
35
 
 
36
#define CC_SHELL_CATEGORY_VIEW_CLASS(klass) \
 
37
  (G_TYPE_CHECK_CLASS_CAST ((klass), \
 
38
  CC_TYPE_SHELL_CATEGORY_VIEW, CcShellCategoryViewClass))
 
39
 
 
40
#define CC_IS_SHELL_CATEGORY_VIEW(obj) \
 
41
  (G_TYPE_CHECK_INSTANCE_TYPE ((obj), \
 
42
  CC_TYPE_SHELL_CATEGORY_VIEW))
 
43
 
 
44
#define CC_IS_SHELL_CATEGORY_VIEW_CLASS(klass) \
 
45
  (G_TYPE_CHECK_CLASS_TYPE ((klass), \
 
46
  CC_TYPE_SHELL_CATEGORY_VIEW))
 
47
 
 
48
#define CC_SHELL_CATEGORY_VIEW_GET_CLASS(obj) \
 
49
  (G_TYPE_INSTANCE_GET_CLASS ((obj), \
 
50
  CC_TYPE_SHELL_CATEGORY_VIEW, CcShellCategoryViewClass))
 
51
 
 
52
typedef struct _CcShellCategoryView CcShellCategoryView;
 
53
typedef struct _CcShellCategoryViewClass CcShellCategoryViewClass;
 
54
typedef struct _CcShellCategoryViewPrivate CcShellCategoryViewPrivate;
 
55
 
 
56
struct _CcShellCategoryView
 
57
{
 
58
  GtkFrame parent;
 
59
 
 
60
  CcShellCategoryViewPrivate *priv;
 
61
};
 
62
 
 
63
struct _CcShellCategoryViewClass
 
64
{
 
65
  GtkFrameClass parent_class;
 
66
};
 
67
 
 
68
GType cc_shell_category_view_get_type (void) G_GNUC_CONST;
 
69
 
 
70
GtkWidget *cc_shell_category_view_new (const gchar  *name,
 
71
                                       GtkTreeModel *model);
 
72
CcShellItemView* cc_shell_category_view_get_item_view (CcShellCategoryView *self);
 
73
 
 
74
G_END_DECLS
 
75
 
 
76
#endif /* _CC_SHELL_CATEGORY_VIEW_H */