[gnome-calendar] sourc-edialog: rename owncloud to nextcloud



commit 1e1216d3f799c73140f09cab5043759a96a43677
Author: Florian Brosch <flo brosch gmail com>
Date:   Wed Nov 8 01:56:59 2017 +0100

    sourc-edialog: rename owncloud to nextcloud

 data/ui/source-dialog.ui |   12 ++++++------
 src/gcal-source-dialog.c |   10 +++++-----
 2 files changed, 11 insertions(+), 11 deletions(-)
---
diff --git a/data/ui/source-dialog.ui b/data/ui/source-dialog.ui
index de50ffe..395fc01 100644
--- a/data/ui/source-dialog.ui
+++ b/data/ui/source-dialog.ui
@@ -222,17 +222,17 @@
                                           </object>
                                         </child>
                                         <child>
-                                          <object class="GtkListBoxRow" id="owncloud_stub_row">
+                                          <object class="GtkListBoxRow" id="nextcloud_stub_row">
                                             <property name="visible">True</property>
                                             <property name="can_focus">True</property>
                                             <child>
-                                              <object class="GtkGrid" id="owncloud_stub_grid">
+                                              <object class="GtkGrid" id="nextcloud_stub_grid">
                                                 <property name="visible">True</property>
                                                 <property name="border_width">6</property>
                                                 <property name="margin_end">18</property>
                                                 <property name="column_spacing">12</property>
                                                 <child>
-                                                  <object class="GtkImage" id="owncloud_account_image">
+                                                  <object class="GtkImage" id="nextcloud_account_image">
                                                     <property name="visible">True</property>
                                                     <property name="pixel_size">32</property>
                                                     <property 
name="icon_name">goa-account-owncloud</property>
@@ -244,9 +244,9 @@
                                                   </packing>
                                                 </child>
                                                 <child>
-                                                  <object class="GtkLabel" id="owncloud_account_label">
+                                                  <object class="GtkLabel" id="nextcloud_account_label">
                                                     <property name="visible">True</property>
-                                                    <property name="label" 
translatable="yes">ownCloud</property>
+                                                    <property name="label" 
translatable="yes">Nextcloud</property>
                                                     <property name="xalign">0</property>
                                                   </object>
                                                   <packing>
@@ -255,7 +255,7 @@
                                                   </packing>
                                                 </child>
                                                 <child>
-                                                  <object class="GtkLabel" 
id="owncloud_account_config_label">
+                                                  <object class="GtkLabel" 
id="nextcloud_account_config_label">
                                                     <property name="visible">True</property>
                                                     <property name="label" translatable="yes">Click to set 
up</property>
                                                     <property name="xalign">0</property>
diff --git a/src/gcal-source-dialog.c b/src/gcal-source-dialog.c
index a804ad6..70f6154 100644
--- a/src/gcal-source-dialog.c
+++ b/src/gcal-source-dialog.c
@@ -95,7 +95,7 @@ struct _GcalSourceDialog
   /* stub goa rows */
   GtkWidget          *exchange_stub_row;
   GtkWidget          *google_stub_row;
-  GtkWidget          *owncloud_stub_row;
+  GtkWidget          *nextcloud_stub_row;
 
   /* flags */
   GcalSourceDialogMode mode;
@@ -737,7 +737,7 @@ online_accounts_listbox_row_activated (GtkListBox    *box,
     {
       spawn_goa_with_args ("add", "google");
     }
-  else if ((GtkWidget*) row == self->owncloud_stub_row)
+  else if ((GtkWidget*) row == self->nextcloud_stub_row)
     {
       spawn_goa_with_args ("add", "owncloud");
     }
@@ -1894,7 +1894,7 @@ add_goa_account (GcalSourceDialog *dialog,
 
     case GCAL_ACCOUNT_TYPE_OWNCLOUD:
       icon_name = "goa-account-owncloud";
-      gtk_widget_hide (dialog->owncloud_stub_row);
+      gtk_widget_hide (dialog->nextcloud_stub_row);
       break;
 
     case GCAL_ACCOUNT_TYPE_NOT_SUPPORTED:
@@ -1985,7 +1985,7 @@ goa_account_removed_cb (GoaClient *client,
           break;
 
         case GCAL_ACCOUNT_TYPE_OWNCLOUD:
-          gtk_widget_show (self->owncloud_stub_row);
+          gtk_widget_show (self->nextcloud_stub_row);
           break;
 
         case GCAL_ACCOUNT_TYPE_NOT_SUPPORTED:
@@ -2194,7 +2194,7 @@ gcal_source_dialog_class_init (GcalSourceDialogClass *klass)
   gtk_widget_class_bind_template_child (widget_class, GcalSourceDialog, notification);
   gtk_widget_class_bind_template_child (widget_class, GcalSourceDialog, notification_label);
   gtk_widget_class_bind_template_child (widget_class, GcalSourceDialog, online_accounts_listbox);
-  gtk_widget_class_bind_template_child (widget_class, GcalSourceDialog, owncloud_stub_row);
+  gtk_widget_class_bind_template_child (widget_class, GcalSourceDialog, nextcloud_stub_row);
   gtk_widget_class_bind_template_child (widget_class, GcalSourceDialog, remove_button);
   gtk_widget_class_bind_template_child (widget_class, GcalSourceDialog, settings_button);
   gtk_widget_class_bind_template_child (widget_class, GcalSourceDialog, stack);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]