[gnome-calendar/calendar-editor] source-dialog: hide empty goa rows instead of removing them
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-calendar/calendar-editor] source-dialog: hide empty goa rows instead of removing them
- Date: Fri, 1 May 2015 14:53:25 +0000 (UTC)
commit b5ca212d67b7ab11a99544122f0b9d9bf1e41bf9
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date: Fri May 1 11:52:07 2015 -0300
source-dialog: hide empty goa rows instead of removing them
src/gcal-source-dialog.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/gcal-source-dialog.c b/src/gcal-source-dialog.c
index 78f7ba5..9aba650 100644
--- a/src/gcal-source-dialog.c
+++ b/src/gcal-source-dialog.c
@@ -1983,17 +1983,17 @@ add_goa_account (GcalSourceDialog *dialog,
{
case GCAL_ACCOUNT_TYPE_EXCHANGE:
icon_name = "goa";
- gtk_container_remove (GTK_CONTAINER (priv->online_accounts_listbox), priv->exchange_stub_row);
+ gtk_widget_hide (priv->exchange_stub_row);
break;
case GCAL_ACCOUNT_TYPE_GOOGLE:
icon_name = "goa-account-google";
- gtk_container_remove (GTK_CONTAINER (priv->online_accounts_listbox), priv->google_stub_row);
+ gtk_widget_hide (priv->google_stub_row);
break;
case GCAL_ACCOUNT_TYPE_OWNCLOUD:
icon_name = "goa-account-owncloud";
- gtk_container_remove (GTK_CONTAINER (priv->online_accounts_listbox), priv->owncloud_stub_row);
+ gtk_widget_hide (priv->owncloud_stub_row);
break;
case GCAL_ACCOUNT_TYPE_NOT_SUPPORTED:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]