[shotwell] Fix date selection when double-clicking (#746107).
- From: Jim Nelson <jnelson src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [shotwell] Fix date selection when double-clicking (#746107).
- Date: Mon, 16 Mar 2015 21:04:00 +0000 (UTC)
commit 27844f5b450e3285f9d968effd0f6743b24a67b6
Author: Tim Waugh <twaugh redhat com>
Date: Thu Mar 12 18:43:46 2015 +0000
Fix date selection when double-clicking (#746107).
src/searches/SavedSearchDialog.vala | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/src/searches/SavedSearchDialog.vala b/src/searches/SavedSearchDialog.vala
index 83e175b..eb016d3 100644
--- a/src/searches/SavedSearchDialog.vala
+++ b/src/searches/SavedSearchDialog.vala
@@ -614,7 +614,9 @@ public class SavedSearchDialog {
d.set_decorated(false);
((Gtk.Box) d.get_content_area()).add(cal);
ulong id_1 = cal.day_selected.connect(()=>{update_date_labels();});
- ulong id_2 = cal.day_selected_double_click.connect(()=>{d.close();});
+ ulong id_2 = cal.day_selected_double_click.connect(()=> {
+ d.response(Gtk.ResponseType.ACCEPT);
+ });
d.show_all();
int res = d.run();
if (res != Gtk.ResponseType.ACCEPT) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]