From c01ee90ef6eaf62e1ec3b10567a54a0b7c0a3977 Mon Sep 17 00:00:00 2001 From: Berke Viktor Date: Sat, 13 Oct 2012 15:31:25 +0200 Subject: Provide builtin defauls for treeview icons --- src/fe-gtk/pixmaps.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/fe-gtk/pixmaps.c') diff --git a/src/fe-gtk/pixmaps.c b/src/fe-gtk/pixmaps.c index c802f508..4211c6f5 100644 --- a/src/fe-gtk/pixmaps.c +++ b/src/fe-gtk/pixmaps.c @@ -137,9 +137,16 @@ pixmaps_init (void) pix_tray_hilight = load_pixmap ("highlight", trayhilightpng, 1); pix_tray_file = load_pixmap ("fileoffer", trayfilepng, 1); +#if 0 /* treeview icons, no defaults, load from disk only */ pix_channel = load_pixmap ("channel", NULL, 0); pix_dialog = load_pixmap ("dialog", NULL, 0); pix_server = load_pixmap ("server", NULL, 0); pix_util = load_pixmap ("util", NULL, 0); +#endif + /* provide inline defaults for these coz they are nice! */ + pix_channel = load_pixmap ("channel", channelpng, 1); + pix_dialog = load_pixmap ("dialog", dialogpng, 1); + pix_server = load_pixmap ("server", serverpng, 1); + pix_util = load_pixmap ("util", utilpng, 1); } -- cgit 1.4.1