aboutsummaryrefslogtreecommitdiffstats
path: root/widgets
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@ximian.com>2001-04-17 06:39:58 +0800
committerChris Lahey <clahey@src.gnome.org>2001-04-17 06:39:58 +0800
commitc59caf515927cdb693f63621b65c92a44ea50d1b (patch)
tree6f1013f0c50ae3f73cdafd0572e696e81dba22a3 /widgets
parent9293054684c447d34da2b55fa5e2277549ce4bad (diff)
downloadgsoc2013-evolution-c59caf515927cdb693f63621b65c92a44ea50d1b.tar
gsoc2013-evolution-c59caf515927cdb693f63621b65c92a44ea50d1b.tar.gz
gsoc2013-evolution-c59caf515927cdb693f63621b65c92a44ea50d1b.tar.bz2
gsoc2013-evolution-c59caf515927cdb693f63621b65c92a44ea50d1b.tar.lz
gsoc2013-evolution-c59caf515927cdb693f63621b65c92a44ea50d1b.tar.xz
gsoc2013-evolution-c59caf515927cdb693f63621b65c92a44ea50d1b.tar.zst
gsoc2013-evolution-c59caf515927cdb693f63621b65c92a44ea50d1b.zip
Changed some comments here.
2001-04-16 Christopher James Lahey <clahey@ximian.com> * configure.in: Changed some comments here. * gal/Makefile.am (libgal_la_LIBADD): Added widgets/e-categories-master-list-array.lo and widgets/e-categories-master-list.lo. * gal/widgets/Makefile.am (libwidgets_la_SOURCES): Added widgets/e-categories-master-list-array.c and widgets/e-categories-master-list.c. (libwidgetsinclude_HEADERS): Added widgets/e-categories-master-list-array.h and widgets/e-categories-master-list.h. * gal/widgets/e-categories-master-list-array.c, gal/widgets/e-categories-master-list-array.h, gal/widgets/e-categories-master-list.c, gal/widgets/e-categories-master-list.h: Added ECategoriesMasterList and a simple local implementation of it. * gal/widgets/e-categories.c, gal/widgets/e-categories.h: Privatized this. Switched to using ECategoriesMasterList. (table_right_click): Added a right click menu to add and remove things to and from the global category list. * gal/widgets/e-gui-utils.c, gal/widgets/e-gui-utils.h: Fixed some comments and formatting. * gal/widgets/e-popup-menu.h (E_POPUP_SEPARATOR, E_POPUP_TERMINATOR): Added these #defines. svn path=/trunk/; revision=9392
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 {