sourc-edialog: rename owncloud to nextcloud

This commit is contained in:
Florian Brosch
2017-11-08 23:43:48 -02:00
committed by Georges Basile Stavracas Neto
parent 8d55c7ea04
commit 1e1216d3f7
2 changed files with 11 additions and 11 deletions
+6 -6
View File
@@ -222,17 +222,17 @@
</object> </object>
</child> </child>
<child> <child>
<object class="GtkListBoxRow" id="owncloud_stub_row"> <object class="GtkListBoxRow" id="nextcloud_stub_row">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can_focus">True</property> <property name="can_focus">True</property>
<child> <child>
<object class="GtkGrid" id="owncloud_stub_grid"> <object class="GtkGrid" id="nextcloud_stub_grid">
<property name="visible">True</property> <property name="visible">True</property>
<property name="border_width">6</property> <property name="border_width">6</property>
<property name="margin_end">18</property> <property name="margin_end">18</property>
<property name="column_spacing">12</property> <property name="column_spacing">12</property>
<child> <child>
<object class="GtkImage" id="owncloud_account_image"> <object class="GtkImage" id="nextcloud_account_image">
<property name="visible">True</property> <property name="visible">True</property>
<property name="pixel_size">32</property> <property name="pixel_size">32</property>
<property name="icon_name">goa-account-owncloud</property> <property name="icon_name">goa-account-owncloud</property>
@@ -244,9 +244,9 @@
</packing> </packing>
</child> </child>
<child> <child>
<object class="GtkLabel" id="owncloud_account_label"> <object class="GtkLabel" id="nextcloud_account_label">
<property name="visible">True</property> <property name="visible">True</property>
<property name="label" translatable="yes">ownCloud</property> <property name="label" translatable="yes">Nextcloud</property>
<property name="xalign">0</property> <property name="xalign">0</property>
</object> </object>
<packing> <packing>
@@ -255,7 +255,7 @@
</packing> </packing>
</child> </child>
<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="visible">True</property>
<property name="label" translatable="yes">Click to set up</property> <property name="label" translatable="yes">Click to set up</property>
<property name="xalign">0</property> <property name="xalign">0</property>
+5 -5
View File
@@ -95,7 +95,7 @@ struct _GcalSourceDialog
/* stub goa rows */ /* stub goa rows */
GtkWidget *exchange_stub_row; GtkWidget *exchange_stub_row;
GtkWidget *google_stub_row; GtkWidget *google_stub_row;
GtkWidget *owncloud_stub_row; GtkWidget *nextcloud_stub_row;
/* flags */ /* flags */
GcalSourceDialogMode mode; GcalSourceDialogMode mode;
@@ -737,7 +737,7 @@ online_accounts_listbox_row_activated (GtkListBox *box,
{ {
spawn_goa_with_args ("add", "google"); 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"); spawn_goa_with_args ("add", "owncloud");
} }
@@ -1894,7 +1894,7 @@ add_goa_account (GcalSourceDialog *dialog,
case GCAL_ACCOUNT_TYPE_OWNCLOUD: case GCAL_ACCOUNT_TYPE_OWNCLOUD:
icon_name = "goa-account-owncloud"; icon_name = "goa-account-owncloud";
gtk_widget_hide (dialog->owncloud_stub_row); gtk_widget_hide (dialog->nextcloud_stub_row);
break; break;
case GCAL_ACCOUNT_TYPE_NOT_SUPPORTED: case GCAL_ACCOUNT_TYPE_NOT_SUPPORTED:
@@ -1985,7 +1985,7 @@ goa_account_removed_cb (GoaClient *client,
break; break;
case GCAL_ACCOUNT_TYPE_OWNCLOUD: case GCAL_ACCOUNT_TYPE_OWNCLOUD:
gtk_widget_show (self->owncloud_stub_row); gtk_widget_show (self->nextcloud_stub_row);
break; break;
case GCAL_ACCOUNT_TYPE_NOT_SUPPORTED: 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);
gtk_widget_class_bind_template_child (widget_class, GcalSourceDialog, notification_label); 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, 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, remove_button);
gtk_widget_class_bind_template_child (widget_class, GcalSourceDialog, settings_button); gtk_widget_class_bind_template_child (widget_class, GcalSourceDialog, settings_button);
gtk_widget_class_bind_template_child (widget_class, GcalSourceDialog, stack); gtk_widget_class_bind_template_child (widget_class, GcalSourceDialog, stack);