summaryrefslogtreecommitdiff
path: root/src/nautilus-information-panel.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nautilus-information-panel.c')
-rw-r--r--src/nautilus-information-panel.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nautilus-information-panel.c b/src/nautilus-information-panel.c
index 27f1f4812..4a31e8f47 100644
--- a/src/nautilus-information-panel.c
+++ b/src/nautilus-information-panel.c
@@ -124,7 +124,7 @@ static void add_command_buttons (NautilusSidebar *sideba
GList *application_list);
static void background_metadata_changed_callback (NautilusSidebar *sidebar);
-#define DEFAULT_TAB_COLOR "rgb:9999/9999/9999"
+#define DEFAULT_TAB_COLOR "#999999"
/* FIXME bugzilla.gnome.org 41245: hardwired sizes */
#define SIDEBAR_MINIMUM_WIDTH 1
@@ -776,7 +776,7 @@ receive_dropped_color (NautilusSidebar *sidebar,
}
channels = (guint16 *) selection_data->data;
- color_spec = g_strdup_printf ("rgb:%04hX/%04hX/%04hX", channels[0], channels[1], channels[2]);
+ color_spec = g_strdup_printf ("#%02X%02X%02X", channels[0] >> 8, channels[1] >> 8, channels[2] >> 8);
switch (hit_test (sidebar, x, y)) {
case NO_PART: