https://gitlab.gnome.org/GNOME/gtk/-/blob/gtk-3-24/gtk/gtkappchooserdialog.c#L464
Gtk.AppChooserDialog should automatically hide the widget if gnome-
software is not available. And I can confirm that's the case from this
minimal python example, so why is it different in DING?
```
import gi
gi.require_version("Gtk", "3.0")
from gi.repository import Gtk
dialog = Gtk.AppChooserDialog.new_for_content_type(
None, Gtk.DialogFlags.MODAL | Gtk.DialogFlags.USE_HEADER_BAR,
"application/pdf"
)
dialog.set_title("Open PDF With...")
dialog.run()
```
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2154327
Title:
Error after Right click on desktop icon >> Open with other app >> Find
new apps
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-shell-ubuntu-extensions/+bug/2154327/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs