mime icons for panel
jasper at moongroup.com
Sat Nov 22 10:52:43 CET 2003
Op za 22-11-2003, om 03:45 schreef edscott wilson garcia:
> On Fri, 2003-11-21 at 15:02, Jasper Huijsmans wrote:
> > Hey edscott,
> > I like this idea. I won't be able to look at it tonight, but I will
> > certainly do so tomorrow.
> I just added about ten lines to item_dialog.c and committed to HEAD (new
> code is enclosed within #ifdef #endif blocks for easy removal) that add
> a button to open xffm_theme_maker if the program is located in $PATH.
> >From the theme_maker window the icons can be dragged to the properties
> entry box.
> This is just one possibility (the easiest one). The properties dialog
> could also load the mime_icons module and create an embedded treeview.
> This second option would probably be faster.
Well, I'm afraid I can't get the theme maker to work. After fixing the
build files (updated in CVS) it builds fine, but when I run it, I get a
segfault in the mime_icons module:
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 16384 (LWP 7289)]
0x405dbbb7 in _int_malloc () from /lib/libc.so.6
#0 0x405dbbb7 in _int_malloc () from /lib/libc.so.6
#1 0x405dab83 in malloc () from /lib/libc.so.6
#2 0x403bde67 in g_malloc () from /usr/lib/libglib-2.0.so.0
#3 0x403ca87d in g_strconcat () from /usr/lib/libglib-2.0.so.0
#4 0x40aafb2f in create_icon_hash (theme=0x80e1900 "plain")
#5 0x40ab0337 in mime_icon_load_theme (theme=0x80e1900 "plain")
#6 0x0804bd22 in create_icon_tree (in_theme=0x80e1900 "plain") at
#7 0x0804c7f9 in main (argc=1, argv=0xbffff874) at main.c:749
More information about the Xfce4-dev