Avoid icon change to default on winspector save
[wmaker-crm.git] / src / dockedapp.h
blob5f5118b27a8b90fb11bea76dfa5397bc02a90702
1 /*
2 * Window Maker window manager
4 * Copyright (c) 1997-2003 Alfredo K. Kojima
5 * Copyright (c) 1998-2003 Dan Pascu
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; either version 2 of the License, or
10 * (at your option) any later version.
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
17 * You should have received a copy of the GNU General Public License along
18 * with this program; if not, write to the Free Software Foundation, Inc.,
19 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
22 #ifndef WMDOCKEDAPP_H_
23 #define WMDOCKEDAPP_H_
26 typedef struct _AppSettingsPanel {
27 WMWindow *win;
28 WAppIcon *editedIcon;
30 WWindow *wwin;
32 WMLabel *iconLabel;
33 WMLabel *nameLabel;
35 WMFrame *commandFrame;
36 WMTextField *commandField;
38 WMFrame *dndCommandFrame;
39 WMTextField *dndCommandField;
40 WMLabel *dndCommandLabel;
42 WMFrame *pasteCommandFrame;
43 WMTextField *pasteCommandField;
44 WMLabel *pasteCommandLabel;
46 WMFrame *iconFrame;
47 WMTextField *iconField;
48 WMButton *browseBtn;
50 WMButton *autoLaunchBtn;
51 WMButton *lockBtn;
53 WMButton *okBtn;
54 WMButton *cancelBtn;
56 Window parent;
58 /* kluge */
59 unsigned int destroyed:1;
60 unsigned int choosingIcon:1;
61 } AppSettingsPanel;
63 void DestroyDockAppSettingsPanel(AppSettingsPanel *panel);
64 void ShowDockAppSettingsPanel(WAppIcon *aicon);
66 #endif