search-view: hide if click is performed outside
Result drop down should disappear when any click is performed outside that drop down. https://bugzilla.gnome.org/show_bug.cgi?id=74796 https://bugzilla.gnome.org/show_bug.cgi?id=747962
This commit is contained in:
committed by
Georges Basile Stavracas Neto
parent
a6e347d8f2
commit
ec3ef0d0a3
@@ -1135,7 +1135,7 @@ navigator_button_press_cb (GcalYearView *year_view,
|
||||
gboolean is_title = FALSE;
|
||||
|
||||
if (!calculate_day_month_for_coord (year_view, event->x, event->y, &day, &month, &is_title))
|
||||
return FALSE;
|
||||
return GDK_EVENT_PROPAGATE;
|
||||
|
||||
if (is_title)
|
||||
day = 1;
|
||||
@@ -1144,7 +1144,7 @@ navigator_button_press_cb (GcalYearView *year_view,
|
||||
year_view->selected_data->start_day = day;
|
||||
year_view->selected_data->start_month = month;
|
||||
|
||||
return TRUE;
|
||||
return GDK_EVENT_PROPAGATE;
|
||||
}
|
||||
|
||||
static gboolean
|
||||
|
||||
Reference in New Issue
Block a user