Commit dfeab760 authored by Daniel Elstner's avatar Daniel Elstner
Browse files

:on_style_changed): Use the proper stock images "file" and "directory"

* src/filetree.cc (FileTree::on_style_changed): Use the proper
stock images "file" and "directory" instead of abusing "new" and
"open", respectively.  These new items have been available since
GTK+ 2.6.
parent df38b0c5
2006-11-21 Daniel Elstner <daniel.kitta@gmail.com>
* src/filetree.cc (FileTree::on_style_changed): Use the proper
stock images "file" and "directory" instead of abusing "new" and
"open", respectively. These new items have been available since
GTK+ 2.6.
2006-11-13 Daniel Elstner <daniel.kitta@gmail.com>
* src/stringutils.cc (parse_control_char, Util::convert_to_ascii):
......
......@@ -306,8 +306,8 @@ void FileTree::on_style_changed(const Glib::RefPtr<Gtk::Style>& previous_style)
{
const Glib::ustring detail = "regexxer-filetree";
pixbuf_directory_ = render_icon(Gtk::Stock::OPEN, Gtk::ICON_SIZE_MENU, detail);
pixbuf_file_ = render_icon(Gtk::Stock::NEW, Gtk::ICON_SIZE_MENU, detail);
pixbuf_directory_ = render_icon(Gtk::Stock::DIRECTORY, Gtk::ICON_SIZE_MENU, detail);
pixbuf_file_ = render_icon(Gtk::Stock::FILE, Gtk::ICON_SIZE_MENU, detail);
pixbuf_load_failed_ = render_icon(Gtk::Stock::MISSING_IMAGE, Gtk::ICON_SIZE_MENU, detail);
color_load_failed_ = get_style()->get_text(Gtk::STATE_INSENSITIVE);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment