[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

gEDA-cvs: CVS update: x_log.nw



  User: pbernaud
  Date: 05/02/28 13:26:05

  Modified:    .        x_log.nw x_multiattrib.nw
  Log:
  Made the multiattrib dialog force a slot update when editing a slot
  
  attribute. Also fixed the raising of the log dialog.
  
  
  
  
  Revision  Changes    Path
  1.19      +2 -2      eda/geda/devel/gschem/noweb/x_log.nw
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: x_log.nw
  ===================================================================
  RCS file: /home/cvspsrv/cvsroot/eda/geda/devel/gschem/noweb/x_log.nw,v
  retrieving revision 1.18
  retrieving revision 1.19
  diff -u -b -r1.18 -r1.19
  --- x_log.nw	22 Feb 2005 18:03:00 -0000	1.18
  +++ x_log.nw	28 Feb 2005 18:26:04 -0000	1.19
  @@ -124,7 +124,7 @@
       gtk_widget_show (log_dialog);
     } else {
       g_assert (IS_LOG (log_dialog));
  -    gdk_window_raise ((GdkWindow*)log_dialog);
  +    gtk_window_present ((GtkWindow*)log_dialog);
     }
   
   }
  @@ -259,7 +259,7 @@
   static void
   log_class_init (LogClass *klass)
   {
  -  GObjectClass *gobject_class = G_OBJECT_CLASS (klass);
  +/*   GObjectClass *gobject_class = G_OBJECT_CLASS (klass); */
   	
   }
   
  
  
  
  1.21      +13 -0     eda/geda/devel/gschem/noweb/x_multiattrib.nw
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: x_multiattrib.nw
  ===================================================================
  RCS file: /home/cvspsrv/cvsroot/eda/geda/devel/gschem/noweb/x_multiattrib.nw,v
  retrieving revision 1.20
  retrieving revision 1.21
  diff -u -b -r1.20 -r1.21
  --- x_multiattrib.nw	27 Feb 2005 18:14:27 -0000	1.20
  +++ x_multiattrib.nw	28 Feb 2005 18:26:04 -0000	1.21
  @@ -760,6 +760,12 @@
     o_text_change (toplevel, o_attrib,
                    newtext, o_attrib->visibility, o_attrib->show_name_value);
     
  +  /* !! this code must be somewhere else !! */
  +  /* handle slot= attribute, it's a special case */
  +  if (g_ascii_strncasecmp (newtext, "slot=", 5) == 0) {
  +    o_slot_end (toplevel, newtext, strlen (newtext));
  +  }
  +  
     g_free (name);
     g_free (value);
     g_free (newtext);
  @@ -842,6 +848,13 @@
     /* actually modifies the attribute */
     o_text_change (toplevel, o_attrib,
                    newtext, o_attrib->visibility, o_attrib->show_name_value);
  +
  +  /* !! this code must be somewhere else !! */
  +  /* handle slot= attribute, it's a special case */
  +  if (g_ascii_strncasecmp (newtext, "slot=", 5) == 0) {
  +    o_slot_end (toplevel, newtext, strlen (newtext));
  +  }
  +  
     /* signals the modification of the row */
     gtk_tree_model_row_changed (model, path, &iter);