aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-util.h
diff options
context:
space:
mode:
Diffstat (limited to 'e-util/e-util.h')
-rw-r--r--e-util/e-util.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/e-util/e-util.h b/e-util/e-util.h
index d673cfe91a..7c4be25bd4 100644
--- a/e-util/e-util.h
+++ b/e-util/e-util.h
@@ -37,6 +37,11 @@
#include <e-util/e-marshal.h>
+/* Convenience macro to help migrate from libglade to GtkBuilder.
+ * Use it as a direct replacement for glade_xml_get_widget(). */
+#define e_builder_get_widget(builder, name) \
+ GTK_WIDGET (gtk_builder_get_object ((builder), (name)))
+
G_BEGIN_DECLS
typedef enum {
@@ -58,7 +63,9 @@ 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,
+void e_load_ui_builder_definition (GtkBuilder *builder,
+ const gchar *basename);
+guint e_load_ui_manager_definition (GtkUIManager *ui_manager,
const gchar *basename);
gint e_action_compare_by_label (GtkAction *action1,
GtkAction *action2);
@@ -144,6 +151,9 @@ gboolean e_util_read_file (const gchar *filename,
GSList * e_util_get_category_filter_options
(void);
+void e_util_set_source_combo_box_list(GtkWidget *source_combo_box,
+ const gchar *source_gconf_path);
+
/* Camel uses its own object system, so we have to box
* CamelObjects to safely use them as GObject properties. */
#define E_TYPE_CAMEL_OBJECT (e_camel_object_get_type ())