diff options
author | Ettore Perazzoli <ettore@src.gnome.org> | 2000-06-10 03:19:36 +0800 |
---|---|---|
committer | Ettore Perazzoli <ettore@src.gnome.org> | 2000-06-10 03:19:36 +0800 |
commit | 7f36752a67c274640378ec096f37e690fd5ca8ed (patch) | |
tree | dcc3124da275074dcf11803bb553d2af384858db /shell/e-folder-type-registry.h | |
parent | 59d329b5b090175e2ea5ffd06cb20dfcd41a7688 (diff) | |
download | gsoc2013-evolution-7f36752a67c274640378ec096f37e690fd5ca8ed.tar gsoc2013-evolution-7f36752a67c274640378ec096f37e690fd5ca8ed.tar.gz gsoc2013-evolution-7f36752a67c274640378ec096f37e690fd5ca8ed.tar.bz2 gsoc2013-evolution-7f36752a67c274640378ec096f37e690fd5ca8ed.tar.lz gsoc2013-evolution-7f36752a67c274640378ec096f37e690fd5ca8ed.tar.xz gsoc2013-evolution-7f36752a67c274640378ec096f37e690fd5ca8ed.tar.zst gsoc2013-evolution-7f36752a67c274640378ec096f37e690fd5ca8ed.zip |
Initial support for creating/removing folders. This implies some new
IDL methods and new functions to implement on the component side. I
have also added a simple folder creation dialog in the shell. It's
quite unfinished and untested.
svn path=/trunk/; revision=3491
Diffstat (limited to 'shell/e-folder-type-registry.h')
-rw-r--r-- | shell/e-folder-type-registry.h | 32 |
1 files changed, 17 insertions, 15 deletions
diff --git a/shell/e-folder-type-registry.h b/shell/e-folder-type-registry.h index 0297633007..6d832282aa 100644 --- a/shell/e-folder-type-registry.h +++ b/shell/e-folder-type-registry.h @@ -31,7 +31,7 @@ #include <gtk/gtkobject.h> #include <gdk-pixbuf/gdk-pixbuf.h> -#include <bonobo/bonobo-object-client.h> +#include "evolution-shell-component-client.h" #ifdef __cplusplus extern "C" { @@ -64,20 +64,22 @@ GtkType e_folder_type_registry_get_type (void); void e_folder_type_registry_construct (EFolderTypeRegistry *folder_type_registry); EFolderTypeRegistry *e_folder_type_registry_new (void); -gboolean e_folder_type_registry_register_type (EFolderTypeRegistry *folder_type_registry, - const char *type_name, - const char *icon_name); -gboolean e_folder_type_registry_set_handler_for_type (EFolderTypeRegistry *folder_type_registry, - const char *type_name, - BonoboObjectClient *handler); - -GdkPixbuf *e_folder_type_registry_get_icon_for_type (EFolderTypeRegistry *folder_type_registry, - const char *type_name, - gboolean mini); -const char *e_folder_type_registry_get_icon_name_for_type (EFolderTypeRegistry *folder_type_registry, - const char *type_name); -BonoboObjectClient *e_folder_type_registry_get_handler_for_type (EFolderTypeRegistry *folder_type_registry, - const char *type_name); +gboolean e_folder_type_registry_register_type (EFolderTypeRegistry *folder_type_registry, + const char *type_name, + const char *icon_name); +gboolean e_folder_type_registry_set_handler_for_type (EFolderTypeRegistry *folder_type_registry, + const char *type_name, + EvolutionShellComponentClient *handler); + +GList *e_folder_type_registry_get_type_names (EFolderTypeRegistry *folder_type_registry); + +GdkPixbuf *e_folder_type_registry_get_icon_for_type (EFolderTypeRegistry *folder_type_registry, + const char *type_name, + gboolean mini); +const char *e_folder_type_registry_get_icon_name_for_type (EFolderTypeRegistry *folder_type_registry, + const char *type_name); +EvolutionShellComponentClient *e_folder_type_registry_get_handler_for_type (EFolderTypeRegistry *folder_type_registry, + const char *type_name); #ifdef __cplusplus } |