GNOME Bugzilla – Bug 672682
Use FirewallD1 API
Last modified: 2012-04-12 13:52:55 UTC
Created attachment 210406 [details] [review] use FirewallD1 API FirewallD1 has new API since version 2.0. Some methods were replaced (e.g. disableService -> removeService) and the philosophy was also changed a little (zones and interface were introduced to it). The attached patch makes g-c-c to use the new API but it preserves compatibility with the old one (I would like to remove the old one in the future). Marek (g-c-c shows the message about missing firewalld even if firewalld-2.* is installed and running without this patch)
Review of attachment 210406 [details] [review]: Rest looks fine. ::: panels/printers/pp-new-printer-dialog.c @@ +840,2 @@ G_DBUS_CALL_FLAGS_NONE, 60000, Don't use magic numbers for the timeout. Either use the default timeout (-1) or define it and explain the reason for this value.
Thank you for the review. I've committed the patch downstream to Fedora since it seems that FirewallD is used just there. If there will be a request to commit it upstream then reopen this bug please. Marek P.S.: The support for FirewallD in gnome-control-center will be probably removed in 3.6.0 because FirewallD changed default behaviour so that it allows search for network printers in home environment by default.