This matches the new mockups as specified by Allan in https://raw.github.com/gnome-design-team/gnome-mockups/master/system-settings/color/panel.png The CcColorDevice and CcColorProfile widgets are lines in the EggListBox and are smart by watching for changes in each colord device. To use this new functionality you need colord from git master, and for the 'Laptop' devices to be recognised as internal, you also need to be _running_ gnome-settings-daemon from git, although this is not strictly required.
35 lines
1.2 KiB
C
35 lines
1.2 KiB
C
/* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*-
|
|
*
|
|
* Copyright (C) 2012 Richard Hughes <richard@hughsie.com>
|
|
*
|
|
* Licensed under the GNU General Public License Version 2
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License as published by
|
|
* the Free Software Foundation; either version 2 of the License, or
|
|
* (at your option) any later version.
|
|
*
|
|
* This program 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 General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with this program; if not, write to the Free Software
|
|
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
|
*/
|
|
|
|
#ifndef CC_COLOR_COMMON_H
|
|
#define CC_COLOR_COMMON_H
|
|
|
|
#include <colord.h>
|
|
|
|
#define GCM_SETTINGS_SCHEMA "org.gnome.settings-daemon.plugins.color"
|
|
|
|
gchar *cc_color_device_get_sortable_base (CdDevice *device);
|
|
gchar *cc_color_device_get_title (CdDevice *device);
|
|
|
|
G_END_DECLS
|
|
|
|
#endif /* CC_COLOR_COMMON_H */
|
|
|