diff options
author | rathnor <rathnor> | 2002-12-01 13:42:15 (GMT) |
---|---|---|
committer | rathnor <rathnor> | 2002-12-01 13:42:15 (GMT) |
commit | 28b5c604490094e187494dcc566bd3d7a05a2c25 (patch) | |
tree | 8f78f5714a5cd055c10b067a2656fe7b2338e71a /src/Iconmenu.cc | |
parent | b9134162f9633784d9097df18769a699a62650fe (diff) | |
download | fluxbox_pavel-28b5c604490094e187494dcc566bd3d7a05a2c25.zip fluxbox_pavel-28b5c604490094e187494dcc566bd3d7a05a2c25.tar.bz2 |
Indenting from tabs to emacs 4-space
Diffstat (limited to 'src/Iconmenu.cc')
-rw-r--r-- | src/Iconmenu.cc | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/src/Iconmenu.cc b/src/Iconmenu.cc index 3368363..265a53c 100644 --- a/src/Iconmenu.cc +++ b/src/Iconmenu.cc | |||
@@ -29,26 +29,26 @@ | |||
29 | #include "i18n.hh" | 29 | #include "i18n.hh" |
30 | 30 | ||
31 | Iconmenu::Iconmenu(BScreen *scrn) : Basemenu(scrn) { | 31 | Iconmenu::Iconmenu(BScreen *scrn) : Basemenu(scrn) { |
32 | setInternalMenu(); | 32 | setInternalMenu(); |
33 | 33 | ||
34 | setLabel(I18n::instance()->getMessage( | 34 | setLabel(I18n::instance()->getMessage( |
35 | FBNLS::IconSet, FBNLS::IconIcons, | 35 | FBNLS::IconSet, FBNLS::IconIcons, |
36 | "Icons")); | 36 | "Icons")); |
37 | update(); | 37 | update(); |
38 | } | 38 | } |
39 | 39 | ||
40 | 40 | ||
41 | void Iconmenu::itemSelected(int button, unsigned int index) { | 41 | void Iconmenu::itemSelected(int button, unsigned int index) { |
42 | if (button == 1) { | 42 | if (button == 1) { |
43 | if (index < screen()->getIconCount()) { | 43 | if (index < screen()->getIconCount()) { |
44 | FluxboxWindow *win = screen()->getIcon(index); | 44 | FluxboxWindow *win = screen()->getIcon(index); |
45 | 45 | ||
46 | if (win) | 46 | if (win) |
47 | win->deiconify(); | 47 | win->deiconify(); |
48 | 48 | ||
49 | } | 49 | } |
50 | 50 | ||
51 | if (! (screen()->getWorkspacemenu()->isTorn() || isTorn())) | 51 | if (! (screen()->getWorkspacemenu()->isTorn() || isTorn())) |
52 | hide(); | 52 | hide(); |
53 | } | 53 | } |
54 | } | 54 | } |