[gthumb] color picker: allow to copy the new formats to clipboard



commit 0e5d4f4bd9e29f3c7853eb0df3835db1e57236db
Author: Paolo Bacchilega <paobac src gnome org>
Date:   Wed Jun 16 21:42:16 2021 +0200

    color picker: allow to copy the new formats to clipboard

 extensions/file_tools/gth-file-tool-color-picker.c | 8 ++++++++
 1 file changed, 8 insertions(+)
---
diff --git a/extensions/file_tools/gth-file-tool-color-picker.c 
b/extensions/file_tools/gth-file-tool-color-picker.c
index 8cd5a4de..5259cae9 100644
--- a/extensions/file_tools/gth-file-tool-color-picker.c
+++ b/extensions/file_tools/gth-file-tool-color-picker.c
@@ -205,6 +205,14 @@ gth_file_tool_color_picker_get_options (GthFileTool *base)
                          "icon-press",
                          G_CALLBACK (color_text_icon_press_cb),
                          self);
+       g_signal_connect (GET_WIDGET ("rgb_100_color"),
+                         "icon-press",
+                         G_CALLBACK (color_text_icon_press_cb),
+                         self);
+       g_signal_connect (GET_WIDGET ("hsl_color"),
+                         "icon-press",
+                         G_CALLBACK (color_text_icon_press_cb),
+                         self);
 
        return options;
 }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]