summaryrefslogtreecommitdiff
path: root/libnautilus-extensions/nautilus-global-preferences.c
diff options
context:
space:
mode:
authorDarin Adler <darin@src.gnome.org>2000-12-19 00:34:15 +0000
committerDarin Adler <darin@src.gnome.org>2000-12-19 00:34:15 +0000
commit72dd8fb3c52b511be1fda5b79268cc438c427963 (patch)
treee8dd4699690ac44a2af120b2b1177828e5b9c006 /libnautilus-extensions/nautilus-global-preferences.c
parentcd6a1e03c6358808dc3cc25957c97899aea71461 (diff)
downloadnautilus-72dd8fb3c52b511be1fda5b79268cc438c427963.tar.gz
reviewed by: John Sullivan <sullivan@eazel.com>
(Robey also looked at the install part a bit) Fix bug 5212 (File leaks when you start and immediately quit Nautilus). * src/file-manager/fm-directory-view.c: (queue_pending_files): Remove incorrect nautilus_file_list_ref that created a NautilusFile leak. Fix bug 5180 (Defined messages won't end up in translations) by making sure we don't ever use "_()" inside a #define. * libnautilus-extensions/nautilus-file-operations.c: * libnautilus-extensions/nautilus-global-preferences.c: * libnautilus-extensions/nautilus-icon-canvas-item.c: * libnautilus-extensions/nautilus-icon-factory.c: * nautilus-installer/src/installer.c: * nautilus-installer/src/package-tree.c: * src/file-manager/fm-desktop-icon-view.c: * src/nautilus-location-bar.c: Changed all localizable strings in #defines to instead use global (const) variables. We still have the defines, though, since we can't call gettext in a global-initialization.
Diffstat (limited to 'libnautilus-extensions/nautilus-global-preferences.c')
-rw-r--r--libnautilus-extensions/nautilus-global-preferences.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libnautilus-extensions/nautilus-global-preferences.c b/libnautilus-extensions/nautilus-global-preferences.c
index 7aba7fe8f..5b38fc9ed 100644
--- a/libnautilus-extensions/nautilus-global-preferences.c
+++ b/libnautilus-extensions/nautilus-global-preferences.c
@@ -41,7 +41,8 @@
#include <liboaf/liboaf.h>
/* Constants */
-#define GLOBAL_PREFERENCES_DIALOG_TITLE _("Nautilus Preferences")
+static const char untranslated_global_preferences_dialog_title[] = N_("Nautilus Preferences");
+#define GLOBAL_PREFERENCES_DIALOG_TITLE _(untranslated_global_preferences_dialog_title)
/* default web search uri */
#define DEFAULT_SEARCH_WEB_URI "http://www.eazel.com/websearch"