cvs: pear /PEAR_Frontend_Gtk/Gtk Config.php DirSelect.php Packages.php Summary.php

From: Date: Thu, 25 Jul 2002 09:05:32 +0000
Subject: cvs: pear /PEAR_Frontend_Gtk/Gtk Config.php DirSelect.php Packages.php Summary.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-5326@lists.php.net to get a copy of this message
alan_k Thu Jul 25 05:05:32 2002 EDT Modified files: /pear/PEAR_Frontend_Gtk/Gtk Config.php DirSelect.php Packages.php Summary.php Log: fix a few warnings Index: pear/PEAR_Frontend_Gtk/Gtk/Config.php diff -u pear/PEAR_Frontend_Gtk/Gtk/Config.php:1.2 pear/PEAR_Frontend_Gtk/Gtk/Config.php:1.3 --- pear/PEAR_Frontend_Gtk/Gtk/Config.php:1.2 Thu Jun 13 02:57:13 2002 +++ pear/PEAR_Frontend_Gtk/Gtk/Config.php Thu Jul 25 05:05:32 2002 @@ -16,7 +16,7 @@ | Author: Alan Knowles <alan@akbkhome.com> | +----------------------------------------------------------------------+ - $Id: Config.php,v 1.2 2002/06/13 06:57:13 alan_k Exp $ + $Id: Config.php,v 1.3 2002/07/25 09:05:32 alan_k Exp $ */ /** @@ -192,7 +192,7 @@ break; // debug: shourd really be case 'integer': // debug : should really be a set? - $gtkadj = &new GtkAdjustment($v, 0.0, 3.0, 1.0, 1.0, 0.0); + $gtkadj = &new GtkAdjustment((double) $v, 0.0, 3.0, 1.0, 1.0, 0.0); $gtkspinbutton = &new GtkSpinButton($gtkadj); $gtkspinbutton->show(); $gtkspinbutton->connect_object_after('enter_notify_event', @@ -347,4 +347,4 @@ } } -?> \ No newline at end of file +?> Index: pear/PEAR_Frontend_Gtk/Gtk/DirSelect.php diff -u pear/PEAR_Frontend_Gtk/Gtk/DirSelect.php:1.2 pear/PEAR_Frontend_Gtk/Gtk/DirSelect.php:1.3 --- pear/PEAR_Frontend_Gtk/Gtk/DirSelect.php:1.2 Thu Jun 13 02:57:13 2002 +++ pear/PEAR_Frontend_Gtk/Gtk/DirSelect.php Thu Jul 25 05:05:32 2002 @@ -16,7 +16,7 @@ | Author: Alan Knowles <alan@akbkhome.com> | +----------------------------------------------------------------------+ - $Id: DirSelect.php,v 1.2 2002/06/13 06:57:13 alan_k Exp $ + $Id: DirSelect.php,v 1.3 2002/07/25 09:05:32 alan_k Exp $ */ /** @@ -206,7 +206,7 @@ return; } if ($row < 0) return; - $this->entry->set_text($this->_DirSelectRows[$row]); + $this->entry->set_text(@$this->_DirSelectRows[$row]); } /** @@ -256,4 +256,4 @@ $this->window->hide(); } } -?> \ No newline at end of file +?> Index: pear/PEAR_Frontend_Gtk/Gtk/Packages.php diff -u pear/PEAR_Frontend_Gtk/Gtk/Packages.php:1.12 pear/PEAR_Frontend_Gtk/Gtk/Packages.php:1.13 --- pear/PEAR_Frontend_Gtk/Gtk/Packages.php:1.12 Thu Jun 13 06:18:59 2002 +++ pear/PEAR_Frontend_Gtk/Gtk/Packages.php Thu Jul 25 05:05:32 2002 @@ -16,7 +16,7 @@ | Author: Alan Knowles <alan@akbkhome.com> | +----------------------------------------------------------------------+ - $Id: Packages.php,v 1.12 2002/06/13 10:18:59 alan_k Exp $ + $Id: Packages.php,v 1.13 2002/07/25 09:05:32 alan_k Exp $ */ require('PEAR/Frontend/Gtk/PackageData.php'); /** Index: pear/PEAR_Frontend_Gtk/Gtk/Summary.php diff -u pear/PEAR_Frontend_Gtk/Gtk/Summary.php:1.6 pear/PEAR_Frontend_Gtk/Gtk/Summary.php:1.7 --- pear/PEAR_Frontend_Gtk/Gtk/Summary.php:1.6 Thu Jun 13 02:57:13 2002 +++ pear/PEAR_Frontend_Gtk/Gtk/Summary.php Thu Jul 25 05:05:32 2002 @@ -16,7 +16,7 @@ | Author: Alan Knowles <alan@akbkhome.com> | +----------------------------------------------------------------------+ - $Id: Summary.php,v 1.6 2002/06/13 06:57:13 alan_k Exp $ + $Id: Summary.php,v 1.7 2002/07/25 09:05:32 alan_k Exp $ */ /** @@ -35,6 +35,7 @@ var $widget; // the list widget var $config; // reference to config; var $active_package=""; // currently selected package + var $_detailsVisableFlag = FALSE; // is the dialog visable function PEAR_Frontend_Gtk_Summary(&$ui) { $this->ui = &$ui; @@ -68,6 +69,8 @@ $this->active_package = &$package; //$this->ui->_widget_install->set_sensitive(1); foreach(get_object_vars($package) as $k=>$v) { + if (@is_object($v)) continue; + if (@is_array($v)) continue; $v = str_replace("\r", '',$v); $var = "_widget_".strtolower($k); if (!is_object(@$this->ui->$var)) continue; @@ -127,4 +130,4 @@ } -?> \ No newline at end of file +?>

« previous php.pear.cvs (#5326) next »