[gnome-packagekit/gnome-2-28] Set the cancel button to be initially insensitive
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-packagekit/gnome-2-28] Set the cancel button to be initially insensitive
- Date: Wed, 14 Apr 2010 10:02:45 +0000 (UTC)
commit cd28132e2d02dde746878a7b550fa9d17c151114
Author: Jonathan Conder <j skurvy no-ip org>
Date: Thu Apr 8 19:21:57 2010 +0100
Set the cancel button to be initially insensitive
Signed-off-by: Richard Hughes <richard hughsie com>
src/gpk-application.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/gpk-application.c b/src/gpk-application.c
index 5bb8e30..f293d00 100644
--- a/src/gpk-application.c
+++ b/src/gpk-application.c
@@ -4066,6 +4066,7 @@ gpk_application_init (GpkApplication *application)
widget = GTK_WIDGET (gtk_builder_get_object (application->priv->builder, "button_cancel"));
g_signal_connect (widget, "clicked",
G_CALLBACK (gpk_application_cancel_cb), application);
+ gtk_widget_set_sensitive (widget, FALSE);
/* TRANSLATORS: tooltip on the cancel button */
gtk_widget_set_tooltip_text (widget, _("Cancel search"));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]