/[xlog]/xlog/src/callbacks_mainwindow_qsoframe.c
ViewVC logotype

Diff of /xlog/src/callbacks_mainwindow_qsoframe.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.12 by pa4tu, Wed May 11 21:29:15 2005 UTC revision 1.13 by pa4tu, Mon Jun 6 18:53:03 2005 UTC
# Line 469  on_locatorentry_changed (GtkEditable * e Line 469  on_locatorentry_changed (GtkEditable * e
469  }  }
470    
471  void  void
472  tv_insert (GtkTextBuffer *buffer, GtkTextIter *iter, gchar *text,  tv_changed (GtkTextBuffer *buffer, gpointer user_data)
         gint len, gpointer user_data)  
473  {  {
474          gint count;          gint count;
475            GtkTextIter start, end;
476    
477          count = gtk_text_buffer_get_char_count (buffer);          count = gtk_text_buffer_get_char_count (buffer);
478          if (count > 511)          if (count > 512)
479          {          {
480                  update_statusbar (_("Remarks > 512 characters !!"));                  update_statusbar (_("Warning, remarks line to long!!"));
481                  gdk_beep ();                  gdk_beep ();
482          }          }
483            gtk_text_buffer_get_bounds (buffer, &start, &end);
484            gtk_text_buffer_apply_tag_by_name (buffer, "tiny", &start, &end);
485  }  }

Legend:
Removed from v.1.12  
changed lines
  Added in v.1.13

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26