[packagekit] [PATCH 2/4] make apply button insensitive while applying
Richard Hughes
hughsient at gmail.com
Sun Sep 26 00:19:32 PDT 2010
On 26 September 2010 04:03, Zhang Qiang <qiang.z.zhang at intel.com> wrote:
> gpk applicaiton: make 'apply' button insensitive while user click the
> apply button, which would sensitive while the transaction return.
> + /* make apply button sensitive */
> + widget = GTK_WIDGET (gtk_builder_get_object (application->priv->builder, "button_apply"));
> + gtk_widget_set_sensitive (widget, TRUE);
> +
> + /* make apply button sensitive */
> + widget = GTK_WIDGET (gtk_builder_get_object (application->priv->builder, "button_apply"));
> + gtk_widget_set_sensitive (widget, TRUE);
> +
Why are you doing each operation twice?
Richard.
More information about the PackageKit
mailing list