+2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
+
+ * po/POTFILES.in:
+ * shell/ev-application.c: (window_destroy_cb):
+ * shell/ev-window.c:
+ * shell/main.c: (main):
+
+ Actually show the window...
+
2004-12-21 Marco Pesenti Gritti <marco@gnome.org>
* Makefile.am:
[encoding: UTF-8]
-gs-renderer/GNOME_GGV.server.in.in
-gs-renderer/ggv-control-ui.xml
-gs-renderer/ggv-postscript-view-ui.xml
-gs-renderer/ggv-postscript-view.c
-gs-renderer/ggv-sidebar.c
shell/ev-application.c
shell/ev-window.c
#include <gtk/gtkfilechooserdialog.h>
#include <gtk/gtkstock.h>
#include <gtk/gtkwidget.h>
-#include <bonobo/bonobo-main.h>
+#include <gtk/gtkmain.h>
#include <ev-window.h>
g_list_remove (application->priv->windows, object);
if (application->priv->windows == NULL)
- bonobo_main_quit ();
+ gtk_main_quit ();
}
EvWindow *
#include <gtk/gtktoggleaction.h>
#include <gtk/gtkuimanager.h>
#include <gtk/gtkvbox.h>
-#include <libbonoboui.h>
#include <libgnomevfs/gnome-vfs-mime-utils.h>
#include <string.h>
#include "config.h"
+#include "ev-application.h"
+
#include <glib/gi18n.h>
#include <gtk/gtkmain.h>
#include <libgnome/gnome-program.h>
poptContext context;
GValue context_as_value = { 0 };
GnomeProgram *program;
+ GtkWidget *window;
#ifdef ENABLE_NLS
/* Initialize the i18n stuff */
g_value_init (&context_as_value, G_TYPE_POINTER));
context = g_value_get_pointer (&context_as_value);
+ window = GTK_WIDGET (ev_application_new_window (EV_APP));
+ gtk_widget_show (window);
+
gtk_main ();
poptFreeContext (context);