From e9c1208ff453eb7f3b10a1346252e26c8d7c3fcd Mon Sep 17 00:00:00 2001 From: Marius Nita Date: Sat, 24 Aug 2002 09:38:56 +0000 Subject: [PATCH] Safari_Al's patch which fixes inconsistent capitalization in some actions. --- util/epist/actions.hh | 4 ++-- util/epist/epistrc | 4 ++-- util/epist/parser.cc | 4 ++-- util/epist/screen.cc | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/util/epist/actions.hh b/util/epist/actions.hh index 6fdd48f0..ac6d62b5 100644 --- a/util/epist/actions.hh +++ b/util/epist/actions.hh @@ -39,8 +39,8 @@ public: raise, //done lower, //done close, //done - toggleshade, //done - toggleomnipresent, //done + toggleShade, //done + toggleOmnipresent, //done moveWindowUp, //done moveWindowDown, //done moveWindowLeft, //done diff --git a/util/epist/epistrc b/util/epist/epistrc index ca3a82ba..04094ed2 100644 --- a/util/epist/epistrc +++ b/util/epist/epistrc @@ -29,8 +29,8 @@ Control-Mod1-Shift-x { r raise; l lower; k close; - s toggleshade; - o toggleomnipresent; + s toggleShade; + o toggleOmnipresent; 1 sendToWorkspace 1; 2 sendToWorkspace 2; diff --git a/util/epist/parser.cc b/util/epist/parser.cc index d7ac2c13..7741d2f7 100644 --- a/util/epist/parser.cc +++ b/util/epist/parser.cc @@ -68,8 +68,8 @@ void parser::setAction(string act) { "raise", Action::raise }, { "lower", Action::lower }, { "close", Action::close }, - { "toggleshade", Action::toggleshade }, - { "toggleomnipresent", Action::toggleomnipresent }, + { "toggleShade", Action::toggleShade }, + { "toggleOmnipresent", Action::toggleOmnipresent }, { "movewindowup", Action::moveWindowUp }, { "movewindowdown", Action::moveWindowDown }, { "movewindowleft", Action::moveWindowLeft }, diff --git a/util/epist/screen.cc b/util/epist/screen.cc index 0f8dfa56..3ece9e16 100644 --- a/util/epist/screen.cc +++ b/util/epist/screen.cc @@ -294,7 +294,7 @@ void screen::handleKeypress(const XEvent &e) { window->sendTo(it->number()); return; - case Action::toggleomnipresent: + case Action::toggleOmnipresent: if (window->desktop() == 0xffffffff) window->sendTo(_active_desktop); else @@ -329,7 +329,7 @@ void screen::handleKeypress(const XEvent &e) { window->resizeRel(0, it->number()); return; - case Action::toggleshade: + case Action::toggleShade: window->shade(! window->shaded()); return; -- 2.45.2