gnome-shell r66 - trunk/js/ui
- From: walters svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-shell r66 - trunk/js/ui
- Date: Thu, 20 Nov 2008 15:47:13 +0000 (UTC)
Author: walters
Date: Thu Nov 20 15:47:13 2008
New Revision: 66
URL: http://svn.gnome.org/viewvc/gnome-shell?rev=66&view=rev
Log:
Fix up previous change; connect to signals correctly
Modified:
trunk/js/ui/main.js
Modified: trunk/js/ui/main.js
==============================================================================
--- trunk/js/ui/main.js (original)
+++ trunk/js/ui/main.js Thu Nov 20 15:47:13 2008
@@ -32,10 +32,12 @@
// Make sure not more than one run dialog is shown.
if (!run_dialog) {
run_dialog = new RunDialog.RunDialog();
- run_dialog.on_run = run_dialog.on_cancel = function() {
+ let handler = function() {
run_dialog.destroy();
run_dialog = null;
};
+ run_dialog.connect('run', handler);
+ run_dialog.connect('cancel', handler);
run_dialog.show();
}
});
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]