Files
evolution/shell/e-shell-utils.h
Ettore Perazzoli 12333f4dff Don't allow invalid folder names. [#12027]
* e-shell-folder-commands.c (e_shell_command_rename_folder): Don't
allow invalid folder names.  [#12027]

* e-shell-folder-creation-dialog.c (entry_name_is_valid): Removed.
(dialog_clicked_cb): Use `e_shell_folder_name_is_valid()' instead.

* e-shell-utils.c (e_shell_folder_name_is_valid): New.  Sorry I18N
people, it breaks the string freeze slighty.

* e-component-registry.c (component_free): Add a cast.
(e_component_registry_restart_component): Argh, use the
corba_objref properly in calling `wait_for_corba_object_to_die()'.

svn path=/trunk/; revision=14152
2001-10-26 18:21:57 +00:00

36 lines
1.1 KiB
C

/* -*- Mode: C; indent-tabs-mode: t; c-basic-offset: 8; tab-width: 8 -*- */
/* e-shell-utils.h
*
* Copyright (C) 2000 Ximian, Inc.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
* published by the Free Software Foundation; either version 2 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* General Public License for more details.
*
* You should have received a copy of the GNU General Public
* License along with this program; if not, write to the
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*
* Author: Ettore Perazzoli
*/
#ifndef E_SHELL_UTILS_H
#define E_SHELL_UTILS_H
#include <glib.h>
char *e_shell_get_icon_path (const char *icon_name,
gboolean try_mini);
gboolean e_shell_folder_name_is_valid (const char *name,
const char **reason_return);
#endif