[shotwell] Fix initial sort order
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [shotwell] Fix initial sort order
- Date: Fri, 25 Nov 2016 19:24:48 +0000 (UTC)
commit c5f5ae947573591f6536fbe2942ef58772bdb67d
Author: Jens Georg <mail jensge org>
Date: Fri Nov 25 19:05:08 2016 +0100
Fix initial sort order
Signed-off-by: Jens Georg <mail jensge org>
src/MediaPage.vala | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/MediaPage.vala b/src/MediaPage.vala
index d9280c7..ee5ef0e 100644
--- a/src/MediaPage.vala
+++ b/src/MediaPage.vala
@@ -881,13 +881,13 @@ public abstract class MediaPage : CheckerboardPage {
protected abstract void set_config_photos_sort(bool sort_order, int sort_by);
public virtual void on_sort_changed(GLib.SimpleAction action, Variant? value) {
+ action.set_state (value);
+
int sort_by = get_menu_sort_by();
bool sort_order = get_menu_sort_order();
set_view_comparator(sort_by, sort_order);
set_config_photos_sort(sort_order, sort_by);
-
- action.set_state (value);
}
public void on_raw_developer_shotwell() {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]