[gnome-shell] mount-operation: don't use global.get_current_time()
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] mount-operation: don't use global.get_current_time()
- Date: Thu, 21 Jun 2012 04:16:22 +0000 (UTC)
commit 5b7e4bb4a7afccbd7740d929e21126e5add20c8a
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Wed Jun 20 16:12:40 2012 -0400
mount-operation: don't use global.get_current_time()
If we don't specify it, it will be picked up by default.
https://bugzilla.gnome.org/show_bug.cgi?id=674962
js/ui/shellMountOperation.js | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/js/ui/shellMountOperation.js b/js/ui/shellMountOperation.js
index 805ce60..11cc613 100644
--- a/js/ui/shellMountOperation.js
+++ b/js/ui/shellMountOperation.js
@@ -124,7 +124,7 @@ const ShellMountOperation = new Lang.Class({
if (!this._existingDialog)
return;
- this._existingDialog.close(global.get_current_time());
+ this._existingDialog.close();
this._existingDialog = null;
},
@@ -141,7 +141,7 @@ const ShellMountOperation = new Lang.Class({
}));
this._dialog.update(message, choices);
- this._dialog.open(global.get_current_time());
+ this._dialog.open();
},
_onAskPassword: function(op, message) {
@@ -166,7 +166,7 @@ const ShellMountOperation = new Lang.Class({
this.mountOp.reply(Gio.MountOperationResult.HANDLED);
}
}));
- this._dialog.open(global.get_current_time());
+ this._dialog.open();
},
close: function(op) {
@@ -174,7 +174,7 @@ const ShellMountOperation = new Lang.Class({
this._processesDialog = null;
if (this._dialog) {
- this._dialog.close(global.get_current_time());
+ this._dialog.close();
this._dialog = null;
}
},
@@ -201,7 +201,7 @@ const ShellMountOperation = new Lang.Class({
this.close();
}));
- this._processesDialog.open(global.get_current_time());
+ this._processesDialog.open();
}
this._processesDialog.update(message, processes, choices);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]