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

« back to all changes in this revision

Viewing changes to capplets/common/capplet-stock-icons.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
 
 * capplet-stock-icons.h
3
 
 *
4
 
 * Copyright (C) 2002 Sun Microsystems, Inc.
5
 
 *
6
 
 * This library is free software; you can redistribute it and/or
7
 
 * modify it under the terms of the GNU Library General Public
8
 
 * License as published by the Free Software Foundation; either
9
 
 * version 2 of the License, or (at your option) any later version.
10
 
 *
11
 
 * This library 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 GNU
14
 
 * Library General Public License for more details.
15
 
 *
16
 
 * You should have received a copy of the GNU Library General Public
17
 
 * License along with this library; if not, write to the
18
 
 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
19
 
 * Boston, MA 02111-1307, USA.
20
 
 *
21
 
 * Authors:
22
 
 *      Rajkumar Sivasamy <rajkumar.siva@wipro.com>
23
 
 *      Taken bits of code from panel-stock-icons.h, Thanks Mark <mark@skynet.ie>
24
 
 */
25
 
 
26
 
#ifndef __CAPPLET_STOCK_ICONS_H__
27
 
#define __CAPPLET_STOCK_ICONS_H__
28
 
 
29
 
#include <glib.h>
30
 
#include <gtk/gtk.h>
31
 
 
32
 
G_BEGIN_DECLS
33
 
 
34
 
#define KEYBOARD_CAPPLET_DEFAULT_ICON_SIZE      48
35
 
#define MOUSE_CAPPLET_DEFAULT_WIDTH             120
36
 
#define MOUSE_CAPPLET_DEFAULT_HEIGHT            100
37
 
#define MOUSE_CAPPLET_DBLCLCK_ICON_SIZE         100
38
 
 
39
 
/* stock icons */
40
 
#define KEYBOARD_REPEAT                 "keyboard-repeat"
41
 
#define KEYBOARD_CURSOR                 "keyboard-cursor"
42
 
#define KEYBOARD_VOLUME                 "keyboard-volume"
43
 
#define KEYBOARD_BELL                   "keyboard-bell" 
44
 
#define ACCESSX_KEYBOARD_BOUNCE         "accessibility-keyboard-bouncekey"
45
 
#define ACCESSX_KEYBOARD_SLOW           "accessibility-keyboard-slowkey"
46
 
#define ACCESSX_KEYBOARD_MOUSE          "accessibility-keyboard-mousekey"
47
 
#define ACCESSX_KEYBOARD_STICK          "accessibility-keyboard-stickykey"
48
 
#define ACCESSX_KEYBOARD_TOGGLE         "accessibility-keyboard-togglekey"
49
 
#define MOUSE_DBLCLCK_MAYBE             "mouse-dblclck-maybe"
50
 
#define MOUSE_DBLCLCK_ON                "mouse-dblclck-on"
51
 
#define MOUSE_DBLCLCK_OFF               "mouse-dblclck-off"
52
 
#define MOUSE_RIGHT_HANDED              "mouse-right-handed"
53
 
#define MOUSE_LEFT_HANDED               "mouse-left-handed"
54
 
 
55
 
void        capplet_init_stock_icons                    (void);
56
 
GtkIconSize keyboard_capplet_icon_get_size              (void);
57
 
GtkIconSize mouse_capplet_icon_get_size                 (void);
58
 
GtkIconSize mouse_capplet_dblclck_icon_get_size         (void);
59
 
 
60
 
G_END_DECLS
61
 
 
62
 
#endif /* __CAPPLET_STOCK_ICONS_H__ */