diff options
Diffstat (limited to 'plugins/publish-calendar/url-editor-dialog.c')
-rw-r--r-- | plugins/publish-calendar/url-editor-dialog.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/plugins/publish-calendar/url-editor-dialog.c b/plugins/publish-calendar/url-editor-dialog.c index abcd1ede38..8e1c735dc3 100644 --- a/plugins/publish-calendar/url-editor-dialog.c +++ b/plugins/publish-calendar/url-editor-dialog.c @@ -24,6 +24,7 @@ #include <libedataserverui/e-passwords.h> #include <libedataserver/e-url.h> #include <glib.h> +#include <glib/gi18n.h> #include <string.h> #include <e-util/e-util-private.h> @@ -456,6 +457,11 @@ url_editor_dialog_new (GtkTreeModel *url_list_model, EPublishUri *uri) dialog->url_list_model = g_object_ref (url_list_model); dialog->uri = uri; + if (!uri) + gtk_window_set_title (GTK_WINDOW (dialog), _("New Location")); + else + gtk_window_set_title (GTK_WINDOW (dialog), _("Edit Location")); + if (url_editor_dialog_construct (dialog)) return GTK_WIDGET (dialog); |