Revision
101
Author
emsmith
Date
2007-01-06 10:10:08 -0800 (Sat, 06 Jan 2007)

Log Message

Lack of last parameter in parent constructor was crashing ubuntu gtk

Modified Paths

Diff

Modified: trunk/lib/message.class.php (100 => 101)


--- trunk/lib/message.class.php	2007-01-05 23:21:42 UTC (rev 100)
+++ trunk/lib/message.class.php	2007-01-06 18:10:08 UTC (rev 101)
@@ -76,11 +76,11 @@
 
 		if($type == self::QUESTION)
 		{
-			parent::__construct(null, 0, $type, Gtk::BUTTONS_YES_NO);
+			parent::__construct(null, 0, $type, Gtk::BUTTONS_YES_NO, '');
 		}
 		else
 		{
-			parent::__construct(null, 0, $type, Gtk::BUTTONS_CLOSE);
+			parent::__construct(null, 0, $type, Gtk::BUTTONS_CLOSE, '');
 		}
 		$this->set_position(Gtk::WIN_POS_CENTER);
 		$this->set_title(CC::i18n('%s : %s', CC::$program, $title));