aboutsummaryrefslogtreecommitdiffstats
path: root/widgets
diff options
context:
space:
mode:
Diffstat (limited to 'widgets')
-rw-r--r--widgets/misc/e-gui-utils.c10
-rw-r--r--widgets/misc/e-gui-utils.h25
-rw-r--r--widgets/misc/e-popup-menu.h3
3 files changed, 24 insertions, 14 deletions
diff --git a/widgets/misc/e-gui-utils.c b/widgets/misc/e-gui-utils.c
index aef2f6191b..b92c155f59 100644
--- a/widgets/misc/e-gui-utils.c
+++ b/widgets/misc/e-gui-utils.c
@@ -3,19 +3,21 @@
* GUI utility functions
*
* Author:
- * Miguel de Icaza (miguel@helixcode.com)
+ * Miguel de Icaza <miguel@helixcode.com>
*
- * (C) 1999 Miguel de Icaza
- * (C) 2000 Helix Code, Inc.
+ * Copyright (C) 1999 Miguel de Icaza
+ * Copyright (C) 2000, 2001 Ximian, Inc.
*/
#include <config.h>
+
+#include "e-gui-utils.h"
+
#include <gtk/gtkentry.h>
#include <gtk/gtksignal.h>
#include <libgnomeui/gnome-messagebox.h>
#include <libgnomeui/gnome-stock.h>
#include <gdk-pixbuf/gdk-pixbuf.h>
#include <gdk-pixbuf/gnome-canvas-pixbuf.h>
-#include "e-gui-utils.h"
void
e_notice (GtkWindow *window, const char *type, const char *format, ...)
diff --git a/widgets/misc/e-gui-utils.h b/widgets/misc/e-gui-utils.h
index d11d0a77fb..8a04ee24ae 100644
--- a/widgets/misc/e-gui-utils.h
+++ b/widgets/misc/e-gui-utils.h
@@ -1,3 +1,4 @@
+/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
#ifndef GAL_GUI_UTILS_H
#define GAL_GUI_UTILS_H
@@ -8,16 +9,20 @@
BEGIN_GNOME_DECLS
-void e_popup_menu (GtkMenu *menu, GdkEvent *event);
-void e_auto_kill_popup_menu_on_hide (GtkMenu *menu);
-void e_notice (GtkWindow *window, const char *type, const char *format, ...);
-void e_container_foreach_leaf (GtkContainer *container,
- GtkCallback callback,
- gpointer closure);
-void e_container_focus_nth_entry (GtkContainer *container,
- int n);
-gint e_container_change_tab_order (GtkContainer *container,
- GList *widgets);
+void e_popup_menu (GtkMenu *menu,
+ GdkEvent *event);
+void e_auto_kill_popup_menu_on_hide (GtkMenu *menu);
+void e_notice (GtkWindow *window,
+ const char *type,
+ const char *format,
+ ...);
+void e_container_foreach_leaf (GtkContainer *container,
+ GtkCallback callback,
+ gpointer closure);
+void e_container_focus_nth_entry (GtkContainer *container,
+ int n);
+gint e_container_change_tab_order (GtkContainer *container,
+ GList *widgets);
END_GNOME_DECLS
diff --git a/widgets/misc/e-popup-menu.h b/widgets/misc/e-popup-menu.h
index 5105424a6a..26e06476b3 100644
--- a/widgets/misc/e-popup-menu.h
+++ b/widgets/misc/e-popup-menu.h
@@ -8,6 +8,9 @@
BEGIN_GNOME_DECLS
+#define E_POPUP_SEPARATOR { "", NULL, (NULL), NULL, 0 }
+#define E_POPUP_TERMINATOR { NULL, NULL, (NULL), NULL, 0 }
+
typedef struct _EPopupMenu EPopupMenu;
struct _EPopupMenu {