diff options
Diffstat (limited to 'ui/search_bar.ui')
-rw-r--r-- | ui/search_bar.ui | 67 |
1 files changed, 55 insertions, 12 deletions
diff --git a/ui/search_bar.ui b/ui/search_bar.ui index 957c8b3..9d56962 100644 --- a/ui/search_bar.ui +++ b/ui/search_bar.ui @@ -1,12 +1,55 @@ -<ui> - <popup name="FilterPopupMenu" action="CommonFilterPhotos"> - <menuitem name="DisplayFiveOrHigher" action="CommonDisplayFiveOrHigher" /> - <menuitem name="DisplayFourOrHigher" action="CommonDisplayFourOrHigher" /> - <menuitem name="DisplayThreeOrHigher" action="CommonDisplayThreeOrHigher" /> - <menuitem name="DisplayTwoOrHigher" action="CommonDisplayTwoOrHigher" /> - <menuitem name="DisplayOneOrHigher" action="CommonDisplayOneOrHigher" /> - <menuitem name="DisplayUnratedOrHigher" action="CommonDisplayUnratedOrHigher" /> - <menuitem name="DisplayRejectedOrHigher" action="CommonDisplayRejectedOrHigher" /> - <menuitem name="DisplayRejectedOnly" action="CommonDisplayRejectedOnly" /> - </popup> -</ui> +<?xml version="1.0" encoding="UTF-8"?> +<interface domain="shotwell"> + <menu id='popup-menu'> + <section> + <item> + <attribute name="label" translatable="yes">Rejected _Only</attribute> + <attribute name="action">win.display.rating</attribute> + <attribute name="target">8</attribute> + <attribute name="accel"><Primary>8</attribute> + </item> + <item> + <attribute name="label" translatable="yes">All + _Rejected</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">_All Photos</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="no">★</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="no">★★</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">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">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">win.display.rating</attribute> + <attribute name="target">7</attribute> + <attribute name="accel"><Primary>5</attribute> + </item> + </section> + </menu> +</interface> |