aboutsummaryrefslogtreecommitdiffstats
path: root/src/window-commands.c
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2003-11-27 01:58:50 +0800
committerChristian Persch <chpe@src.gnome.org>2003-11-27 01:58:50 +0800
commited7795be783b4f49314834b9c71813ce37f17280 (patch)
treeb00e0f526fe87bca28205ba05376e02f4a56843b /src/window-commands.c
parenta80d75f2179aba2078b0d042fec4c24b4e01f729 (diff)
downloadgsoc2013-epiphany-ed7795be783b4f49314834b9c71813ce37f17280.tar
gsoc2013-epiphany-ed7795be783b4f49314834b9c71813ce37f17280.tar.gz
gsoc2013-epiphany-ed7795be783b4f49314834b9c71813ce37f17280.tar.bz2
gsoc2013-epiphany-ed7795be783b4f49314834b9c71813ce37f17280.tar.lz
gsoc2013-epiphany-ed7795be783b4f49314834b9c71813ce37f17280.tar.xz
gsoc2013-epiphany-ed7795be783b4f49314834b9c71813ce37f17280.tar.zst
gsoc2013-epiphany-ed7795be783b4f49314834b9c71813ce37f17280.zip
Make PDM dialogue a singleton.
2003-11-26 Christian Persch <chpe@cvs.gnome.org> * src/ephy-shell.c: (ephy_shell_init), (ephy_shell_finalize), (ephy_shell_get_history_window), (ephy_shell_get_pdm_dialog): * src/ephy-shell.h: * src/pdm-dialog.c: (pdm_dialog_response_cb): * src/pdm-dialog.h: * src/window-commands.c: (window_cmd_edit_personal_data): Make PDM dialogue a singleton.
Diffstat (limited to 'src/window-commands.c')
-rw-r--r--src/window-commands.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/window-commands.c b/src/window-commands.c
index f545747fb..b86db7377 100644
--- a/src/window-commands.c
+++ b/src/window-commands.c
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2000, 2001, 2002 Marco Pesenti Gritti
+ * Copyright (C) 2000-2003 Marco Pesenti Gritti
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -31,7 +31,7 @@
#include "print-dialog.h"
#include "eel-gconf-extensions.h"
#include "ephy-prefs.h"
-#include "pdm-dialog.h"
+#include "ephy-dialog.h"
#include "ephy-bookmarks-editor.h"
#include "ephy-history-window.h"
#include "ephy-new-bookmark.h"
@@ -46,16 +46,16 @@
#include "egg-editable-toolbar.h"
#include "egg-toolbar-editor.h"
-#include <glib.h>
#include <string.h>
+#include <glib.h>
#include <libgnomevfs/gnome-vfs-uri.h>
#include <libgnomevfs/gnome-vfs-utils.h>
-#include <glib/gi18n.h>
-#include <libgnomeui/gnome-about.h>
#include <libgnomeui/gnome-stock-icons.h>
#include <libgnomevfs/gnome-vfs-mime-handlers.h>
#include <gtk/gtkeditable.h>
#include <gtk/gtktoggleaction.h>
+#include <libgnomeui/gnome-about.h>
+#include <glib/gi18n.h>
enum
{
@@ -796,7 +796,7 @@ window_cmd_edit_personal_data (GtkAction *action,
{
EphyDialog *dialog;
- dialog = pdm_dialog_new (GTK_WIDGET(window));
+ dialog = EPHY_DIALOG (ephy_shell_get_pdm_dialog (ephy_shell));
ephy_dialog_show (dialog);
}