[gnome-documents] selections: Handle the sharing dialog being deleted
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-documents] selections: Handle the sharing dialog being deleted
- Date: Sat, 15 Mar 2014 14:55:31 +0000 (UTC)
commit 1ad2a3a4baca87ad5ffee09bd03ca83cfdaa3238
Author: Debarshi Ray <debarshir gnome org>
Date: Fri Mar 14 14:59:10 2014 +0100
selections: Handle the sharing dialog being deleted
https://bugzilla.gnome.org/show_bug.cgi?id=726343
src/selections.js | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/src/selections.js b/src/selections.js
index e65f649..afc6c51 100644
--- a/src/selections.js
+++ b/src/selections.js
@@ -922,10 +922,8 @@ const SelectionToolbar = new Lang.Class({
dialog.widget.connect('response', Lang.bind(this,
function(widget, response) {
- if (response == Gtk.ResponseType.OK) {
- dialog.widget.destroy();
- Application.selectionController.setSelectionMode(false);
- }
+ dialog.widget.destroy();
+ Application.selectionController.setSelectionMode(false);
}));
},
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]