FACORAT Fabrice <[EMAIL PROTECTED]> writes:

> 1�/ drakboot not using stock icons for OK/Cancel/Configure on first page
> 
> 2�/ drakfloppy crash and eat 100% CPU. from console :
> 
> (drakfloppy:669): Gtk-CRITICAL **: file ../../gtk/gtktreestore.c: line
> 638 (gtk_tree_store_get_value): assertion `iter->stamp == GTK_TREE_STORE
> (tree_model)->stamp' failed
> [gperl_sv_from_value] FIXME: unhandled type - 0 ((null) fundamental for
> (null))
> 
> (drakfloppy:669): GLib-GObject-CRITICAL **: file gvalue.c: line 147
> (g_value_unset): assertion `G_IS_VALUE (value)' failed
already fixed in cvs:
Index: standalone/drakfloppy
===================================================================
RCS file: /cooker/gi/perl-install/standalone/drakfloppy,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -p -r1.33 -r1.34
--- standalone/drakfloppy	9 Jul 2003 16:01:00 -0000	1.33
+++ standalone/drakfloppy	10 Jul 2003 14:28:11 -0000	1.34
@@ -195,10 +195,10 @@ ugtk2->exit(0);
 
 sub toggle_expert_button() {
     if ($expert_mode) {
-        $expert_mod_frame->show;
+        $expert_mod_frame->set_sensitive(1);
         $expert_button->child->set(N("Normal Mode"));
     } else {
-        $expert_mod_frame->hide;
+        $expert_mod_frame->set_sensitive(0);
         $expert_button->child->set(N("Expert Mode"));
     }
 }
@@ -244,5 +244,6 @@ sub selected_tree {
     my $dir   = $tree_model->get($parent_iter, 1);
     print "K 1\n";
     my $child = $tree_model->iter_children($parent_iter);
+    return if !$child;
 
     #- hackish: if first child has '' as name, then we need to expand on the fly
> 3�/ drakautoinst not using stock icons
> 
> 4�/ sometimes in embedded mode, when you launch an apps, you have a
> white rectangle a the top taking half of the space so the tools is half
> sized. You need to stop and relaunch mcc to correct this. This arrives
> when you launch a mdktool after one. For example launch harddrake ->
> Quit -> re-harddrake  => half sized
> 
> 4�/ drakconnect not using stock icons. freeze + 100% cpu time when you
> click cancel
> 
> 5�/ unable to launch draksec. from console :
> Usage: Gtk2::Entry::new(class) at /usr/sbin/draksec line 121.

thanks, here's the fix:
Index: standalone/draksec
===================================================================
RCS file: /cooker/gi/perl-install/standalone/draksec,v
retrieving revision 1.61
diff -u -p -r1.61 draksec
--- standalone/draksec	23 May 2003 16:10:03 -0000	1.61
+++ standalone/draksec	10 Jul 2003 14:36:09 -0000
@@ -131,7 +131,7 @@ $notebook->append_page(gtkshow(gtkpack(n
                                                         [ new Gtk2::Label(N("Security Alerts:")), 
                                                           my $secadmin_check = new Gtk2::CheckButton ],
                                                         [ new Gtk2::Label(N("Security Administrator:")),
-                                                          my $secadmin_entry = new Gtk2::Entry($msec->get_check_value("MAIL_USER")) ]))),
+                                                          my $secadmin_entry = Gtk2::Entry->new_with_text($msec->get_check_value("MAIL_USER")) ]))),
                                new Gtk2::Label(N("Basic")));
                        
 $secadmin_check->set_active(1) if $msec->get_check_value("MAIL_WARN") eq "yes";
> 6�/ unable to launch timedrake :
> Can't locate auto/Gtk2/timeout_add.al in @INC (@INC contains:
> /usr/lib/libDrakX /usr/lib/perl5/5.8.0/i386-linux-thread-multi
> /usr/lib/perl5/5.8.0
> /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi
> /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl
> /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi
> /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl .) at
> /usr/sbin/clock.pl line 137

fixed but we now miss one widget:
Index: clock.pl
===================================================================
RCS file: /cooker/soft/control-center/clock.pl,v
retrieving revision 1.19
diff -u -p -u -u -u -r1.19 clock.pl
--- clock.pl	19 May 2003 15:23:59 -0000	1.19
+++ clock.pl	10 Jul 2003 14:38:29 -0000
@@ -89,7 +89,7 @@ $my_win->{window}->add(gtkpack_(Gtk2::VB
                                           gtksignal_connect(Gtk2::Button->new(N("Cancel")), clicked => sub { ugtk2->exit(0) }),
                                           $button_reset = gtksignal_connect(Gtk2::Button->new(N("Reset")), clicked => sub {
                                               $its_reset = 1;
-                                              $timer = Gtk2->timeout_add(120, \&update_time);
+                                              $timer = Glib::Timeout->add(120, \&update_time);
                                               Repaint($drawing_area, 1);
                                               $calendar->select_month($old_month, $old_year);
                                               $calendar->select_day($old_day);
@@ -134,7 +134,7 @@ $old_year += 1900;
 $calendar->select_month($old_month, $old_year);
 $calendar->select_day($old_day);
 $button_reset->set_sensitive(0);
-$timer = Gtk2->timeout_add(120, \&update_time);
+$timer = Glib::Timeout->add(120, \&update_time);
 
 $drawing_area->show;
 $my_win->main;
@@ -146,7 +146,7 @@ sub update_time() {
 };
 
 sub cal_changed() {
-    !$its_reset and $timer and Gtk2->timeout_remove($timer);
+    !$its_reset and $timer and Glib::Source->remove($timer);
     $button_reset->set_sensitive(1);
 }
 
@@ -161,7 +161,7 @@ sub changed() {
 }
 
 sub spinned() {
-    Gtk2->timeout_remove($timer);
+    Glib::Source->remove($timer);
     $button_reset->set_sensitive(1);
 
     my (undef, undef, undef, @values) = localtime(time());
@@ -174,7 +174,7 @@ sub motion_event {
     my ($widget, $event) = @_;
     $pressed or return;
     if ($first) {
-	Gtk2->timeout_remove($timer);
+	Glib::Source->remove($timer);
 	$Radian = determine_radian($event->x, $event->y);
 	$button_reset->set_sensitive(1);
     }
> 7�/ drakfont not using stock icons ( close )
> 
> 8�/ drakcronat not using stock icons. At the left side I have a
> blank button ( french locales )

this one needs quite some work :-(

Reply via email to