Use capplet->dialog for parent of prefs widget

2001-07-19  Bradford Hovinen  <hovinen@ximian.com>

	* main.c (setup_capplet_widget): Use capplet->dialog for parent of
	prefs widget

	* prefs-widget.c: Added copyright notice
This commit is contained in:
Bradford Hovinen 2001-07-19 15:41:58 +00:00 committed by Bradford Hovinen (Gdict maintainer)
parent 6c78ff23c8
commit 273fe29147
3 changed files with 33 additions and 1 deletions

View file

@ -1,3 +1,10 @@
2001-07-19 Bradford Hovinen <hovinen@ximian.com>
* main.c (setup_capplet_widget): Use capplet->dialog for parent of
prefs widget
* prefs-widget.c: Added copyright notice
2001-07-18 Carlos Perelló Marín <carlos@gnome-db.org>
* screensavers/*.xml: /s/label/_label, /s/low-label/_low-label/,

View file

@ -226,7 +226,7 @@ setup_capplet_widget (void)
prefs->frozen++;
prefs_widget = PREFS_WIDGET (prefs_widget_new (GTK_WINDOW (capplet)));
prefs_widget = PREFS_WIDGET (prefs_widget_new (GTK_WINDOW (capplet->dialog)));
gtk_container_add (GTK_CONTAINER (capplet), GTK_WIDGET (prefs_widget));

View file

@ -1,3 +1,28 @@
/* -*- mode: c; style: linux -*- */
/* preferences.c
* Copyright (C) 2000, 2001 Ximian, Inc.
*
* Written by Bradford Hovinen <hovinen@ximian.com>,
* Richard Hestilow <tvgm@ximian.com>
* Parts written by Jamie Zawinski <jwz@jwz.org>
*
* 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
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
* 02111-1307, USA.
*/
#ifdef HAVE_CONFIG_H
# include "config.h"
#endif