[gnome-calendar] edit-dialog: show Save label for editable events
- From: Erick Pérez Castellanos <erickpc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-calendar] edit-dialog: show Save label for editable events
- Date: Thu, 4 Dec 2014 22:41:12 +0000 (UTC)
commit 8e878f0a0623c3cd37af16f23d425ffcf47e6705
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date: Mon Nov 3 10:18:18 2014 -0200
edit-dialog: show Save label for editable events
Fixes bug #739309.
src/gcal-edit-dialog.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/gcal-edit-dialog.c b/src/gcal-edit-dialog.c
index c8309c0..3a58877 100644
--- a/src/gcal-edit-dialog.c
+++ b/src/gcal-edit-dialog.c
@@ -316,6 +316,9 @@ gcal_edit_dialog_set_writable (GcalEditDialog *dialog,
gtk_widget_set_sensitive (priv->all_day_check, writable);
+ gtk_button_set_label (GTK_BUTTON (priv->done_button),
+ writable ? _("Save") : _("Done"));
+
/* add delete_button here */
gtk_widget_set_sensitive (priv->delete_button, writable);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]