diff options
author | Milan Crha <mcrha@redhat.com> | 2008-12-16 20:24:03 +0800 |
---|---|---|
committer | Milan Crha <mcrha@src.gnome.org> | 2008-12-16 20:24:03 +0800 |
commit | 40082bdc4011d04b96a37d36b21f70eb938d1c31 (patch) | |
tree | 5a0347141b3f540ed962f4c6dccc83e909cc172c /plugins | |
parent | 8331d8cacf9b872ba36d86678b3ebb3700671528 (diff) | |
download | gsoc2013-evolution-40082bdc4011d04b96a37d36b21f70eb938d1c31.tar.gz gsoc2013-evolution-40082bdc4011d04b96a37d36b21f70eb938d1c31.tar.zst gsoc2013-evolution-40082bdc4011d04b96a37d36b21f70eb938d1c31.zip |
** Fix for bug #359010
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.
svn path=/trunk/; revision=36902
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); |