Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding Feature of IPP Service Discoveries #378

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

TheJayas
Copy link

This PR includes my work of GSOC 2024.
I have added a feature in system config printer, where all available IPP services will be listed to the user. Also the web interface is also accessible using buttons.

@@ -2278,4 +2329,4 @@ def main(show_jobs):
if opt == "--embedded":
PlugWindowId = int(optarg)

main(show_jobs)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks this one is unneeded.

from gi.repository import GLib
gi.require_version('Gtk', '3.0')
from gi.repository import Gtk
import avahi
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some distros currently do not ship Avahi Python module - can you catch the exception, show the error dialog if someone clicks on "Discover Services" about "Missing Avahi module - we could not discover mDNS services." and return back to the main window?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure , I'll do require changes

@tillkamppeter
Copy link
Member

@TheJayas could you please do the changes @zdohnal has asked for?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants