g_object_class_install_property(object_class,
PROP_BACKGROUND_GDK,
- g_param_spec_boxed("background_gdk",
+ g_param_spec_boxed("background_rgba",
"Background color",
"Background color as a GdkRGBA",
GDK_TYPE_RGBA,
g_object_class_install_property(object_class,
PROP_FOREGROUND_GDK,
- g_param_spec_boxed("foreground_gdk",
+ g_param_spec_boxed("foreground_rgba",
"Foreground color",
"Foreground color as a GdkRGBA",
GDK_TYPE_RGBA,
{
g_object_set(cell, "pixbuf", info->pixbuf,
"text", display_text,
- "cell-background-gdk", &color_bg,
+ "cell-background-rgba", &color_bg,
"cell-background-set", TRUE,
- "foreground-gdk", &color_fg,
+ "foreground-rgba", &color_fg,
"foreground-set", TRUE,
"has-focus", (ct->focus_info == info), NULL);
}
gtk_tree_model_get(tree_model, iter, DUPE_COLUMN_COLOR, &set, -1);
g_object_set(G_OBJECT(cell),
- "cell-background-gdk", dupe_listview_color_shifted(dw->listview),
+ "cell-background-rgba", dupe_listview_color_shifted(dw->listview),
"cell-background-set", set, NULL);
}
#include "dupe.h"
#include "editors.h"
#include "filedata.h"
+#include "layout.h"
#include "layout-image.h"
-#include "layout-util.h"
#include "menu.h"
#include "ui-fileops.h"
#include "ui-tree-edit.h"
gtk_tree_model_get(tree_model, iter, DIR_COLUMN_COLOR, &set, -1);
g_object_set(G_OBJECT(cell),
- "cell-background-gdk", vd_color_shifted(vd->view),
+ "cell-background-rgba", vd_color_shifted(vd->view),
"cell-background-set", set, NULL);
}
"show_marks", vf->marks_enabled,
"cell-background-rgba", &color_bg,
"cell-background-set", TRUE,
- "foreground-gdk", &color_fg,
+ "foreground-rgba", &color_fg,
"foreground-set", TRUE,
"has-focus", (VFICON(vf)->focus_fd == fd), NULL);
g_free(name_sidecars);
gtk_tree_model_get(tree_model, iter, FILE_COLUMN_COLOR, &set, -1);
g_object_set(G_OBJECT(cell),
- "cell-background-gdk", vflist_listview_color_shifted(vf->listview),
+ "cell-background-rgba", vflist_listview_color_shifted(vf->listview),
"cell-background-set", set, NULL);
}