[gnome-calendar/calendar-editor] source-dialog: hide remove button instead of insensitivize it
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-calendar/calendar-editor] source-dialog: hide remove button instead of insensitivize it
- Date: Wed, 8 Apr 2015 19:13:03 +0000 (UTC)
commit 1b3b2fdc3dc5cb857323ede8d4178212b362e213
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date: Wed Apr 8 16:12:22 2015 -0300
source-dialog: hide remove button instead of insensitivize it
New mockups hide the remove button. Follow it.
src/gcal-source-dialog.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gcal-source-dialog.c b/src/gcal-source-dialog.c
index a439bb6..700c861 100644
--- a/src/gcal-source-dialog.c
+++ b/src/gcal-source-dialog.c
@@ -1266,7 +1266,7 @@ gcal_source_dialog_set_source (GcalSourceDialog *dialog,
gtk_header_bar_set_subtitle (GTK_HEADER_BAR (priv->headerbar), parent_name);
/* toggle the remove button */
- gtk_widget_set_sensitive (priv->remove_button, e_source_get_removable (source));
+ gtk_widget_set_visible (priv->remove_button, e_source_get_removable (source));
/* unblock signals */
g_signal_handlers_unblock_by_func (priv->calendar_color_button, color_set, dialog);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]