[seed] ClutterPad: Don't destroy GtkBuilt-file dialogs, because they don't come back.
- From: Tim Horton <hortont src gnome org>
- To: svn-commits-list gnome org
- Subject: [seed] ClutterPad: Don't destroy GtkBuilt-file dialogs, because they don't come back.
- Date: Wed, 13 May 2009 16:54:49 -0400 (EDT)
commit dbfc53636a899bd6843df1b2fb26ced1625db2e1
Author: Tim Horton <hortont svn gnome org>
Date: Wed May 13 16:53:52 2009 -0400
ClutterPad: Don't destroy GtkBuilt-file dialogs, because they don't come back.
---
examples/clutter-pad/main.js | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/examples/clutter-pad/main.js b/examples/clutter-pad/main.js
index 000c14a..a25405a 100755
--- a/examples/clutter-pad/main.js
+++ b/examples/clutter-pad/main.js
@@ -54,8 +54,8 @@ function open_file()
{
load_file(file_chooser.get_filename());
}
-
- file_chooser.destroy();
+
+ file_chooser.hide();
}
function save_file(filename)
@@ -70,8 +70,8 @@ function save_file(filename)
current_filename = file_chooser.get_filename();
window.title = "ClutterPad - " + current_filename;
}
-
- file_chooser.destroy();
+
+ file_chooser.hide();
}
if(current_filename != "")
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]