* Evolution-ShellComponent.idl (createView): Add a "view_info" argument. * e-shell-view.c (get_view_for_uri): if the URI contains a '#', split it into a URI and a "view_info" at that point. (Otherwise, pass "" for the view_info to ShellComponent_createView.) This can be used for things like specifying day/month/week view to the calendar. * e-shell.c (create_view): Ignore e_shell_view_display_uri's return code: it's possible/likely that the requested URL is remote and hasn't been filled in yet. (impl_Shell_handleURI): Don't use Shell_createNewView directly, call e_shell_create_view_from_uri_and_settings. (For the above fix and some others.) * evolution-shell-component.c (impl_createView): Add view_info. * evolution-shell-component-client.c (evolution_shell_component_client_create_view): Add view_info. * evolution-test-component.c (create_view_fn): add view_data. * e-corba-storage-registry.c (impl_StorageRegistry_getFolderByUri): kill a warning svn path=/trunk/; revision=16397
42 lines
1.3 KiB
C
42 lines
1.3 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 version 2 of the GNU General Public
|
|
* License as published by the Free Software Foundation.
|
|
*
|
|
* 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_CONSTANTS_H
|
|
#define E_SHELL_CONSTANTS_H
|
|
|
|
#define E_SHELL_URI_PREFIX "evolution:"
|
|
#define E_SHELL_URI_PREFIX_LEN 10
|
|
|
|
#define E_SHELL_DEFAULTURI_PREFIX "default:"
|
|
#define E_SHELL_DEFAULTURI_PREFIX_LEN 8
|
|
|
|
#define E_SHELL_MINI_ICON_SUFFIX "-mini"
|
|
#define E_SHELL_MINI_ICON_SUFFIX_LEN 5
|
|
|
|
#define E_SHELL_ICON_SIZE 48
|
|
#define E_SHELL_MINI_ICON_SIZE 16
|
|
|
|
#define E_LOCAL_STORAGE_NAME "local"
|
|
#define E_SUMMARY_STORAGE_NAME "summary"
|
|
|
|
#endif
|