rename uicb_toggletag to uicb_client_toggletag

This commit is contained in:
Julien Danjou 2007-11-14 18:03:51 +01:00
parent 10391f3190
commit bfde2f3211
4 changed files with 16 additions and 16 deletions

View File

@ -137,7 +137,7 @@ mouse
{ {
button = "3" button = "3"
modkey = {"Mod4"} modkey = {"Mod4"}
command = "toggletag" command = "client_toggletag"
} }
tag tag
{ {
@ -557,69 +557,69 @@ keys
{ {
modkey = {"Mod4", "Shift", "Control"} modkey = {"Mod4", "Shift", "Control"}
key = "0" key = "0"
command = "toggletag" command = "client_toggletag"
} }
key key
{ {
modkey = {"Mod4", "Shift", "Control"} modkey = {"Mod4", "Shift", "Control"}
key = "1" key = "1"
command = "toggletag" command = "client_toggletag"
arg = "1" arg = "1"
} }
key key
{ {
modkey = {"Mod4", "Shift", "Control"} modkey = {"Mod4", "Shift", "Control"}
key = "2" key = "2"
command = "toggletag" command = "client_toggletag"
arg = "2" arg = "2"
} }
key key
{ {
modkey = {"Mod4", "Shift", "Control"} modkey = {"Mod4", "Shift", "Control"}
key = "3" key = "3"
command = "toggletag" command = "client_toggletag"
arg = "3" arg = "3"
} }
key key
{ {
modkey = {"Mod4", "Shift", "Control"} modkey = {"Mod4", "Shift", "Control"}
key = "4" key = "4"
command = "toggletag" command = "client_toggletag"
arg = "4" arg = "4"
} }
key key
{ {
modkey = {"Mod4", "Shift", "Control"} modkey = {"Mod4", "Shift", "Control"}
key = "5" key = "5"
command = "toggletag" command = "client_toggletag"
arg = "5" arg = "5"
} }
key key
{ {
modkey = {"Mod4", "Shift", "Control"} modkey = {"Mod4", "Shift", "Control"}
key = "6" key = "6"
command = "toggletag" command = "client_toggletag"
arg = "6" arg = "6"
} }
key key
{ {
modkey = {"Mod4", "Shift", "Control"} modkey = {"Mod4", "Shift", "Control"}
key = "7" key = "7"
command = "toggletag" command = "client_toggletag"
arg = "7" arg = "7"
} }
key key
{ {
modkey = {"Mod4", "Shift", "Control"} modkey = {"Mod4", "Shift", "Control"}
key = "8" key = "8"
command = "toggletag" command = "client_toggletag"
arg = "8" arg = "8"
} }
key key
{ {
modkey = {"Mod4", "Shift", "Control"} modkey = {"Mod4", "Shift", "Control"}
key = "9" key = "9"
command = "toggletag" command = "client_toggletag"
arg = "9" arg = "9"
} }
} }

View File

@ -74,7 +74,7 @@ const NameFuncLink UicbList[] = {
{"client_tag", uicb_client_tag}, {"client_tag", uicb_client_tag},
{"client_togglefloating", uicb_client_togglefloating}, {"client_togglefloating", uicb_client_togglefloating},
{"tag_toggleview", uicb_tag_toggleview}, {"tag_toggleview", uicb_tag_toggleview},
{"toggletag", uicb_toggletag}, {"client_toggletag", uicb_client_toggletag},
{"view", uicb_view}, {"view", uicb_view},
{"view_tag_prev_selected", uicb_tag_prev_selected}, {"view_tag_prev_selected", uicb_tag_prev_selected},
{"view_tag_previous", uicb_tag_viewprev}, {"view_tag_previous", uicb_tag_viewprev},

6
tag.c
View File

@ -109,13 +109,13 @@ uicb_client_togglefloating(awesome_config * awesomeconf,
arrange(awesomeconf); arrange(awesomeconf);
} }
/** Toggle tag view /** Toggle a tag on client
* \param arg Tag name * \param arg Tag name
* \ingroup ui_callback * \ingroup ui_callback
*/ */
void void
uicb_toggletag(awesome_config *awesomeconf, uicb_client_toggletag(awesome_config *awesomeconf,
const char *arg) const char *arg)
{ {
Client *sel = get_current_tag(awesomeconf->tags, awesomeconf->ntags)->client_sel; Client *sel = get_current_tag(awesomeconf->tags, awesomeconf->ntags)->client_sel;
unsigned int i; unsigned int i;

2
tag.h
View File

@ -32,7 +32,7 @@ void tag_client_with_current_selected(Client *, awesome_config *);
UICB_PROTO(uicb_client_tag); UICB_PROTO(uicb_client_tag);
UICB_PROTO(uicb_client_togglefloating); UICB_PROTO(uicb_client_togglefloating);
UICB_PROTO(uicb_toggletag); UICB_PROTO(uicb_client_toggletag);
UICB_PROTO(uicb_tag_toggleview); UICB_PROTO(uicb_tag_toggleview);
UICB_PROTO(uicb_view); UICB_PROTO(uicb_view);
UICB_PROTO(uicb_tag_prev_selected); UICB_PROTO(uicb_tag_prev_selected);