[packagekit] [PATCH 2/4] make apply button insensitive while applying

Zhang, Qiang Z qiang.z.zhang at intel.com
Sun Sep 26 00:28:54 PDT 2010


Oops, I execute "git apply" twice when I re-generated patch. I will send the correct patch in a min.

Thanks
xiaoqiang

>-----Original Message-----
>From: Richard Hughes [mailto:hughsient at gmail.com]
>Sent: 2010年9月26日 15:20
>To: Zhang, Qiang Z
>Cc: packagekit at lists.freedesktop.org; Nashif, Anas; Zhu, Peter J; Liu, Kent
>Subject: Re: [PATCH 2/4] make apply button insensitive while applying
>
>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