projects
/
goodguy
/
history.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
p/s proxy icon, rework window locks, segv in close_mixers + exportedl, ffmpeg default...
[goodguy/history.git]
/
cinelerra-5.1
/
cinelerra
/
newfolder.C
diff --git
a/cinelerra-5.1/cinelerra/newfolder.C
b/cinelerra-5.1/cinelerra/newfolder.C
index dafa8f611efc90cabae816ae64c64aa4ca4e3411..26ab5a19036a06faa385fe5b0fd491a7dd7b2678 100644
(file)
--- a/
cinelerra-5.1/cinelerra/newfolder.C
+++ b/
cinelerra-5.1/cinelerra/newfolder.C
@@
-35,15
+35,7
@@
NewFolder::NewFolder(MWindow *mwindow, AWindowGUI *awindow, int x, int y)
: BC_Window(_(PROGRAM_NAME ": New folder"),
NewFolder::NewFolder(MWindow *mwindow, AWindowGUI *awindow, int x, int y)
: BC_Window(_(PROGRAM_NAME ": New folder"),
- x,
- y,
- 320,
- 120,
- 0,
- 0,
- 0,
- 0,
- 1)
+ x, y, 320, 120, 0, 0, 0, 0, 1)
{
this->mwindow = mwindow;
this->awindow = awindow;
{
this->mwindow = mwindow;
this->awindow = awindow;
@@
-56,6
+48,7
@@
NewFolder::~NewFolder()
void NewFolder::create_objects()
{
void NewFolder::create_objects()
{
+ lock_window("NewFolder::create_objects");
int x = 10, y = 10;
add_tool(new BC_Title(x, y, _("Enter the name of the folder:")));
y += 20;
int x = 10, y = 10;
add_tool(new BC_Title(x, y, _("Enter the name of the folder:")));
y += 20;
@@
-65,6
+58,7
@@
void NewFolder::create_objects()
x = get_w() - 100;
add_subwindow(new BC_CancelButton(x, y));
show_window();
x = get_w() - 100;
add_subwindow(new BC_CancelButton(x, y));
show_window();
+ unlock_window();
}
const char* NewFolder::get_text()
}
const char* NewFolder::get_text()