diff options
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/publish-calendar/ChangeLog | 7 | ||||
-rw-r--r-- | plugins/publish-calendar/url-editor-dialog.c | 6 |
2 files changed, 13 insertions, 0 deletions
diff --git a/plugins/publish-calendar/ChangeLog b/plugins/publish-calendar/ChangeLog index fa6c292d11..ad18f9331a 100644 --- a/plugins/publish-calendar/ChangeLog +++ b/plugins/publish-calendar/ChangeLog @@ -1,3 +1,10 @@ +2008-12-16 Milan Crha <mcrha@redhat.com> + + ** Fix for bug #359010 + + * url-editor-dialog.c: (url_editor_dialog_new): + Set title of the window based on the parameter/action. + 2008-10-03 Sankar P <psankar@novell.com> License Changes 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); |