aboutsummaryrefslogtreecommitdiff
path: root/src/Iconmenu.cc
diff options
context:
space:
mode:
authorrathnor <rathnor>2002-12-01 13:42:15 (GMT)
committerrathnor <rathnor>2002-12-01 13:42:15 (GMT)
commit28b5c604490094e187494dcc566bd3d7a05a2c25 (patch)
tree8f78f5714a5cd055c10b067a2656fe7b2338e71a /src/Iconmenu.cc
parentb9134162f9633784d9097df18769a699a62650fe (diff)
downloadfluxbox-28b5c604490094e187494dcc566bd3d7a05a2c25.zip
fluxbox-28b5c604490094e187494dcc566bd3d7a05a2c25.tar.bz2
Indenting from tabs to emacs 4-space
Diffstat (limited to 'src/Iconmenu.cc')
-rw-r--r--src/Iconmenu.cc28
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
31Iconmenu::Iconmenu(BScreen *scrn) : Basemenu(scrn) { 31Iconmenu::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
41void Iconmenu::itemSelected(int button, unsigned int index) { 41void 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}