[gnome-clocks] Set "edit alarm" dialog title
- From: Paolo Borelli <pborelli src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-clocks] Set "edit alarm" dialog title
- Date: Sat, 2 Mar 2013 09:45:43 +0000 (UTC)
commit 949e1d910be1e8aca4512464993cf83120e8230a
Author: Paolo Borelli <pborelli gnome org>
Date: Sat Mar 2 09:24:15 2013 +0100
Set "edit alarm" dialog title
src/alarm.vala | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/alarm.vala b/src/alarm.vala
index 72df804..0532c8f 100644
--- a/src/alarm.vala
+++ b/src/alarm.vala
@@ -249,7 +249,7 @@ private class SetupDialog : Gtk.Dialog {
private Gtk.Switch active_switch;
public SetupDialog (Gtk.Window parent, Item? alarm) {
- Object (transient_for: parent, modal: true, title: _("New Alarm"));
+ Object (transient_for: parent, modal: true, title: alarm != null ? _("Edit Alarm") : _("New Alarm"));
add_buttons (Gtk.Stock.CANCEL, 0, _("_Done"), 1);
set_default_response (1);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]