summaryrefslogtreecommitdiffhomepage
path: root/mixgtk/mixgtk.c
diff options
context:
space:
mode:
authorJose Antonio Ortega Ruiz <jao@gnu.org>2004-06-24 01:40:46 +0000
committerJose Antonio Ortega Ruiz <jao@gnu.org>2004-06-24 01:40:46 +0000
commit2c92c7e85faa068d4037c361df91ebed79e87916 (patch)
tree90187bfd97de14251d384fd0400ff93c23596f2e /mixgtk/mixgtk.c
parent39602cc09f0c9ecab59670a4a47348fc063653a1 (diff)
downloadmdk-2c92c7e85faa068d4037c361df91ebed79e87916.tar.gz
mdk-2c92c7e85faa068d4037c361df91ebed79e87916.tar.bz2
almost complete (barring bugs) reimplementation of all gmixvm functionality in non-split mode for gtk 2.0.
Diffstat (limited to 'mixgtk/mixgtk.c')
-rw-r--r--mixgtk/mixgtk.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/mixgtk/mixgtk.c b/mixgtk/mixgtk.c
index 3b926b4..97f6a16 100644
--- a/mixgtk/mixgtk.c
+++ b/mixgtk/mixgtk.c
@@ -1,7 +1,7 @@
/* -*-c-*- -------------- mixgtk.c :
* Main functions of the mix gtk front-end
* ------------------------------------------------------------------
- * $Id: mixgtk.c,v 1.16 2004/06/23 10:50:10 jao Exp $
+ * $Id: mixgtk.c,v 1.17 2004/06/24 01:40:48 jao Exp $
* ------------------------------------------------------------------
* Copyright (C) 2001, 2002, 2004 Free Software Foundation, Inc.
*
@@ -36,7 +36,7 @@
#include "mixgtk.h"
static const gchar *SPLIT_ARG_ = "-s";
-static const gchar *SPLIT_LONG_ARG_ = "--s";
+static const gchar *SPLIT_LONG_ARG_ = "--split";
gboolean
mixgtk_restart (void)
@@ -49,8 +49,6 @@ mixgtk_restart (void)
return FALSE;
}
- mixgtk_fontsel_load_defaults ();
-
if (!mixgtk_cmd_dispatcher_init (MIXGTK_MAIN))
{
g_error (_("Unable to initialise application (command dispatcher)\n"));
@@ -71,9 +69,9 @@ mixgtk_restart (void)
return FALSE;
}
- if (!mixgtk_device_init (GTK_NOTEBOOK
+ if (!mixgtk_device_init (GTK_CONTAINER
(mixgtk_widget_factory_get
- (MIXGTK_DEVICES_DIALOG, MIXGTK_WIDGET_DEVICE)),
+ (MIXGTK_DEVICES_DIALOG, MIXGTK_WIDGET_DEVICES)),
vm))
{
g_error (_("Unable to initialise application (devices)\n"));