Freeze request for g-c-c
- From: Rodrigo Moya <rodrigo gnome org>
- To: release-team gnome org
- Subject: Freeze request for g-c-c
- Date: Wed, 21 Sep 2011 16:53:45 +0200
Hi
Attached patch is already in git master, but I guess it might make sense
for the 3-2 branch
cheers
>From 82a9cdb2edf4e2afa0d3d1ae81db539400221c24 Mon Sep 17 00:00:00 2001
From: Rodrigo Moya <rodrigo gnome-db org>
Date: Wed, 21 Sep 2011 16:49:44 +0200
Subject: [PATCH] Disable remove button if no printer is selected
https://bugzilla.gnome.org/show_bug.cgi?id=659724
---
panels/printers/cc-printers-panel.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/panels/printers/cc-printers-panel.c b/panels/printers/cc-printers-panel.c
index d220f38..19074a0 100644
--- a/panels/printers/cc-printers-panel.c
+++ b/panels/printers/cc-printers-panel.c
@@ -2285,7 +2285,7 @@ actualize_sensitivity (gpointer user_data)
gtk_widget_set_sensitive (widget, local_server && is_authorized);
widget = (GtkWidget*) gtk_builder_get_object (priv->builder, "printer-remove-button");
- gtk_widget_set_sensitive (widget, local_server && !is_discovered && is_authorized);
+ gtk_widget_set_sensitive (widget, local_server && !is_discovered && is_authorized && printer_selected);
widget = (GtkWidget*) gtk_builder_get_object (priv->builder, "printer-disable-switch");
gtk_widget_set_sensitive (widget, local_server && !is_discovered && is_authorized);
--
1.7.5.4
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]