Lines 1774-1779
gcm_calib_add_pages (GcmCalibratePriv *calib)
Link Here
|
1774 |
{ |
1774 |
{ |
1775 |
gboolean ret; |
1775 |
gboolean ret; |
1776 |
const gchar *xrandr_name; |
1776 |
const gchar *xrandr_name; |
|
|
1777 |
gchar *command; |
1777 |
|
1778 |
|
1778 |
/* device not found */ |
1779 |
/* device not found */ |
1779 |
if (calib->device_kind == CD_DEVICE_KIND_UNKNOWN) { |
1780 |
if (calib->device_kind == CD_DEVICE_KIND_UNKNOWN) { |
Lines 1789-1797
gcm_calib_add_pages (GcmCalibratePriv *calib)
Link Here
|
1789 |
gcm_calib_setup_page_sensor (calib); |
1790 |
gcm_calib_setup_page_sensor (calib); |
1790 |
|
1791 |
|
1791 |
/* find whether argyllcms is installed using a tool which should exist */ |
1792 |
/* find whether argyllcms is installed using a tool which should exist */ |
1792 |
ret = g_file_test ("/usr/bin/dispcal", G_FILE_TEST_EXISTS); |
1793 |
command = gcm_calibrate_argyll_get_tool_filename ("dispcal", NULL); |
1793 |
if (!ret) |
1794 |
if (command == NULL) |
1794 |
gcm_calib_setup_page_install_argyllcms (calib); |
1795 |
gcm_calib_setup_page_install_argyllcms (calib); |
|
|
1796 |
else |
1797 |
g_free (command); |
1795 |
|
1798 |
|
1796 |
xrandr_name = cd_device_get_metadata_item (calib->device, |
1799 |
xrandr_name = cd_device_get_metadata_item (calib->device, |
1797 |
CD_DEVICE_METADATA_XRANDR_NAME); |
1800 |
CD_DEVICE_METADATA_XRANDR_NAME); |
1798 |
- |
|
|