source-dialog: hide remove button instead of insensitivize it

New mockups hide the remove button. Follow it.
This commit is contained in:
Georges Basile Stavracas Neto
2015-05-25 12:35:31 -04:00
committed by Erick Pérez Castellanos
parent ed572e1ff8
commit 882aa9446d
+1 -1
View File
@@ -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);