Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Jonathan Wilkes
purr-data
Commits
7a624700
Commit
7a624700
authored
Nov 10, 2015
by
Jonathan Wilkes
Browse files
small fixes to menu item name, and removing a sys_gui call
parent
aae52e18
Changes
4
Hide whitespace changes
Inline
Side-by-side
pd/nw/locales/en/translation.json
View file @
7a624700
...
...
@@ -200,8 +200,8 @@
"prevwin_tt"
:
"Give focus to the previous window in the stacking order"
,
"parentwin"
:
"Parent Window"
,
"parentwin_tt"
:
"give focus to the parent window of the current window"
,
"visible_
parentwin"
:
"Visible Parent Window
"
,
"visible_
parentwin
_tt"
:
"give focus to the closest ancestor of this window that is visible"
,
"visible_
ancestor"
:
"Closest Visible Ancestor
"
,
"visible_
ancestor
_tt"
:
"give focus to the closest ancestor of this window that is
currently
visible"
,
"pdwin"
:
"Pd Window"
,
"pdwin_tt"
:
"Give focus to the main Pd window"
,
...
...
pd/nw/pd_canvas.js
View file @
7a624700
...
...
@@ -1245,11 +1245,11 @@ function nw_create_patch_window_menus(name) {
}));
winmanMenu
.
append
(
new
gui
.
MenuItem
({
label
:
l
(
"
menu.visible_
parentwin
"
),
label
:
l
(
"
menu.visible_
ancestor
"
),
click
:
function
()
{
pdgui
.
pdsend
(
name
,
"
findparent
"
,
1
);
},
tooltip
:
l
(
"
menu.visible_
parentwin
_tt
"
),
tooltip
:
l
(
"
menu.visible_
ancestor
_tt
"
),
}));
winmanMenu
.
append
(
new
gui
.
MenuItem
({
...
...
pd/nw/pdgui.js
View file @
7a624700
...
...
@@ -2896,11 +2896,11 @@ function gui_raise_window(cid) {
patchwin
[
cid
].
focus
();
}
function
raise_pd_window
()
{
function
gui_
raise_pd_window
()
{
pd_window
.
focus
();
}
exports
.
raise_pd_window
=
raise_pd_window
;
exports
.
raise_pd_window
=
gui_
raise_pd_window
;
// Openpanel and Savepanel
...
...
pd/src/g_editor.c
View file @
7a624700
...
...
@@ -5766,7 +5766,8 @@ static void canvas_find_parent(t_canvas *x, t_floatarg f)
}
else
{
sys_gui
(
"menu_raise_console
\n
"
);
//sys_gui("menu_raise_console\n");
gui_vmess
(
"gui_raise_pd_window"
,
""
);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment