
* e-shell-view.c (e_shell_view_construct): Use `bonobo_ui_component_new_default()', not `bonobo_ui_component_new()'. * mail-account-gui.c (launch_signature_editor): Use `bonobo_ui_component_new_default()', not `bonobo_ui_component_new()'. * e-msg-composer.c (setup_ui): Use `bonobo_ui_component_new_default()', not `bonobo_ui_component_new()'. * gui/dialogs/comp-editor.c (setup_widgets): Use `bonobo_ui_component_new_default()', not `bonobo_ui_component_new()'. svn path=/trunk/; revision=13306
55 lines
1.2 KiB
Plaintext
55 lines
1.2 KiB
Plaintext
/* -*- Mode: IDL; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
|
|
/*
|
|
* Interface for the Evolution shortcuts.
|
|
*
|
|
* Authors:
|
|
* Ettore Perazzoli <ettore@ximian.com>
|
|
*
|
|
* Copyright (C) 2001 Ximian, Inc.
|
|
*/
|
|
|
|
#include <Bonobo.idl>
|
|
|
|
module GNOME {
|
|
module Evolution {
|
|
|
|
interface Shortcuts : Bonobo::Unknown {
|
|
|
|
struct Shortcut {
|
|
string uri;
|
|
string name;
|
|
string type;
|
|
};
|
|
typedef sequence <Shortcut> ShortcutList;
|
|
|
|
struct Group {
|
|
string name;
|
|
ShortcutList shortcuts;
|
|
};
|
|
typedef sequence<Group> GroupList;
|
|
|
|
exception NotFound {};
|
|
exception InvalidPosition {};
|
|
exception CannotRemove {};
|
|
|
|
readonly attribute GroupList groups; // FIXME: Could be non-readonly
|
|
|
|
void add (in short group_num, in short position, in Shortcut shortcut)
|
|
raises (NotFound);
|
|
void remove (in short group_num, in short item_num)
|
|
raises (NotFound);
|
|
Shortcut get (in short group_num, in short item_num)
|
|
raises (NotFound);
|
|
|
|
void addGroup (in short position, in string name)
|
|
raises (InvalidPosition);
|
|
void removeGroup (in short group_num)
|
|
raises (NotFound, CannotRemove);
|
|
Group getGroup (in short group_num)
|
|
raises (NotFound);
|
|
|
|
};
|
|
|
|
};
|
|
};
|