Commit graph

214 commits

Author SHA1 Message Date
Richard Hughes
d6bc292a69 color: Actually install the icon in the corect place 2011-06-24 15:03:35 +01:00
Richard Hughes
6dd4817d68 color: Allow advanced users to create virtual devices using the context menu 2011-06-21 16:15:49 +01:00
Richard Hughes
24b2d2534e color: Add a popup menu for advanced users that want to set the system default
A menu popup was the best thing we could find after discussing it on
If anybody has any better ideas then please shout / send patches.

To show the menu, press the context menu key on the keyboard.
2011-06-21 16:15:49 +01:00
Richard Hughes
5912f00273 color: Don't emit a critical warning if the panel starts with a colorimeter already plugged in 2011-06-02 16:39:09 +01:00
Richard Hughes
6c691dacf2 color: Actually sort the new profile box by name by setting the sort column 2011-06-01 18:24:08 +01:00
Richard Hughes
f4228e48ce color: Only attempt to get the main window after the widget has been realized
This fixes a critical warning when adding a profile.
2011-06-01 18:24:08 +01:00
Richard Hughes
a44d36f993 color: Connect to the profile before doing cd_profile_equal -- we use the ID not the path 2011-05-31 10:43:31 +01:00
Richard Hughes
203046ccfb color: Fix a critical warning when devices are removed
It's a treeview, not a listview...
2011-05-30 23:08:00 +01:00
Richard Hughes
e51b037b76 color: Adapt to new async colord API
The libcolord async API used to use a thread to get the properties for the
device and profiles in the background.

This was racy as hell, and was not good API design. Connect to each device and
profiles explicitly before we access the properties.
2011-05-30 22:07:14 +01:00
Richard Hughes
63c7019e95 color: fix up some minor indenting issues 2011-05-30 22:07:14 +01:00
Richard Hughes
e7863d0e02 color: Add the virtual device UI which is used when a physical device connection is impossible
This is designed so power users can create virtual devices (just like in
ColorSync) that represent things like 'Hexachrome Press #2' or 'Cinema'.

This new UI isn't actually wired up yet, and there are no new UI controls as
the UI still needs love from the designers.

This was added at this point for two reasons:

1. To get the translations early so we can enable this later
2. To be able to delete the code out of gcm-prefs.c
2011-05-20 20:40:15 +01:00
Richard Hughes
d75adefd96 color: Force the color treeview scrolled window to be at least 6 rows in height 2011-05-20 16:34:35 +01:00
Richard Hughes
391cd73e5e color: install a preferences-color icon to avoid using the gnome-color-manager icon name 2011-05-20 15:59:06 +01:00
Richard Hughes
2e7e54c3c2 Add a color panel based on the functionality available in gnome-color-manager
All the major functionality is present, but the virtual device stuff needs
further work with the designers before being included.
2011-05-20 15:59:00 +01:00