File tree Expand file tree Collapse file tree 1 file changed +11
-6
lines changed Expand file tree Collapse file tree 1 file changed +11
-6
lines changed Original file line number Diff line number Diff line change @@ -162,19 +162,24 @@ public class Gala.ScreenshotManager : Object {
162162 var files_appinfo = AppInfo . get_default_for_type (" inode/directory" , true );
163163 var photos_appinfo = AppInfo . get_default_for_type (" image/png" , true );
164164
165+ var open_in_photos_action = GLib . Action . print_detailed_name (
166+ " open-in-photos" ,
167+ new Variant (" s" , filename_used)
168+ );
169+
170+ // / TRANSLATORS: %s represents a name of image viewer
171+ var open_in_photos_label = _(" Open in %s " ). printf (photos_appinfo. get_display_name ());
172+
165173 actions = {
166174 GLib . Action . print_detailed_name (
167175 " show-in-files" ,
168176 new Variant (" s" , filename_used)),
169177 // / TRANSLATORS: %s represents a name of file manager
170178 _(" Show in %s " ). printf (files_appinfo. get_display_name ()
171179 ),
172- GLib . Action . print_detailed_name (
173- " open-in-photos" ,
174- new Variant (" s" , filename_used)),
175- // / TRANSLATORS: %s represents a name of image viewer
176- _(" Open in %s " ). printf (photos_appinfo. get_display_name ()
177- )
180+ // TODO: uncomment when https://github.com/elementary/notifications/issues/237 is fixed
181+ // open_in_photo_action
182+ // open_in_photos_label
178183 };
179184 }
180185
You can’t perform that action at this time.
0 commit comments