[shotwell] Fix rating action
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [shotwell] Fix rating action
- Date: Fri, 16 Dec 2016 21:28:08 +0000 (UTC)
commit ae78abb368cf0928e47fc28756a3675b5de5872c
Author: Jens Georg <mail jensge org>
Date: Fri Dec 16 22:22:33 2016 +0100
Fix rating action
Signed-off-by: Jens Georg <mail jensge org>
src/SearchFilter.vala | 1 -
ui/import.ui | 16 ++++++++--------
ui/offline.ui | 16 ++++++++--------
ui/trash.ui | 16 ++++++++--------
4 files changed, 24 insertions(+), 25 deletions(-)
---
diff --git a/src/SearchFilter.vala b/src/SearchFilter.vala
index 3429c02..137318a 100644
--- a/src/SearchFilter.vala
+++ b/src/SearchFilter.vala
@@ -1052,7 +1052,6 @@ public class SearchFilterToolbar : Gtk.Revealer {
public SearchFilterToolbar(SearchFilterActions actions) {
this.actions = actions;
toolbar = new Gtk.Toolbar();
-// toolbar.insert_action_group ("filterbar", actions.get_action_group ());
actions.media_context_changed.connect(on_media_context_changed);
search_box = new SearchBox(actions.text);
diff --git a/ui/import.ui b/ui/import.ui
index af733bc..4a75993 100644
--- a/ui/import.ui
+++ b/ui/import.ui
@@ -99,49 +99,49 @@
<section>
<item>
<attribute name="label" translatable="no">★★★★★</attribute>
- <attribute name="action">filterbar.display.rating</attribute>
+ <attribute name="action">win.display.rating</attribute>
<attribute name="target">7</attribute>
<attribute name="accel"><Primary>5</attribute>
</item>
<item>
<attribute name="label" translatable="no">★★★★</attribute>
- <attribute name="action">filterbar.display.rating</attribute>
+ <attribute name="action">win.display.rating</attribute>
<attribute name="target">6</attribute>
<attribute name="accel"><Primary>4</attribute>
</item>
<item>
<attribute name="label" translatable="no">★★★</attribute>
- <attribute name="action">filterbar.display.rating</attribute>
+ <attribute name="action">win.display.rating</attribute>
<attribute name="target">5</attribute>
<attribute name="accel"><Primary>3</attribute>
</item>
<item>
<attribute name="label" translatable="no">★★</attribute>
- <attribute name="action">filterbar.display.rating</attribute>
+ <attribute name="action">win.display.rating</attribute>
<attribute name="target">4</attribute>
<attribute name="accel"><Primary>2</attribute>
</item>
<item>
<attribute name="label" translatable="no">★</attribute>
- <attribute name="action">filterbar.display.rating</attribute>
+ <attribute name="action">win.display.rating</attribute>
<attribute name="target">3</attribute>
<attribute name="accel"><Primary>1</attribute>
</item>
<item>
<attribute name="label" translatable="yes">_All Photos</attribute>
- <attribute name="action">filterbar.display.rating</attribute>
+ <attribute name="action">win.display.rating</attribute>
<attribute name="target">2</attribute>
<attribute name="accel"><Primary>0</attribute>
</item>
<item>
<attribute name="label" translatable="yes">All + _Rejected</attribute>
- <attribute name="action">filterbar.display.rating</attribute>
+ <attribute name="action">win.display.rating</attribute>
<attribute name="target">1</attribute>
<attribute name="accel"><Primary>9</attribute>
</item>
<item>
<attribute name="label" translatable="yes">Rejected _Only</attribute>
- <attribute name="action">filterbar.display.rating</attribute>
+ <attribute name="action">win.display.rating</attribute>
<attribute name="target">8</attribute>
<attribute name="accel"><Primary>8</attribute>
</item>
diff --git a/ui/offline.ui b/ui/offline.ui
index 273ac73..bf241ed 100644
--- a/ui/offline.ui
+++ b/ui/offline.ui
@@ -96,49 +96,49 @@
<section>
<item>
<attribute name="label" translatable="no">★★★★★</attribute>
- <attribute name="action">filterbar.display.rating</attribute>
+ <attribute name="action">win.display.rating</attribute>
<attribute name="target">7</attribute>
<attribute name="accel"><Primary>5</attribute>
</item>
<item>
<attribute name="label" translatable="no">★★★★</attribute>
- <attribute name="action">filterbar.display.rating</attribute>
+ <attribute name="action">win.display.rating</attribute>
<attribute name="target">6</attribute>
<attribute name="accel"><Primary>4</attribute>
</item>
<item>
<attribute name="label" translatable="no">★★★</attribute>
- <attribute name="action">filterbar.display.rating</attribute>
+ <attribute name="action">win.display.rating</attribute>
<attribute name="target">5</attribute>
<attribute name="accel"><Primary>3</attribute>
</item>
<item>
<attribute name="label" translatable="no">★★</attribute>
- <attribute name="action">filterbar.display.rating</attribute>
+ <attribute name="action">win.display.rating</attribute>
<attribute name="target">4</attribute>
<attribute name="accel"><Primary>2</attribute>
</item>
<item>
<attribute name="label" translatable="no">★</attribute>
- <attribute name="action">filterbar.display.rating</attribute>
+ <attribute name="action">win.display.rating</attribute>
<attribute name="target">3</attribute>
<attribute name="accel"><Primary>1</attribute>
</item>
<item>
<attribute name="label" translatable="yes">_All Photos</attribute>
- <attribute name="action">filterbar.display.rating</attribute>
+ <attribute name="action">win.display.rating</attribute>
<attribute name="target">2</attribute>
<attribute name="accel"><Primary>0</attribute>
</item>
<item>
<attribute name="label" translatable="yes">All + _Rejected</attribute>
- <attribute name="action">filterbar.display.rating</attribute>
+ <attribute name="action">win.display.rating</attribute>
<attribute name="target">1</attribute>
<attribute name="accel"><Primary>9</attribute>
</item>
<item>
<attribute name="label" translatable="yes">Rejected _Only</attribute>
- <attribute name="action">filterbar.display.rating</attribute>
+ <attribute name="action">win.display.rating</attribute>
<attribute name="target">8</attribute>
<attribute name="accel"><Primary>8</attribute>
</item>
diff --git a/ui/trash.ui b/ui/trash.ui
index 0bd7a20..58badfa 100644
--- a/ui/trash.ui
+++ b/ui/trash.ui
@@ -105,49 +105,49 @@
<section>
<item>
<attribute name="label" translatable="no">★★★★★</attribute>
- <attribute name="action">filterbar.display.rating</attribute>
+ <attribute name="action">win.display.rating</attribute>
<attribute name="target">7</attribute>
<attribute name="accel"><Primary>5</attribute>
</item>
<item>
<attribute name="label" translatable="no">★★★★</attribute>
- <attribute name="action">filterbar.display.rating</attribute>
+ <attribute name="action">win.display.rating</attribute>
<attribute name="target">6</attribute>
<attribute name="accel"><Primary>4</attribute>
</item>
<item>
<attribute name="label" translatable="no">★★★</attribute>
- <attribute name="action">filterbar.display.rating</attribute>
+ <attribute name="action">win.display.rating</attribute>
<attribute name="target">5</attribute>
<attribute name="accel"><Primary>3</attribute>
</item>
<item>
<attribute name="label" translatable="no">★★</attribute>
- <attribute name="action">filterbar.display.rating</attribute>
+ <attribute name="action">win.display.rating</attribute>
<attribute name="target">4</attribute>
<attribute name="accel"><Primary>2</attribute>
</item>
<item>
<attribute name="label" translatable="no">★</attribute>
- <attribute name="action">filterbar.display.rating</attribute>
+ <attribute name="action">win.display.rating</attribute>
<attribute name="target">3</attribute>
<attribute name="accel"><Primary>1</attribute>
</item>
<item>
<attribute name="label" translatable="yes">_All Photos</attribute>
- <attribute name="action">filterbar.display.rating</attribute>
+ <attribute name="action">win.display.rating</attribute>
<attribute name="target">2</attribute>
<attribute name="accel"><Primary>0</attribute>
</item>
<item>
<attribute name="label" translatable="yes">All + _Rejected</attribute>
- <attribute name="action">filterbar.display.rating</attribute>
+ <attribute name="action">win.display.rating</attribute>
<attribute name="target">1</attribute>
<attribute name="accel"><Primary>9</attribute>
</item>
<item>
<attribute name="label" translatable="yes">Rejected _Only</attribute>
- <attribute name="action">filterbar.display.rating</attribute>
+ <attribute name="action">win.display.rating</attribute>
<attribute name="target">8</attribute>
<attribute name="accel"><Primary>8</attribute>
</item>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]