diff options
author | Matthew Barnes <mbarnes@src.gnome.org> | 2009-03-10 09:06:18 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@src.gnome.org> | 2009-03-10 09:06:18 +0800 |
commit | 7a92d9cc82b7775a0f5cb1fde233119d435a79b6 (patch) | |
tree | 0bf446e28f6068a36dc3164725d3c37b05db4f6c /e-util/e-util.h | |
parent | f963cc39a7d21f64f578dae50fd08c44181a3bf6 (diff) | |
download | gsoc2013-evolution-7a92d9cc82b7775a0f5cb1fde233119d435a79b6.tar.gz gsoc2013-evolution-7a92d9cc82b7775a0f5cb1fde233119d435a79b6.tar.zst gsoc2013-evolution-7a92d9cc82b7775a0f5cb1fde233119d435a79b6.zip |
Add e_lookup_action() and e_lookup_action_group() to e-util, so
I don't have to keep writing the algorithm over and over again.
Add EFileActivity, which provides a GCancellable for GIO operations.
Cancelling the activity cancels the GIO operation, and vice versa.
Also provides a handy GFileProgressCallback function which updates
the activity's "percent" property.
svn path=/branches/kill-bonobo/; revision=37396
Diffstat (limited to 'e-util/e-util.h')
-rw-r--r-- | e-util/e-util.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/e-util/e-util.h b/e-util/e-util.h index 5f431156eb..744b4a7a9d 100644 --- a/e-util/e-util.h +++ b/e-util/e-util.h @@ -48,6 +48,10 @@ void e_display_help (GtkWindow *parent, const gchar *link_id); gint e_file_open_tmp (gchar **name_used, GError **error); +GtkAction * e_lookup_action (GtkUIManager *ui_manager, + const gchar *action_name); +GtkActionGroup *e_lookup_action_group (GtkUIManager *ui_manager, + const gchar *group_name); guint e_load_ui_definition (GtkUIManager *ui_manager, const gchar *basename); gint e_action_compare_by_label (GtkAction *action1, |