Add a stock icon to the "Add bookmark" button.

2003-11-03  Federico Mena Quintero  <federico@ximian.com>

	* gtk/gtkfilechooserdefault.c (create_shortcuts_tree): Add a stock
	icon to the "Add bookmark" button.

	* gtk/gtkfilesystemunix.c: Mark missing strings for translation.
	* gtk/gtkfilesystemmodel.c: Likewise.
	* gtk/gtkfilechooser.c: Likewise.
	* gtk/gtkfilechooserdefault.c: Likewise.

Mon Nov  3 20:56:28 2003  Matthias Clasen  <maclas@gmx.de>
This commit is contained in:
Federico Mena Quintero
2003-11-03 20:24:04 +00:00
committed by Federico Mena Quintero
parent b31a2ece5c
commit 3dbad630ac
9 changed files with 102 additions and 36 deletions

View File

@ -20,6 +20,7 @@
#include "gtkfilesystem.h"
#include "gtkfilesystemunix.h"
#include "gtkintl.h"
#define XDG_PREFIX _gtk_xdg
#include "xdgmime/xdgmime.h"
@ -295,7 +296,7 @@ gtk_file_system_unix_create_folder (GtkFileSystem *file_system,
g_set_error (error,
GTK_FILE_SYSTEM_ERROR,
GTK_FILE_SYSTEM_ERROR_NONEXISTENT,
"error creating directory '%s': %s",
_("error creating directory '%s': %s"),
filename_utf8 ? filename_utf8 : "???",
g_strerror (errno));
g_free (filename_utf8);
@ -553,7 +554,7 @@ gtk_file_system_unix_add_bookmark (GtkFileSystem *file_system,
g_set_error (error,
GTK_FILE_SYSTEM_ERROR,
GTK_FILE_SYSTEM_ERROR_FAILED,
"This file system does not support bookmarks");
_("This file system does not support bookmarks"));
return FALSE;
}
@ -566,7 +567,7 @@ gtk_file_system_unix_remove_bookmark (GtkFileSystem *file_system,
g_set_error (error,
GTK_FILE_SYSTEM_ERROR,
GTK_FILE_SYSTEM_ERROR_FAILED,
"This file system does not support bookmarks");
_("This file system does not support bookmarks"));
return FALSE;
}
@ -737,7 +738,7 @@ filename_get_info (const gchar *filename,
g_set_error (error,
GTK_FILE_SYSTEM_ERROR,
GTK_FILE_SYSTEM_ERROR_NONEXISTENT,
"error getting information for '%s': %s",
_("error getting information for '%s': %s"),
filename_utf8 ? filename_utf8 : "???",
g_strerror (errno));
g_free (filename_utf8);