[shotwell] Remove locale-dependent filter short-cuts
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [shotwell] Remove locale-dependent filter short-cuts
- Date: Sat, 23 Sep 2017 11:57:32 +0000 (UTC)
commit bcbd455f4da6917efa10086d68f17f390974b9d2
Author: Jens Georg <mail jensge org>
Date: Sat Sep 23 13:17:49 2017 +0200
Remove locale-dependent filter short-cuts
They did not work after the GtkAction removal anyway and are redundant
by the search bar action accellerators which do it in a more
language-portable way
src/MediaPage.vala | 40 ----------------------------------------
1 files changed, 0 insertions(+), 40 deletions(-)
---
diff --git a/src/MediaPage.vala b/src/MediaPage.vala
index 01a6230..0b8c3ac 100644
--- a/src/MediaPage.vala
+++ b/src/MediaPage.vala
@@ -555,46 +555,6 @@ public abstract class MediaPage : CheckerboardPage {
activate_action("RateRejected");
break;
- case "exclam":
- if (get_ctrl_pressed())
- get_search_view_filter().set_rating_filter(RatingFilter.ONE_OR_HIGHER);
- break;
-
- case "at":
- if (get_ctrl_pressed())
- get_search_view_filter().set_rating_filter(RatingFilter.TWO_OR_HIGHER);
- break;
-
- case "numbersign":
- if (get_ctrl_pressed())
- get_search_view_filter().set_rating_filter(RatingFilter.THREE_OR_HIGHER);
- break;
-
- case "dollar":
- if (get_ctrl_pressed())
- get_search_view_filter().set_rating_filter(RatingFilter.FOUR_OR_HIGHER);
- break;
-
- case "percent":
- if (get_ctrl_pressed())
- get_search_view_filter().set_rating_filter(RatingFilter.FIVE_OR_HIGHER);
- break;
-
- case "parenright":
- if (get_ctrl_pressed())
- get_search_view_filter().set_rating_filter(RatingFilter.UNRATED_OR_HIGHER);
- break;
-
- case "parenleft":
- if (get_ctrl_pressed())
- get_search_view_filter().set_rating_filter(RatingFilter.REJECTED_OR_HIGHER);
- break;
-
- case "asterisk":
- if (get_ctrl_pressed())
- get_search_view_filter().set_rating_filter(RatingFilter.REJECTED_ONLY);
- break;
-
case "slash":
activate_action("Flag");
break;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]