aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/menus/gal-view-menus.c
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@helixcode.com>2000-11-12 05:45:24 +0800
committerChris Lahey <clahey@src.gnome.org>2000-11-12 05:45:24 +0800
commit2d64058a8f7c03d1035504eaacc219730b5cd3c6 (patch)
treec8a0537fe8db3b3685413e0ab2914b20ee7f8e9f /widgets/menus/gal-view-menus.c
parent618515cd0beaed45af59994d84592b5d513bd979 (diff)
downloadgsoc2013-evolution-2d64058a8f7c03d1035504eaacc219730b5cd3c6.tar
gsoc2013-evolution-2d64058a8f7c03d1035504eaacc219730b5cd3c6.tar.gz
gsoc2013-evolution-2d64058a8f7c03d1035504eaacc219730b5cd3c6.tar.bz2
gsoc2013-evolution-2d64058a8f7c03d1035504eaacc219730b5cd3c6.tar.lz
gsoc2013-evolution-2d64058a8f7c03d1035504eaacc219730b5cd3c6.tar.xz
gsoc2013-evolution-2d64058a8f7c03d1035504eaacc219730b5cd3c6.tar.zst
gsoc2013-evolution-2d64058a8f7c03d1035504eaacc219730b5cd3c6.zip
Added a bunch of .lo s from the menus directory.
2000-11-11 Christopher James Lahey <clahey@helixcode.com> * gal/Makefile.am: Added a bunch of .lo s from the menus directory. From gal/menus: 2000-11-11 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added gal-define-views-model.c, gal-define-views-model.h, gal-view-new-dialog.c, gal-view-new-dialog.h, gal-view-new-dialog.glade, gal-view-new-dialog.glade.h, gal-view.c, and gal-view.h. * gal-define-views-dialog.c, gal-define-views-dialog.h: Connect up the New button. Use an ETable. * gal-define-views.glade, gal-define-views.glade.h: Put in custom object for the ETable * gal-define-views-model.c, gal-define-views-model.h: New model for list of views. * gal-view-menus.c: Close the define views dialog when it's done. * gal-view-new-dialog.c, gal-view-new-dialog.glade, gal-view-new-dialog.glade.h, gal-view-new-dialog.h: New class for creating a new view. * gal-view.c, gal-view.h: New class for representing a single view in the define views model. svn path=/trunk/; revision=6544
Diffstat (limited to 'widgets/menus/gal-view-menus.c')
-rw-r--r--widgets/menus/gal-view-menus.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/widgets/menus/gal-view-menus.c b/widgets/menus/gal-view-menus.c
index 398c34d789..f511f8b61d 100644
--- a/widgets/menus/gal-view-menus.c
+++ b/widgets/menus/gal-view-menus.c
@@ -50,11 +50,20 @@ gal_view_menus_new (void)
}
static void
+dialog_clicked(GtkWidget *dialog, int button, GalViewMenus *menus)
+{
+ gnome_dialog_close(GNOME_DIALOG(dialog));
+}
+
+static void
define_views(BonoboUIComponent *component,
GalViewMenus *menus,
char *cname)
{
- gtk_widget_show(gal_define_views_dialog_new());
+ GtkWidget *dialog = gal_define_views_dialog_new();
+ gtk_signal_connect(GTK_OBJECT(dialog), "clicked",
+ GTK_SIGNAL_FUNC(dialog_clicked), menus);
+ gtk_widget_show(dialog);
}
static BonoboUIVerb verbs[] = {