2 * this file is part of the "wmtrash" project
3 * Copyright (C) 2004 by Jean Philippe GUILLEMIN <jp.guillemin@free.fr>
4 * license: This software is under GPL license
11 #define __CONFPATH "/etc/wmtrash/"
15 #define __CONFFILE "default.cf"
19 #define __ICONPATH "/usr/share/wmtrash/"
22 #define SHORT_STRING 64
23 #define MEDIUM_STRING 128
24 #define BIG_STRING 256
25 #define LONG_STRING 1024
26 #define EXTRALONG_STRING 4096
28 // Prototypes ************************************************************
31 char configfile
[MEDIUM_STRING
];
32 char param_fm
[MEDIUM_STRING
];
34 char param_img
[MEDIUM_STRING
];
35 char imagefile
[BIG_STRING
];
36 char param_path
[MEDIUM_STRING
];
37 char path
[BIG_STRING
];
40 GtkWidget
* build_dockapp(char *configfile
);
42 GtkWidget
*create_main_dockapp_icon_window
43 (GtkWidget
*main_window
,
47 (GtkWidget
*event_box
,
48 GdkEventButton
*event
,
49 struct wmtrash
*data
);
56 int replace_value_in_config
63 struct wmtrash
*data
);
67 struct wmtrash
*data
);
71 struct wmtrash
*data
);
73 int usage(char *homecf
, char *defaultcf
);
75 int fcopy( char *sfile
,