diff options
author | Tor Lillqvist <tml@novell.com> | 2005-11-26 10:31:52 +0800 |
---|---|---|
committer | Tor Lillqvist <tml@src.gnome.org> | 2005-11-26 10:31:52 +0800 |
commit | e7defa25a587dfaa160211ce0e2941c044560b5a (patch) | |
tree | 92e5a8b5ffb7010a28bced8e3eb9726411f27c81 /calendar/gui/dialogs/url-editor-dialog.c | |
parent | ae89d959aab24359c730375cff664ac3b44cc953 (diff) | |
download | gsoc2013-evolution-e7defa25a587dfaa160211ce0e2941c044560b5a.tar gsoc2013-evolution-e7defa25a587dfaa160211ce0e2941c044560b5a.tar.gz gsoc2013-evolution-e7defa25a587dfaa160211ce0e2941c044560b5a.tar.bz2 gsoc2013-evolution-e7defa25a587dfaa160211ce0e2941c044560b5a.tar.lz gsoc2013-evolution-e7defa25a587dfaa160211ce0e2941c044560b5a.tar.xz gsoc2013-evolution-e7defa25a587dfaa160211ce0e2941c044560b5a.tar.zst gsoc2013-evolution-e7defa25a587dfaa160211ce0e2941c044560b5a.zip |
gui/calendar-commands.c gui/e-cal-list-view.c gui/e-calendar-table.c
2005-11-26 Tor Lillqvist <tml@novell.com>
* gui/calendar-commands.c
* gui/e-cal-list-view.c
* gui/e-calendar-table.c
* gui/e-memo-table.c
* gui/e-memos.c
* gui/e-tasks.c
* gui/gnome-cal.c
* gui/goto.c
* gui/memos-control.c
* gui/tasks-control.c
* gui/alarm-notify/alarm-notify-dialog.c
* gui/alarm-notify/notify-main.c
* gui/dialogs/alarm-dialog.c
* gui/dialogs/alarm-list-dialog.c
* gui/dialogs/cal-attachment.c
* gui/dialogs/cal-prefs-dialog.c
* gui/dialogs/comp-editor.c
* gui/dialogs/e-delegate-dialog.c
* gui/dialogs/event-editor.c
* gui/dialogs/meeting-page.c
* gui/dialogs/memo-page.c
* gui/dialogs/recurrence-page.c
* gui/dialogs/schedule-page.c
* gui/dialogs/task-details-page.c
* gui/dialogs/task-page.c
* gui/dialogs/url-editor-dialog.c: Include e-util-private.h to get
redefinition of compile-time pathnames as calls to functions on
Windows. Construct the pathnames of files and directories under
the installation prefix at run-time to enable install-anywhere on
Windows. No effect on functionality on Unix.
svn path=/trunk/; revision=30679
Diffstat (limited to 'calendar/gui/dialogs/url-editor-dialog.c')
-rw-r--r-- | calendar/gui/dialogs/url-editor-dialog.c | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/calendar/gui/dialogs/url-editor-dialog.c b/calendar/gui/dialogs/url-editor-dialog.c index 5e29af48de..e7759955fe 100644 --- a/calendar/gui/dialogs/url-editor-dialog.c +++ b/calendar/gui/dialogs/url-editor-dialog.c @@ -43,6 +43,7 @@ #include <glade/glade.h> #include <e-util/e-dialog-widgets.h> #include <e-util/e-icon-factory.h> +#include <e-util/e-util-private.h> #include <misc/e-dateedit.h> #include <stdlib.h> #include <string.h> @@ -66,9 +67,15 @@ gboolean url_editor_dialog_new (DialogData *dialog_data, EPublishUri *uri) { int b; - + char *gladefile; UrlDialogData *url_dlg_data = g_new0 (UrlDialogData, 1); - url_dlg_data->xml = glade_xml_new (EVOLUTION_GLADEDIR "/url-editor-dialog.glade", NULL, NULL); + + gladefile = g_build_filename (EVOLUTION_GLADEDIR, + "url-editor-dialog.glade", + NULL); + url_dlg_data->xml = glade_xml_new (gladefile, NULL, NULL); + g_free (gladefile); + if (!url_dlg_data->xml) { g_message ("url_editor_dialog_construct(): Could not load the Glade XML file!"); return FALSE; @@ -365,7 +372,7 @@ url_editor_dialog_fb_url_changed (GtkEntry *url_entry, void *data) URL_LIST_LOCATION_COLUMN, &url_name, -1); - if (!strcasecmp (url_name, entry_contents)) { + if (!g_ascii_strcasecmp (url_name, entry_contents)) { gtk_widget_set_sensitive ((GtkWidget *) url_dlg_data->ok, FALSE); return; } |