summaryrefslogtreecommitdiffhomepage
path: root/mixgtk/mixgtk_mixal.c
diff options
context:
space:
mode:
Diffstat (limited to 'mixgtk/mixgtk_mixal.c')
-rw-r--r--mixgtk/mixgtk_mixal.c16
1 files changed, 15 insertions, 1 deletions
diff --git a/mixgtk/mixgtk_mixal.c b/mixgtk/mixgtk_mixal.c
index b805c30..17f726f 100644
--- a/mixgtk/mixgtk_mixal.c
+++ b/mixgtk/mixgtk_mixal.c
@@ -1,7 +1,7 @@
/* -*-c-*- -------------- mixgtk_mixal.c :
* Implementation of the functions declared in mixgtk_mixal.h
* ------------------------------------------------------------------
- * $Id: mixgtk_mixal.c,v 1.17 2004/06/23 10:50:10 jao Exp $
+ * $Id: mixgtk_mixal.c,v 1.18 2004/06/24 01:40:47 jao Exp $
* ------------------------------------------------------------------
* Copyright (C) 2001, 2002, 2004 Free Software Foundation, Inc.
*
@@ -27,6 +27,7 @@
#include "mixgtk_widgets.h"
#include "mixgtk_config.h"
+#include "mixgtk_fontsel.h"
#include "mixgtk_mixal.h"
@@ -236,9 +237,12 @@ mixgtk_mixal_init (mix_vm_t *vm, mixgtk_dialog_id_t top)
g_signal_connect (G_OBJECT (clist_), "event",
G_CALLBACK (mixal_event_), NULL);
+ mixgtk_fontsel_set_font (MIX_FONT_MIXAL, GTK_WIDGET (clist_));
+
if (restart) mixgtk_mixal_load_file ();
else restart = TRUE;
+
return TRUE;
}
@@ -555,3 +559,13 @@ on_mixal_leave_notify_event ()
{
gtk_statusbar_pop (status_, status_context_);
}
+
+void
+on_mixal_font_activate ()
+{
+ GtkWidget *w[] = { GTK_WIDGET (clist_) };
+ mixgtk_fontsel_query_font (MIX_FONT_MIXAL, w, 1);
+}
+
+
+