aboutsummaryrefslogtreecommitdiffstats
path: root/widgets
Commit message (Collapse)AuthorAgeFilesLines
* Dont grab_add anymore on the button, gtk_button is changed in gtk2 not toNot Zed2002-11-262-1/+6
| | | | | | | | | | 2002-11-26 Not Zed <NotZed@Ximian.com> * e-combo-button.c (impl_button_press_event): Dont grab_add anymore on the button, gtk_button is changed in gtk2 not to do this anymore. svn path=/trunk/; revision=18921
* commit clahey's original pango work.Chris Toshok2002-11-202-916/+392
| | | | | | | | 2002-11-19 Chris Toshok <toshok@ximian.com> * gal/e-text/e-text.[ch]: commit clahey's original pango work. svn path=/trunk/; revision=18850
* column_width = double. (e_reflow_realize): no need to cast to double,Chris Toshok2002-11-191-4/+4
| | | | | | | | | | | 2002-11-18 Chris Toshok <toshok@ximian.com> * gal/widgets/e-reflow.c (e_reflow_set_property): column_width = double. (e_reflow_realize): no need to cast to double, column_width is already a double. svn path=/trunk/; revision=18833
* take GCallback, not GtkSignalFunc. (configure_sort_dialog): show theChris Toshok2002-11-192-214/+19
| | | | | | | | | | | | | | | | | | 2002-11-18 Chris Toshok <toshok@ximian.com> * e-table-config.c (connect_button): take GCallback, not GtkSignalFunc. (configure_sort_dialog): show the custom widget. (configure_group_dialog): same. (configure_fields_dialog): same, also pass G_CALLBACK (func), instead of GTK_SIGNAL_FUNC (func), to connect_button. (setup_gui): pass G_CALLBACK (func), instead of GTK_SIGNAL_FUNC (func), to connect_button. * Makefile.am (glade_DATA): remove e-table-group.glade, since we don't use it anyplace. svn path=/trunk/; revision=18832
* we need to destroy the dialog after we've run it, because run doesn't doNot Zed2002-11-181-0/+1
| | | | | | | | | | 2002-11-18 Not Zed <NotZed@Ximian.com> * gal/widgets/e-gui-utils.c (e_notice): we need to destroy the dialog after we've run it, because run doesn't do it for us like gnome-dialog did. svn path=/trunk/; revision=18816
* convert this to wrap around GtkMessageDialog.Chris Toshok2002-11-171-6/+24
| | | | | | | | | | | | 2002-11-16 Chris Toshok <toshok@ximian.com> * gal/widgets/e-gui-utils.c (e_notice): convert this to wrap around GtkMessageDialog. * gal/widgets/e-categories-master-list-dialog.c (dialog_response): gnome_dialog_close -> gtk_widget_destroy. svn path=/trunk/; revision=18814
* convert some GnomeDialog stuff to GtkDialog.Chris Toshok2002-11-173-13/+11
| | | | | | | | | | | | | | 2002-11-16 Chris Toshok <toshok@ximian.com> * gal-view-instance.c: convert some GnomeDialog stuff to GtkDialog. * gal-view-instance-save-as-dialog.c: remove GnomeDialog references. * gal-view-new-dialog.c: same. svn path=/trunk/; revision=18813
* fix c&p typo.Chris Toshok2002-11-175-223/+185
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-11-16 Chris Toshok <toshok@ximian.com> * gal/widgets/e-reflow.c (e_reflow_class_init): fix c&p typo. * gal/widgets/e-categories-master-list-dialog.c: switch to GtkDialogism's. * gal/widgets/gal-categories.[ch]: same. * gal/widgets/e-categories-master-list-dialog.glade: libglade-convert. * gal/widgets/e-categories.glade: same. * gal/util/e-text-event-processor.[ch]: subclass this from GObject. * gal/util/e-text-event-processor-emacs-like.[ch]: clean up the gtk cruft a bit. * gal/e-text/e-text.c (_get_tep): remove the _sink call. (e_text_init): same. * gal/e-text/e-text-model.[ch]: subclass this from GObject instead of GtkObject. svn path=/trunk/; revision=18808
* check for table->table_canvas == NULL.Chris Toshok2002-11-172-15/+19
| | | | | | | | | | | 2002-11-16 Chris Toshok <toshok@ximian.com> * e-table.c (set_scroll_adjustments): check for table->table_canvas == NULL. * e-table-item.c (eti_dispose): guard eti->tooltip. svn path=/trunk/; revision=18807
* fix c&p typo.Chris Toshok2002-11-171-1/+1
| | | | | | | | 2002-11-16 Chris Toshok <toshok@ximian.com> * gal/widgets/e-reflow.c (e_reflow_class_init): fix c&p typo. svn path=/trunk/; revision=18806
* GObject port work.Chris Toshok2002-11-1769-4140/+4783
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-11-16 Chris Toshok <toshok@ximian.com> * e-cell-checkbox.[ch]: GObject port work. * e-cell-combo.[ch]: same. * e-cell-date.[ch]: same. * e-cell-float.[ch]: same. * e-cell-number.[ch]: same. * e-cell-pixbuf.[ch]: same. * e-cell-popup.[ch]: same. * e-cell-progress.[ch]: same. * e-cell-size.[ch]: same. * e-cell-spin-button.[ch]: same. * e-cell-text.[ch]: same. * e-cell-toggle.[ch]: same. * e-cell-tree.[ch]: same. * e-cell-vbox.[ch]: same. * e-cell.[ch]: same. * e-table-col.c: same. * e-table-column.c: same. * e-table-config-field.[ch]: same. * e-table-config.c: same. * e-table-config.glade: same. * e-table-field-chooser-dialog.[ch]: same. * e-table-field-chooser-item.[ch]: same. * e-table-field-chooser.[ch]: same. * e-table-group-container.[ch]: same. * e-table-group-leaf.[ch]: same. * e-table-group.[ch]: same. * e-table-header-item.[ch]: same. * e-table-header-utils.[ch]: same. * e-table-header.c: same. * e-table-item.[ch]: same. * e-table-scrolled.[ch]: same. * e-table-utils.c: same. * e-table.[ch]: same. * e-tree-memory-callbacks.h: same. * e-tree-scrolled.[ch]: same. * e-tree-sorted-variable.c: same. * e-tree.[ch]: same. * test-check.c: same. * test-cols.c: same. * test-table.c: same. svn path=/trunk/; revision=18801
* Lots of GObject work.Chris Toshok2002-11-1717-1249/+1404
| | | | | | | | | | | | | | | | | | | | | | | | 2002-11-16 Chris Toshok <toshok@ximian.com> * gal/e-text/e-completion-test.c: Lots of GObject work. * gal/e-text/e-completion-view.[ch]: same. * gal/e-text/e-completion.[ch]: same. * gal/e-text/e-entry.[ch]: same. * gal/e-text/e-table-text-model.[ch]: same. * gal/e-text/e-text-model-uri.[ch]: same. * gal/e-text/e-text-model.[ch]: same. * gal/e-text/e-text-test.c: same. * gal/e-text/e-text.[ch]: same. svn path=/trunk/; revision=18800
* GtkObject->Gobject and GnomeDialog->GtkDialog work.Chris Toshok2002-11-174-208/+252
| | | | | | | | | | | | | 2002-11-16 Chris Toshok <toshok@ximian.com> * gal-view-instance-save-as-dialog.c: GtkObject->Gobject and GnomeDialog->GtkDialog work. * gal-view-new-dialog.[ch]: same. * gal-view-new-dialog.dialog: same. svn path=/trunk/; revision=18799
* lots of GObject work.Chris Toshok2002-11-1712-486/+508
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-11-16 Chris Toshok <toshok@ximian.com> * gal/widgets/color-group.c: lots of GObject work. * gal/widgets/color-palette.[ch]: same. * gal/widgets/e-canvas-backgruond.[ch]: same. * gal/widgets/e-canvas-vbox.[ch]: same. * gal/widgets/e-canvas.[ch]: same. * e-categories-master-list-array.[ch]: same. * e-categories-master-list-combo.[ch]: same. * e-categories-master-list-dialog-model.[ch]: same. * e-categories-master-list-dialog.[ch]: same. * e-categories-master-list-option-menu.[ch]: same. * e-categories-master-list.[ch]: same. * e-categories.[ch]: same. * e-file-selection.[ch]: same. * e-gui-utils.c: same. * e-hscrollbar.[ch]: same. * e-option-menu.[ch]: same. * e-popup-menu.[ch]: same. * e-printable.[ch]: same. * e-reflow-sorted.[ch]: same. * e-reflow.[ch]: same. * e-scroll-frame.[ch]: same. * e-vscrollbar.[ch]: same. * gtk-combo-box.[ch]: same. * gtk-combo-stack.[ch]: same. * gtk-combo-text.[ch]: same. * test-e-font.c: same. * widget-color-combo.[ch]: same. * widget-pixmap-combo.[ch]: same. svn path=/trunk/; revision=18798
* new function, build pango layout for string.Chris Toshok2002-11-163-53/+84
| | | | | | | | | | | | | 2002-11-15 Chris Toshok <toshok@ximian.com> * e-clipped-label.c (build_layout): new function, build pango layout for string. (e_clipped_label_size_request): pango-ize this, make the size requested dependent on the label. (e_clipped_label_expose): pango-ize this. (e_clipped_label_recalc_chars_displayed): pango-ize this. svn path=/trunk/; revision=18784
* (esma_dispose): g_object_unref() instead of gtk_object_unref().Ettore Perazzoli2002-11-161-1/+1
| | | | | | | (esma_dispose): g_object_unref() instead of gtk_object_unref(). svn path=/trunk/; revision=18779
* fix typo.Chris Toshok2002-11-151-2/+2
| | | | | | | | 2002-11-14 Chris Toshok <toshok@ximian.com> * e-table-header-item.c (ethi_popup_customize_view): fix typo. svn path=/trunk/; revision=18777
* ETableConfig derives from GObject (fix warnings).Chris Toshok2002-11-154-70/+82
| | | | | | | | | | | | | 2002-11-14 Chris Toshok <toshok@ximian.com> * e-table-header-item.c (ethi_popup_customize_view): ETableConfig derives from GObject (fix warnings). * e-table.c: deal with ESorter deriving from GObject. * e-table-sorter.[ch]: this derives from GObject now. svn path=/trunk/; revision=18775
* deal with EBitArray/ESorter being a GObject now.Chris Toshok2002-11-152-2/+2
| | | | | | | | | | | | | | | | | 2002-11-14 Chris Toshok <toshok@ximian.com> * gal/widgets/e-selection-model-array.c: deal with EBitArray/ESorter being a GObject now. * gal/widgets/e-selection-model-simple.c: same. * gal/util/e-bit-array.[ch]: this derives from GObject now. * gal/util/e-sorter.[ch]: same. * gal/util/e-sorter-array.[ch]: same. svn path=/trunk/; revision=18774
* deal with ESelectionModel no longer deriving from GtkObject.Chris Toshok2002-11-1510-359/+394
| | | | | | | | | | | | | | | | | | | | | | 2002-11-14 Chris Toshok <toshok@ximian.com> * e-table-item.c: deal with ESelectionModel no longer deriving from GtkObject. * e-table.c: same. * e-tree.c: same. * e-table-config.c (do_fields_config_dialog): use GtkDialog's reponse instead of GnomeDialog's button. * e-table-click-to-add.[ch]: GObjectify this. * e-table-selection-model.[ch]: this derives from GObject now. * e-tree-selection-model.[ch]: same. svn path=/trunk/; revision=18773
* this derives from GObject now.Chris Toshok2002-11-159-296/+312
| | | | | | | | | | | | | | | | | 2002-11-14 Chris Toshok <toshok@ximian.com> * gal/widgets/e-selection-model.[ch]: this derives from GObject now. * gal/widgets/e-selection-model-simple.[ch]: same. * gal/widgets/e-selection-model-array.[ch]: same. * gal/widgets/e-reflow-model.[ch]: same. * gal/widgets/e-reflow.c: fix all references to EReflowModel such that it's a GObject, not a GtkObject. svn path=/trunk/; revision=18772
* use GtkDialog's ::response instead of GnomeDialog's ::clicked.Chris Toshok2002-11-152-5/+12
| | | | | | | | | | | 2002-11-14 Chris Toshok <toshok@ximian.com> * menus/gal-view-menus.c (define_views): use GtkDialog's ::response instead of GnomeDialog's ::clicked. (dialog_response): use response id's. (gvm_finalize): fix warning. svn path=/trunk/; revision=18768
* hrm, we shouldn't need to do this, but gtk_widget_show_all the customChris Toshok2002-11-151-0/+1
| | | | | | | | | | 2002-11-14 Chris Toshok <toshok@ximian.com> * gal-define-views-dialog.c (gal_define_views_dialog_init): hrm, we shouldn't need to do this, but gtk_widget_show_all the custom widget so it actually shows up. svn path=/trunk/; revision=18767
* this subclasses from GObject now, not GtkObject. don't use GtkObjectChris Toshok2002-11-156-3922/+3925
| | | | | | | | | | | | | | | | | | 2002-11-14 Chris Toshok <toshok@ximian.com> * e-table-without.[ch]: this subclasses from GObject now, not GtkObject. don't use GtkObject (especially casts to it) inside the code. * e-table-config-no-group.glade: libglade-convert. * e-table-config.glade: same. * e-table-field-chooser.glade: same. * e-table-group.glade: same. svn path=/trunk/; revision=18766
* New. (e_clipped_label_destroy): Removed.Ettore Perazzoli2002-11-153-13/+22
| | | | | | | | | | | | * e-clipped-label.c (e_clipped_label_finalize): New. (e_clipped_label_destroy): Removed. * e-title-bar.c (destroy): Removed. (impl_finalize): New. (class_init): Install GObject::finalize handler instead of GtkObject::destroy handler. svn path=/trunk/; revision=18761
* Changed to use g_object_*() and g_signal_*()Ettore Perazzoli2002-11-152-47/+70
| | | | | | | | | | functions instead of gtk_object_*() and gtk_signal_*(). (destroy): Removed. (dispose): New. (class_init): Install GObject::dispose handler instead of GtkObject::destroy handler. svn path=/trunk/; revision=18753
* add more marshallers for e-table.Chris Toshok2002-11-141-160/+177
| | | | | | | | 2002-11-13 Chris Toshok <toshok@ximian.com> * gal/util/e-marshal.list: add more marshallers for e-table. svn path=/trunk/; revision=18750
* more porting work.Chris Toshok2002-11-1414-1098/+971
| | | | | | | | | | | | | | | | | | | | | | | | | | 2002-11-13 Chris Toshok <toshok@ximian.com> * gal-define-views-dialog.[ch]: more porting work. * gal-define-views-model.[ch]: same. * gal-view-etable.c: same. * gal-view-factory-etable.c: same. * gal-view-instance-save-as-dialog.[ch]: same. * gal-view-instance.c: same. * gal-view-new-dialog.[ch]: same. * gal-define-views.glade: convert to glade2. * gal-view-instance-save-as-dialog.glade: same. * gal-view-new-dialog.glade: same. svn path=/trunk/; revision=18749
* menus/gal-view-menus.h GObjectified.Ettore Perazzoli2002-11-145-98/+98
| | | | | | | | | | * menus/gal-view-menus.h * menus/gal-view-menus.c: GObjectified. * e-timezone-dialog/e-timezone-dialog.h * e-timezone-dialog/e-timezone-dialog.c: GObjectified. svn path=/trunk/; revision=18747
* start porting to GObject.Chris Toshok2002-11-1412-375/+235
| | | | | | | | | | | | | | | | | | | | 2002-11-13 Chris Toshok <toshok@ximian.com> * gal-view-collection.[ch]: start porting to GObject. * gal-view-etable.[ch]: same. * gal-view-factory-etable.[ch]: same. * gal-view-factory.[ch]: same. * gal-view-factory.[ch]: same. * gal-view-instance.[ch]: same. * gal-view.[ch]: same. svn path=/trunk/; revision=18745
* Converted to Glade 2.Ettore Perazzoli2002-11-142-244/+263
| | | | svn path=/trunk/; revision=18740
* gnome-xml->libxmlNot Zed2002-11-133-3/+9
| | | | | | | | | | 2002-11-13 Not Zed <NotZed@Ximian.com> * menus/gal-view-menus.c: gnome-xml->libxml * menus/gal-view-menus.h: gnome-xml->libxml svn path=/trunk/; revision=18734
* only clear choices if cv->choices != NULL. (e_completion_view_disconnect):Chris Toshok2002-11-121-3/+6
| | | | | | | | | | 2002-11-11 Chris Toshok <toshok@ximian.com> * gal/e-text/e-completion-view.c (e_completion_view_destroy): only clear choices if cv->choices != NULL. (e_completion_view_disconnect): zero out cancel_signal_id. svn path=/trunk/; revision=18718
* port to GObject.Chris Toshok2002-11-123-101/+106
| | | | | | | | 2002-11-11 Chris Toshok <toshok@ximian.com> * e-dateedit.[ch]: port to GObject. svn path=/trunk/; revision=18717
* (init): Use GObject functions instead ofEttore Perazzoli2002-11-122-16/+18
| | | | | | GtkObject throughout. svn path=/trunk/; revision=18706
* Replace gtk_object_(un)?ref() with g_object_(un)?ref(). Likewise.Ettore Perazzoli2002-11-126-20/+20
| | | | | | | | | | | | | | | | | | | | | * gal/widgets/color-palette.c: Replace gtk_object_(un)?ref() with g_object_(un)?ref(). * gal/widgets/e-canvas-utils.c: Likewise. * gal/widgets/e-canvas.c: Likewise. * gal/widgets/e-categories-master-list-combo.c: Likewise. * gal/widgets/e-categories-master-list-dialog-model.c: Likewise. * gal/widgets/e-categories-master-list-dialog.c: Likewise. * gal/widgets/e-categories-master-list-option-menu.c: Likewise. * gal/widgets/e-categories.c: Likewise. * gal/widgets/e-gui-utils.c: Likewise. * gal/widgets/e-popup-menu.c: Likewise. * gal/widgets/e-reflow-sorted.c: Likewise. * gal/widgets/e-reflow.c: Likewise. * gal/widgets/e-selection-model.c: Likewise. * gal/widgets/gtk-combo-box.c: Likewise. * gal/widgets/widget-pixmap-combo.c: Likewise. svn path=/trunk/; revision=18705
* Forgot two more gtk_object_(un)?ref()s.Ettore Perazzoli2002-11-122-4/+4
| | | | svn path=/trunk/; revision=18703
* Replace gtk_object_(un)?ref() with g_object_(un)?ref(). Likewise.Ettore Perazzoli2002-11-1212-67/+67
| | | | | | | | | | | | | | | | | | * gal/e-table/e-cell-popup.c: Replace gtk_object_(un)?ref() with g_object_(un)?ref(). * gal/e-table/e-cell-text.c: Likewise. * gal/e-table/e-cell-tree.c: Likewise. * gal/e-table/e-cell-vbox.c: Likewise. * gal/e-table/e-table-click-to-add.c: Likewise. * gal/e-table/e-table-config-field.c: Likewise. * gal/e-table/e-table-field-chooser-dialog.c: Likewise. * gal/e-table/e-table-field-chooser-item.c: Likewise. * gal/e-table/e-table-field-chooser.c: Likewise. * gal/e-table/e-table-group-container.c: Likewise. * gal/e-table/e-table-item.c: Likewise. * gal/e-table/e-table-without.c: Likewise. svn path=/trunk/; revision=18702
* Removed. (impl_finalize): New. (class_init): Override GObject::finalize,Ettore Perazzoli2002-11-124-43/+56
| | | | | | | | | | | | | | | * e-multi-config-dialog.c (impl_destroy): Removed. (impl_finalize): New. (class_init): Override GObject::finalize, not GtkObject::destroy. * e-config-page.c (impl_destroy): Removed. (impl_finalize): New. (class_init): Override GObject::finalize, not GtkObject::destroy. * e-multi-config-dialog.c: Converted to a GtkDialog subclass [instead of GnomeDialog]. svn path=/trunk/; revision=18696
* correct the GET_CLASS macro.Chris Toshok2002-11-096-6/+6
| | | | | | | | | | | | | | | | | | 2002-11-08 Chris Toshok <toshok@ximian.com> * e-table-memory-store.h: correct the GET_CLASS macro. * e-table-one.h: same. * e-table-sorted.h: same. * e-table-subset.h: same. * e-tree-sorted-variable.h: same. * e-tree-table-adapter.h: same. svn path=/trunk/; revision=18680
* include gnome-dialogJP Rosevear2002-11-082-0/+5
| | | | | | | | 2002-11-07 JP Rosevear <jpr@ximian.com> * e-filter-bar.c: include gnome-dialog svn path=/trunk/; revision=18649
* ignore the generated marshal source.Chris Toshok2002-11-076-132/+182
| | | | | | | | | | | | | | 2002-11-06 Chris Toshok <toshok@ximian.com> * .cvsignore: ignore the generated marshal source. * Makefile.am: add marshal stuff. * e-util-marshal.list: marshaller list. * e-search-bar.[ch]: gobjectify this. svn path=/trunk/; revision=18627
* remove duplicate g_signal_new for column_width_changed.Chris Toshok2002-11-071-8/+0
| | | | | | | | | 2002-11-06 Chris Toshok <toshok@ximian.com> * gal/widgets/e-reflow.c (e_reflow_class_init): remove duplicate g_signal_new for column_width_changed. svn path=/trunk/; revision=18621
* GObjectify GObjectifyMike Kestner2002-11-064-63/+55
| | | | | | | | | 2002-11-05 Mike Kestner <mkestner@ximian.com> * e-table-sorted-variable.[ch] : GObjectify * e-tree-sorted-variable.[ch] : GObjectify svn path=/trunk/; revision=18573
* remove ref/unref G_OBJECT masks ditto ditto ditto ditto ditto ditto dittoMike Kestner2002-11-069-63/+63
| | | | | | | | | | | | | | | | 2002-11-05 Mike Kestner <mkestner@ximian.com> * e-cell-text.c : remove ref/unref G_OBJECT masks * e-table-extras.c : ditto * e-table-header-item.c : ditto * e-table-item.c : ditto * e-table-memory-store.c : ditto * e-table-one.c : ditto * e-tree-sorted.c : ditto * e-tree-table-adapter.c : ditto * e-tree.c : ditto svn path=/trunk/; revision=18572
* GObjectify GObjectify GObjectify use GObject api for models use GObjectMike Kestner2002-11-0624-767/+563
| | | | | | | | | | | | | | | | | | | | | | | 2002-11-05 Mike Kestner <mkestner@ximian.com> * e-table-col.[ch] : GObjectify * e-table-column-specification.[ch] : GObjectify * e-table-config.[ch] : GObjectify * e-table-group-leaf.c : use GObject api for models * e-table-group.c : use GObject api for models * e-table-header-item.c : use GObject api for models * e-table-header.c : use GObject api for models * e-table-selection-model.c : use GObject api for models * e-table-sort-info.[ch] : GObjectify * e-table-sorted.[ch] : GObjectify * e-table-sorter.c : use GObject api for models * e-table-specification.c : use GObject api for models * e-table-state.[ch] : GObjectify * e-table-subset-variable.[ch] : GObjectify * e-table-subset.[ch] : GObjectify * e-table.c : use GObject api for models svn path=/trunk/; revision=18571
* use GObject api for models GObjectify GObjectify GObjectify GObjectifyMike Kestner2002-11-0526-867/+623
| | | | | | | | | | | | | | | | | | | | | 2002-11-05 Mike Kestner <mkestner@ximian.com> * e-table-item.c : use GObject api for models * e-table-memory-callbacks.[ch] : GObjectify * e-table-memory-store.[ch] : GObjectify * e-table-memory.[ch] : GObjectify * e-table-model.[ch] : GObjectify * e-table-one.[ch] : GObjectify * e-table-simple.[ch] : GObjectify * e-tree-memory.[ch] : GObjectify * e-tree-model.[ch] : GObjectify * e-tree-selection-model.c : use GObject api for models * e-tree-simple.[ch] : GObjectify * e-tree-sorted.[ch] : GObjectify * e-tree-table-adapter.[ch] : GObjectify * e-tree.c : use GObject api for models svn path=/trunk/; revision=18553
* use GObject api for ETableHeader use GObject api on ETableHeaderMike Kestner2002-11-0515-327/+297
| | | | | | | | | | | | | | | | | | 2002-11-04 Mike Kestner <mkestner@ximian.com> * e-table-group.c : use GObject api for ETableHeader * e-table-header-item.c : use GObject api on ETableHeader * e-table-header.[ch] : GObjectify * e-table-item.c : use GObject api on ETableHeader * e-table-search.[ch] : GObjectify * e-table-sorted.c : use GObject api for ETableHeader * e-table-sorter.c : use GObject api for ETableHeader * e-table-specification.[ch] : GObjectify * e-table-utils.c : use GObject api for ETableHeader * e-tree-sorted.c : use GObject api for ETableHeader * e-tree.c : use GObject api on Header, Spec, and Search svn path=/trunk/; revision=18531
* (impl_expose_event): UseEttore Perazzoli2002-11-042-1/+6
| | | | | | gtk_container_propagate_expose(). svn path=/trunk/; revision=18526
* (e_timezone_dialog_get_builtin_timezone): Constify argEttore Perazzoli2002-11-043-2/+8
| | | | | | display_name. svn path=/trunk/; revision=18508
* First big sync of my GNOME 2 porting work (incomplete, and stillEttore Perazzoli2002-11-0232-255/+328
| | | | | | | | pretty broken). Weeeeee! svn path=/trunk/; revision=18503
* gobjectify ETableExtras is now a GObject (e_tree_class_init): removeMike Kestner2002-11-023-35/+18
| | | | | | | | | | 2002-11-01 Mike Kestner <mkestner@ximian.com> * e-table-extras : gobjectify * e-tree.c (et_real_construct): ETableExtras is now a GObject (e_tree_class_init): remove duplicated signals svn path=/trunk/; revision=18490
* merging the gal-2 branch back to the trunk.Mike Kestner2002-11-01172-2868/+1945
| | | | | | merging the gal-2 branch back to the trunk. svn path=/trunk/; revision=18471
* Emit a search_activated signal. (e_search_bar_set_item_id): Revert toJeffrey Stedfast2002-10-292-3/+9
| | | | | | | | | 2002-10-28 Jeffrey Stedfast <fejj@ximian.com> * e-search-bar.c (clear_search): Emit a search_activated signal. (e_search_bar_set_item_id): Revert to original implementation. svn path=/trunk/; revision=18464
* add prototypes for the _change* functions.Chris Toshok2002-10-252-19/+160
| | | | | | | | | | | | | | | | | | 2002-10-24 Chris Toshok <toshok@ximian.com> * e-table-memory-store.h: add prototypes for the _change* functions. * e-table-memory-store.c (e_table_memory_store_change_array): new function, mostly c&p from _insert_array. (e_table_memory_store_change): new function, mostly c&p from _insert. (e_table_memory_store_change_adopt_array): new function, mostly c&p from _insert_adopt_array. (e_table_memory_store_change_adopt): new function, mostly c&p from _insert_adopt. svn path=/trunk/; revision=18432
* call e_tree_state_changeMike Kestner2002-10-251-0/+2
| | | | | | | | 2002-10-24 Mike Kestner <mkestner@ximian.com> * e-tree.c (e_tree_set_state_object): call e_tree_state_change svn path=/trunk/; revision=18428
* If the clear button was pressed, we want the entry to be sensitive (notJeffrey Stedfast2002-10-245-24/+31
| | | | | | | | | | | | | | | | | 2002-10-23 Jeffrey Stedfast <fejj@ximian.com> * e-filter-bar.c (option_changed): If the clear button was pressed, we want the entry to be sensitive (not insensitive). * e-search-bar.c (e_search_bar_set_item_id): If the item id is CLEAR_ID, we want to select the first item (0) but still set the esb->item_id to CLEAR_ID. (set_find_now_sensitive): Don't bother getting the GtkEntry text, we don't even use it? (clear_search): Set the item id as E_SEARCHBAR_CLEAR_ID rather than 0 so that it can be checked for. svn path=/trunk/; revision=18421
* (activate_by_subitems): gtk_widget_grab_focus()Ettore Perazzoli2002-10-242-0/+11
| | | | | | on the entry when adding it in. svn path=/trunk/; revision=18418
* don't emit a signal if we couldn't find the view rowJP Rosevear2002-10-221-2/+4
| | | | | | | | | 2002-10-18 JP Rosevear <jpr@ximian.com> * e-table-item.c (eti_cursor_activated): don't emit a signal if we couldn't find the view row svn path=/trunk/; revision=18405
* Don't include the byte reserved for the nul in the outleft size.Jeffrey Stedfast2002-10-171-17/+25
| | | | | | | | | | | | | | 2002-10-16 Jeffrey Stedfast <fejj@ximian.com> * gal/widgets/e-unicode.c (e_utf8_from_gtk_string_sized): Don't include the byte reserved for the nul in the outleft size. (e_utf8_from_iconv_string_sized): Same. (e_utf8_to_iconv_string_sized): Here too, but also make sure we pad the end of the resulting string with enough nul bytes (4) so that even multi-byte charsets are terminated correctly. (e_utf8_to_gtk_string_sized): Again here. svn path=/trunk/; revision=18377
* check if the selection fits in the leftover daysJP Rosevear2002-10-162-4/+28
| | | | | | | | | 2002-10-11 JP Rosevear <jpr@ximian.com> * e-calendar-item.c (e_calendar_item_ensure_days_visible): check if the selection fits in the leftover days svn path=/trunk/; revision=18368
* call drop_timeoutMike Kestner2002-10-041-2/+1
| | | | | | | | 2002-10-02 Mike Kestner <mkestner@ximian.com> * e-table-search.c (e_table_search_destroy): call drop_timeout svn path=/trunk/; revision=18319
* [Add a small delay to the switching of pages in the multi-configEttore Perazzoli2002-10-012-10/+56
| | | | | | | | | | | | | | | | | dialog. This makes keyboard navigation slightly nicer, and also happens to fix mysterious bug #28931.] New constant SWITCH_PAGE_INTERVAL. New members set_page_timeout_id and set_page_timeout_page in EMultiConfigDialogPrivate. (init): Initialize new member variables. (table_cursor_change_callback): Set up a timeout instead of switching right away. (set_page_timeout_callback): Timeout function to switch page after a small delay. (impl_destroy): Remove a pending timeout. svn path=/trunk/; revision=18267
* use the fg color array in style, not text color. Change requested by ChrisMike Kestner2002-09-281-2/+2
| | | | | | | | | 2002-09-27 Mike Kestner <mkestner@ximian.com> * e-table-item.c (eti_get_cell_foreground_color): use the fg color array in style, not text color. Change requested by Chris Lahey. svn path=/trunk/; revision=18256
* Ooops.Ettore Perazzoli2002-09-281-4/+3
| | | | svn path=/trunk/; revision=18247
* (create_page_container): Don't set upEttore Perazzoli2002-09-282-0/+7
| | | | | | the description label here. svn path=/trunk/; revision=18243
* add the gtk2 keypad entries (resync with gdk).Larry Ewing2002-09-251-10/+34
| | | | | | | | | 2002-09-25 Larry Ewing <lewing@ximian.com> * gal/widgets/e-unicode.c: add the gtk2 keypad entries (resync with gdk). svn path=/trunk/; revision=18212
* New api to set the search column on a tree without having to set a sortMike Kestner2002-09-242-0/+23
| | | | | | | | | 2002-09-24 Mike Kestner <mkestner@ximian.com> * e-tree.c (e_tree_set_search_column): New api to set the search column on a tree without having to set a sort column. svn path=/trunk/; revision=18193
* Clear search by setting text to "" and search to first search.Not Zed2002-09-243-12/+17
| | | | | | | | | | | | | | | | 2002-09-24 Not Zed <NotZed@Ximian.com> * e-search-bar.c (clear_search): Clear search by setting text to "" and search to first search. * e-filter-bar.c (option_changed): Revert change of 2002-08-29 below, always do advanced search if we have the advanced id. Handle clear elsewhere. (menubar_activated): If we get the advanced menu, set the advanced option menu, and let that handle it, rather than doing it ourselves. For #31060 & #29625. svn path=/trunk/; revision=18191
* Fix some non-ANSI switch statements.Dan Winship2002-09-232-2/+7
| | | | | | * e-filter-bar.c: Fix some non-ANSI switch statements. svn path=/trunk/; revision=18155
* Set the selection model's selection_mode after setting the table model, orDan Winship2002-09-201-5/+2
| | | | | | | | | * e-table.c (et_real_construct): Set the selection model's selection_mode after setting the table model, or things will break in the GTK_SELECTION_SINGLE case if the table doesn't start out empty. svn path=/trunk/; revision=18121
* guard against NULL nodes.Mike Kestner2002-09-201-0/+1
| | | | | | | | 2002-09-18 Mike Kestner <mkestner@ximian.com> * e-tree-model.c (e_tree_model_is_expandable): guard against NULL nodes. svn path=/trunk/; revision=18118
* exit editing on dblclick. ungrab based on grabbed_count. unset grabbed_colMike Kestner2002-09-181-7/+8
| | | | | | | | | | 2002-09-17 Mike Kestner <mkestner@ximian.com> * gal/e-table/e-table-item.c (eti_event): exit editing on dblclick. ungrab based on grabbed_count. unset grabbed_col and grabbed_row on ungrab. svn path=/trunk/; revision=18089
* forgot to commit the po stuff from the release. also bumped the so number.Mike Kestner2002-09-111-1/+1
| | | | | | | | | | | | forgot to commit the po stuff from the release. also bumped the so number. 2002-09-10 Mike Kestner <mkestner@ximian.com> * gal/e-table/e-table-item.c (eti_event): allow keypress handling for cursor_col==-1 as long as cursor_row isn't -1 also so that e-tree searching works without click focusing an item. svn path=/trunk/; revision=18038
* take a clip_height and use it to set the maximum number of lines ifJP Rosevear2002-09-111-20/+15
| | | | | | | | | | 2002-09-10 JP Rosevear <jpr@ximian.com> * gal/e-text/e-text.c (line_splitter): take a clip_height and use it to set the maximum number of lines if necessary (split_into_lines): pass clip_height arg svn path=/trunk/; revision=18032
* need to make the find now button sensitive when you select something fromChris Toshok2002-08-302-0/+7
| | | | | | | | | 2002-08-29 Chris Toshok <toshok@ximian.com> * e-search-bar.c (subitem_activated_cb): need to make the find now button sensitive when you select something from a submenu. svn path=/trunk/; revision=17931
* kill a return that caused selection ranges to not emit selection_changedMike Kestner2002-08-301-1/+0
| | | | | | | | | | 2002-08-29 Mike Kestner <mkestner@ximian.com> * gal/widgets/e-selection-model-array.c : kill a return that caused selection ranges to not emit selection_changed if the end index only changed by 1. svn path=/trunk/; revision=17930
* If the item is ADVANCED_ID, check the query and efb->setquery to seePeter Williams2002-08-302-1/+14
| | | | | | | | | | 2002-08-29 Peter Williams <peterw@ximian.com> * e-filter-bar.c (option_changed): If the item is ADVANCED_ID, check the query and efb->setquery to see whether we should pop up the advanced dialog or clear an advanced search. Fixes #29625. svn path=/trunk/; revision=17923
* Don't set the item id; clear search isn't in the menu anymore. FixesPeter Williams2002-08-242-1/+5
| | | | | | | | | 2002-08-21 Peter Williams <peterw@ximian.com> * e-search-bar.c (clear_search): Don't set the item id; clear search isn't in the menu anymore. Fixes #29211. svn path=/trunk/; revision=17849
* don't adjust for two digit dates here, the e_time_parse routines do thatJP Rosevear2002-08-223-23/+5
| | | | | | | | | 2002-08-22 JP Rosevear <jpr@ximian.com> * e-dateedit.c (e_date_edit_parse_date): don't adjust for two digit dates here, the e_time_parse routines do that now svn path=/trunk/; revision=17834
* ref/unref the gvmMike Kestner2002-08-152-0/+8
| | | | | | | | 2002-08-15 Mike Kestner <mkestner@ximian.com> * menus/gal-view-menus.c (build_stuff): ref/unref the gvm svn path=/trunk/; revision=17780
* And finally here.Jeffrey Stedfast2002-08-074-74/+6
| | | | | | | | | | | | | | | | | | | 2002-08-06 Jeffrey Stedfast <fejj@ximian.com> * e-tree-table-adapter.c (e_tree_table_adapter_save_expanded_state): And finally here. * e-table-state.c (e_table_state_save_to_file): Same here. * e-table-specification.c (e_table_specification_save_to_file): No need to save to a temp file first here either since e_xml_save_file now does that for us. * e-table.c (e_table_save_specification): No need to handle writing to a temp file first anymore, since I've updated e_xml_save_file() to handle that for us. svn path=/trunk/; revision=17724
* #include <string.h> for memsetJeffrey Stedfast2002-08-075-21/+125
| | | | | | | | | | | | | | | | | | | | 2002-08-06 Jeffrey Stedfast <fejj@ximian.com> * e-cell-progress.c: #include <string.h> for memset * e-table.c (e_table_save_specification): Updated to use e_xml_save_file() instead of xmlSaveFile(). Also fixed to save to a tmp file first. * e-table-specification.c (e_table_specification_save_to_file): Same as above. * e-table-state.c (e_table_state_save_to_file): Same here. * e-tree-table-adapter.c (e_tree_table_adapter_save_expanded_state): And here too. svn path=/trunk/; revision=17717
* Set the query text into the filter name when saving it, for #10979.Not Zed2002-08-062-2/+13
| | | | | | | | | 2002-08-06 Not Zed <NotZed@Ximian.com> * e-filter-bar.c (menubar_activated): Set the query text into the filter name when saving it, for #10979. svn path=/trunk/; revision=17710
* Add missing cast. (e_calendar_item_signal_emission_idle_cb): Likewise.Ettore Perazzoli2002-07-244-4/+14
| | | | | | | | | | | | | | * e-calendar-item.c (e_calendar_item_signal_emission_idle_cb): Add missing cast. (e_calendar_item_signal_emission_idle_cb): Likewise. * e-search-bar.c (init): Don't initialize dropdown_menu here anymore since we got rid of it. * e-search-bar.h (struct _ESearchBar): Removed member dropdown_menu. svn path=/trunk/; revision=17567
* (item_key_press): In the case of '-' and '=', checkEttore Perazzoli2002-07-241-0/+6
| | | | | | that no non-Shift modifier is pressed. svn path=/trunk/; revision=17556
* Also perform a search on the query_changed signal, which is what getsPeter Williams2002-07-244-38/+74
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-07-22 Peter Williams <peterw@ximian.com> * folder-browser.c (folder_browser_gui_init): Also perform a search on the query_changed signal, which is what gets emitted when the Search menu is used. 2002-07-22 Peter Williams <peterw@ximian.com> * e-filter-bar.c (do_advanced): Break out the code for creating the advanced rule editor into a separate function, so that... (menubar_activated): ... can also create an Advanced dialog; needed when the Search menu's advanced button is used. (option_changed): Change this to call the function instead of having all the code to itself. * e-search-bar.h: Add id's for the FIND_NOW and CLEAR actions so that other code (eg, EFilterBar) doesn't get confused by an old id being used when the search-activated signal gets emitted. * e-search-bar.c (clear_search): Set the item_id to CLEAR before emitting the signal. (search_now_verb_cb): Just make this emit query_changed, as the button in the toolbar does. svn path=/trunk/; revision=17550
* Made these able to find the potential row for a new node which will be theChristopher James Lahey2002-07-191-3/+8
| | | | | | | | | | | | 2002-07-19 Christopher James Lahey <clahey@ximian.com> * e-tree-table-adapter.c (find_next_node, find_first_child_node): Made these able to find the potential row for a new node which will be the last row. (find_row_num): Made this handle find_next_node and find_first_child_node returning n_map. svn path=/trunk/; revision=17517
* Install libversit.a so that people compiling against the addressbook canPeter Williams2002-07-183-21/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-07-09 Peter Williams <peterw@ximian.com> * libversit/Makefile.am (privlib_LIBRARIES): Install libversit.a so that people compiling against the addressbook can do so successfully. * Makefile.am: create our *Conf.sh files and dist them and install them. * configure.in: Define and subst some variables that the Conf.sh file need. 2002-07-08 Peter Williams <peterw@ximian.com> * backend/ebook/Makefile.am: Install libebook-static.la. Also change --all-static to -all-static, which is the right flag. * backend/pas/Makefile.am: Install the PAS headers in $(includedir)/evolution/pas. Install libpas.a 2002-07-08 Peter Williams <peterw@ximian.com> * cal-util/Makefile.am: Install libcal-util-static.la and fix the -all-static flag to make it install statically. * pcs/Makefile.am: Install libpcs.a and its headers. * pcs/cal-backend-util.h: Same sort of include namespacing fix, but for pcs. * pcs/cal.h: * pcs/query.h: * pcs/cal-factory.h: * pcs/cal-backend.h: * pcs/cal-backend-file.h: Same. 2002-07-17 Peter Williams <peterw@ximian.com> * calendar/cal-util/Makefile.am (GTKDOC_LIBS): Because we're using libtool as our LD, we can reference .la's and libtool will DTRT for us. * calendar/cal-client/Makefile.am (GTKDOC_LIBS): Same here. 2002-07-03 Peter Williams <peterw@ximian.com> * Makefile.am: Install libeutil, libeconduit, and libedb3util and their headers. 2002-07-08 Peter Williams <peterw@ximian.com> * Makefile.am: Reference the new libefilterbar.a. 2002-07-12 Peter Williams <peterw@ximian.com> * Makefile.am (INCLUDES): Add -I$(builddir)/libical/src/libical for the generated ical.h (some headers rely on this because they too get installed.) 2002-07-09 Peter Williams <peterw@ximian.com> * e-timezone-dialog/Makefile.am: Add -I$(top_builddir)/libical/src/libical; some headers that we rely on get installed, so they point to the ical.h that gets generated and installed; consequently we need to be able to find the generated ical.h * misc/Makefile.am: Install libemiscwidgets.a and its headers. However, break EFilterBar into a separate libefilterbar.a because we don't want the installed library to depend on libfilter. svn path=/trunk/; revision=17496
* (setup_standard_verbs): Set the <commands> partEttore Perazzoli2002-07-182-5/+41
| | | | | | | | | | | | | | | | of the XML manually with bonobo_ui_component_set() otherwise the verbs don't get added on the other side for us to be able to do bonobo_ui_component_set_prop(). (setup_bonobo_menus): New, menu setup code taken from update_bonobo_menus(). (remove_bonobo_menus): New; removes the Bonobo menus. (update_bonobo_menus): Rewritten, just call remove_bonobo_menus() first and setup_bonobo_menus() then. (e_search_bar_set_ui_component): Call setup_bonobo_menus() and remove_bonobo_menus() as appropriate instead of just update_bonobo_menus(). svn path=/trunk/; revision=17490
* (e_timezone_dialog_init):Ettore Perazzoli2002-07-062-0/+7
| | | | | | Make not floating. svn path=/trunk/; revision=17374
* (update_sensitivity): Removed.Ettore Perazzoli2002-07-032-43/+58
| | | | | | | | | | | | (set_find_now_sensitive): New. (entry_changed_cb): Always make the "Find Now" button and menu item sensitive here. (emit_search_activated): ...And here, always insensitive. (setup_standard_verbs): Always start up insensitive. (activate_button_clicked_cb): Make the entry grab the focus. (clear_button_clicked_cb): Likewise. svn path=/trunk/; revision=17348
* (subitem_activated_cb): Don't emitEttore Perazzoli2002-07-022-3/+7
| | | | | | | | "search_activated" here. (e_search_bar_set_subitem_id): And not here either. (e_search_bar_set_text): Same. svn path=/trunk/; revision=17346
* (activate_by_subitems): Don't set the entry to beEttore Perazzoli2002-07-022-2/+7
| | | | | | an empty string here. svn path=/trunk/; revision=17345
* (build_items): Put the numbers in front of theEttore Perazzoli2002-06-192-1/+6
| | | | | | rules only if type is zero [i.e. not in the option menu]. svn path=/trunk/; revision=17224
* Patch by clahey.JP Rosevear2002-06-181-1/+37
| | | | | | | | | | | | | 2002-06-18 JP Rosevear <jpr@ximian.com> Patch by clahey. * e-table.c (et_get_arg): get the use_click_to_add value (et_set_arg): set the use_click_to_add_value, and either display the item or destroy it (e_table_class_init): add the use_click_to_add arg svn path=/trunk/; revision=17218
* Edit the view after appending it to the model.Christopher James Lahey2002-06-171-0/+1
| | | | | | | | | 2002-06-16 Christopher James Lahey <clahey@ximian.com> * gal-define-views-dialog.c (gdvd_button_new_dialog_callback): Edit the view after appending it to the model. svn path=/trunk/; revision=17203
* Don't draw or interact with the popup button if a cell isn't editableChristopher James Lahey2002-06-159-30/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-06-14 Christopher James Lahey <clahey@ximian.com> * e-cell-popup.c (ecp_draw, ecp_event): Don't draw or interact with the popup button if a cell isn't editable (based on a patch by JPR.) * e-table-col.c, e-table-col.h: Added the compare_col field to this structure. Added a GtkArg to set it. * e-table-column-specification.c, e-table-column-specification.h: Added the compare_col field here. Made it load properly from xml. * e-table-sorting-utils.c: Sort based on the compare_col in the ETableCol instead of the col_idx. * e-table-utils.c (et_col_spec_to_col): Set the compare_col field in the ETableCol properly. * e-table.c, e-table.h: Removed the drag_get_data_row and drag_get_data_col fields since they're not used any longer. (e_table_construct): If specification loading fails, return a NULL ETable instead of just ignoring it. (e_table_drag_highlight): Only destroy table->drop_highlight if it exists. svn path=/trunk/; revision=17190
* Bumped the version number to 0.19.99.17.Christopher James Lahey2002-06-062-1/+25
| | | | | | | | | | | | | 2002-06-05 Christopher James Lahey <clahey@ximian.com> * configure.in: Bumped the version number to 0.19.99.17. * gal/widgets/e-reflow.c, gal/widgets/e-reflow.h (e_reflow_selection_event_real): Made this function handle GDK_BUTTON_RELEASE. Added a maybe_in_drag variable that the API user can set to 0 to indicate that a drag has occurred. svn path=/trunk/; revision=17122
* Added debugging printfs. (e_text_request_paste): Fixed the order ofChristopher James Lahey2002-06-061-2/+14
| | | | | | | | | | | 2002-06-05 Christopher James Lahey <clahey@ximian.com> * gal/e-text/e-text.c: Added debugging printfs. (e_text_request_paste): Fixed the order of setting last_type_request before calling gtk_selection_convert due to a reentrancy bug. svn path=/trunk/; revision=17119
* Added debugging printfs.Christopher James Lahey2002-06-053-1/+13
| | | | | | | | | | | | | | | 2002-06-05 Christopher James Lahey <clahey@ximian.com> * e-table-field-chooser-item.c: Added debugging printfs. * e-table-header-item.c: Added debugging printfs. (ethi_drag_motion): Don't subtract widget->allocation.* here. It seems that this value is affected by whether the table is using a click to add field. Not sure why. * e-table-item.c (eti_realize): Check for NULL selection here. svn path=/trunk/; revision=17118
* Added debugging printfs.Christopher James Lahey2002-06-053-2/+38
| | | | | | | | | | | | | | | | 2002-06-05 Christopher James Lahey <clahey@ximian.com> * e-tree-model.c (d): Added debugging printfs. * e-tree-sorted.c (ets_proxy_node_changed, ets_proxy_node_data_changed, ets_proxy_node_col_changed, ets_proxy_node_inserted): Added a bunch of e_tree_model_no_change signals where appropriate. * e-tree-table-adapter.c (etta_proxy_node_changed): Added an e_table_model_no_change signal where appropriate. svn path=/trunk/; revision=17116
* Made it so that on realize we grab focus if we have the cursor, sinceChristopher James Lahey2002-06-051-0/+11
| | | | | | | | | | 2002-06-05 Christopher James Lahey <clahey@ximian.com> * e-table-item.c (eti_realize): Made it so that on realize we grab focus if we have the cursor, since otherwise, we'll change our selection on focus in. svn path=/trunk/; revision=17115
* Added this function to let you disable the define views dialog.Christopher James Lahey2002-06-053-41/+73
| | | | | | | | | | 2002-06-04 Christopher James Lahey <clahey@ximian.com> * menus/gal-view-menus.c, menus/gal-view-menus.h (gal_view_menus_set_show_define_views): Added this function to let you disable the define views dialog. svn path=/trunk/; revision=17111
* Added this function.Christopher James Lahey2002-06-057-125/+269
| | | | | | | | | | | | | | | | | 2002-06-04 Christopher James Lahey <clahey@ximian.com> * e-table-header.c, e-table-header.h (e_table_header_prioritized_column_selected): Added this function. * e-table-utils.c, e-table-utils.h (e_table_util_calculate_current_search_col): Added this function. * e-table.c, e-table.h, e-tree.c: Added a "always_search" argument. If this is off, then searches only occur if there's sort. If it's on, sort takes precendence in doing searches, followed by the highest priority column shown. svn path=/trunk/; revision=17109
* Don't show this dialog more than once per collection.Christopher James Lahey2002-06-052-9/+37
| | | | | | | | | 2002-06-04 Christopher James Lahey <clahey@ximian.com> * menus/gal-view-menus.c (define_views): Don't show this dialog more than once per collection. svn path=/trunk/; revision=17106
* Added this function to set the user visible name of this collection.Christopher James Lahey2002-06-044-4/+45
| | | | | | | | | | | | | 2002-06-04 Christopher James Lahey <clahey@ximian.com> * gal-view-collection.c, gal-view-collection.h (gal_view_collection_set_title): Added this function to set the user visible name of this collection. * gal-define-views-dialog.c (gal_define_views_dialog_init): Set the Define Views for %s label. Fixes Ximian bug #2100 and #4080. svn path=/trunk/; revision=17100
* Reenable tooltips if the GAL_DO_TOOLTIPS environment variable is set.Christopher James Lahey2002-06-042-2/+3
| | | | | | | | | 2002-06-04 Christopher James Lahey <clahey@ximian.com> * e-table-item.c (eti_event): Reenable tooltips if the GAL_DO_TOOLTIPS environment variable is set. svn path=/trunk/; revision=17097
* Get the font from the style again when the style changes. (init): ChecksChristopher James Lahey2002-06-045-6/+64
| | | | | | | | | | | | | | | | | | | | | | | | 2002-06-03 Christopher James Lahey <clahey@ximian.com> * e-cell-text.c (ect_style_set): Get the font from the style again when the style changes. (init): Checks for the environment variable GAL_ELLIPSIS and uses that instead of ... if it is set. * e-table-click-to-add.c (finish_editing): e_table_item_leave_edit before committing. (etcta_event): Added a missing break; here. * e-table-item.c (eti_style_set): On style set, free the height cache, request a reflow and a redraw, and call eti_idle_maybe_show_cursor. (e_table_item_compute_location): Don't call eti_get_height here, just use the cached value. * e-tree.c, e-tree.h (e_tree_get_table_adapter): Added this simple accessor function. svn path=/trunk/; revision=17088
* Reflow and redraw when the style gets set.Christopher James Lahey2002-06-042-322/+330
| | | | | | | | | 2002-06-03 Christopher James Lahey <clahey@ximian.com> * gal/e-text/e-text.c, gal/e-text/e-text.h (e_text_style_set): Reflow and redraw when the style gets set. svn path=/trunk/; revision=17086
* New helper function. (build_items): g_strdup() the text for all the items.Ettore Perazzoli2002-05-312-13/+71
| | | | | | | | | | | | | | * e-filter-bar.c (dup_item_no_subitems): New helper function. (build_items): g_strdup() the text for all the items. Prepend the user-defined items with an order number. (free_built_items): New function to free the array returned by build_items, freeing the text strings too [since now they are newly allocated instead of just pointing to the exiting ones]. (generate_menu): Call free_built_items() on the built items instead of just g_array_free(). (set_option): Likewise. svn path=/trunk/; revision=17045
* Added would_be_expanded refactoring code out of is_expanded.Christopher James Lahey2002-05-251-16/+22
| | | | | | | | | | | | 2002-05-24 Christopher James Lahey <clahey@ximian.com> * e-tree-table-adapter.c (e_tree_table_adapter_node_would_be_expanded, e_tree_table_adapter_node_is_expanded): Added would_be_expanded refactoring code out of is_expanded. (find_first_child_node_maybe_deleted): Use the new function. svn path=/trunk/; revision=17016
* Put the stuff in /menu/Searchplaceholder/Search instead of /menu/Search.Ettore Perazzoli2002-05-231-3/+11
| | | | | | | * e-search-bar.c (update_bonobo_menus): Put the stuff in /menu/Searchplaceholder/Search instead of /menu/Search. svn path=/trunk/; revision=16980
* Put the search menu in a SearchPlaceholder.Ettore Perazzoli2002-05-231-0/+3
| | | | | | * evolution.xml: Put the search menu in a SearchPlaceholder. svn path=/trunk/; revision=16979
* New, overrides GtkWidget::draw. (impl_expose_event): New, overridesEttore Perazzoli2002-05-232-2/+108
| | | | | | | * e-combo-button.c (impl_draw): New, overrides GtkWidget::draw. (impl_expose_event): New, overrides GtkWidget::expose_event. svn path=/trunk/; revision=16978
* Check for path being NULL.Christopher James Lahey2002-05-212-2/+17
| | | | | | | | | | | | | 2002-05-21 Christopher James Lahey <clahey@ximian.com> * e-tree-sorted.c (ets_proxy_node_request_collapse): Check for path being NULL. * e-tree-table-adapter.c (e_tree_table_adapter_load_expanded_state): Rebuild the tree after loading the state. svn path=/trunk/; revision=16963
* Prepend the advanced menu with a separator.Ettore Perazzoli2002-05-213-6/+15
| | | | | | | | | | * e-filter-bar.c (build_items): Prepend the advanced menu with a separator. * e-filter-bar.h: Add E_FILTERBAR_SEPARATOR. Rename the "Advanced Search..." menu item into "Advanced...". svn path=/trunk/; revision=16953
* Strip underscores from the menu item labels.Ettore Perazzoli2002-05-213-6/+43
| | | | | | | * e-search-bar.c (activate_by_subitems): Strip underscores from the menu item labels. svn path=/trunk/; revision=16952
* Made it so that if the current_id doesn't match any of the given ids, itChristopher James Lahey2002-05-142-4/+20
| | | | | | | | | | | | | | 2002-05-14 Christopher James Lahey <clahey@ximian.com> * menus/gal-view-menus.c (build_menus): Made it so that if the current_id doesn't match any of the given ids, it treats it the same as a NULL id. (gal_view_menus_apply): Added a check for gvm->priv == NULL here. (gal_view_menus_apply, collection_changed, instance_changed): Removed calls to set_radio after build_stuff, since the last thing build_stuff does is calls set_radio. svn path=/trunk/; revision=16781
* Changed a lot of direct uses in this file of node->is_expanded to call theChristopher James Lahey2002-05-141-70/+76
| | | | | | | | | | | | | | | | 2002-05-13 Christopher James Lahey <clahey@ximian.com> * e-tree-table-adapter.c: Changed a lot of direct uses in this file of node->is_expanded to call the function e_tree_table_adapter_node_is_expanded instead. (e_tree_table_adapter_node_is_expanded): Improved this function to know if the root node is visible and always return it as being expanded if it's not. It also doesn't bother creating nodes if they don't exist yet, and instead figures out whether they would be expanded if they were to be created and returns that value instead. svn path=/trunk/; revision=16768
* If grabbed_item is NULL, cancel the timeout.Christopher James Lahey2002-05-111-0/+8
| | | | | | | | | 2002-05-10 Christopher James Lahey <clahey@ximian.com> * gal/widgets/e-canvas.c (grab_cancelled_check): If grabbed_item is NULL, cancel the timeout. svn path=/trunk/; revision=16760
* Include string.h here.Christopher James Lahey2002-05-111-0/+2
| | | | | | | | 2002-05-10 Christopher James Lahey <clahey@ximian.com> * e-table-search.c: Include string.h here. svn path=/trunk/; revision=16749
* Switch from gnome_canvas_item_grab to e_canvas_item_grab.Christopher James Lahey2002-05-105-31/+149
| | | | | | | | | | | | | | | | | | | 2002-05-09 Christopher James Lahey <clahey@ximian.com> * gal/e-text/e-text.c: Switch from gnome_canvas_item_grab to e_canvas_item_grab. * gal/widgets/e-canvas.c, gal/widgets/e-canvas.h (e_canvas_item_grab, e_canvas_item_ungrab): Added these functions. From gal/e-table/ChangeLog: 2002-05-09 Christopher James Lahey <clahey@ximian.com> * e-table-item.c, e-table-item.h: Switched from gnome_canvas_item_grab to e_canvas_item_grab. svn path=/trunk/; revision=16738
* Bump file version to 2. (This will make older versions of gal ignore theDan Winship2002-05-101-4/+12
| | | | | | | | | | | | | | * e-tree-table-adapter.c (e_tree_table_adapter_save_expanded_state): Bump file version to 2. (This will make older versions of gal ignore the file, fixing the problem where going from evo HEAD to evo 1.0.x makes the folder tree disappear.) Store the default expanded state in the file now to prevent this from happening again in the future. (e_tree_table_adapter_load_expanded_state): Deal with version 2. If the model's default expansion state doesn't match the saved state, ignore the save file. svn path=/trunk/; revision=16736
* Change this directory to include the $(VERSION).Christopher James Lahey2002-05-071-6/+2
| | | | | | | | | | | | | | | | | | | 2002-05-06 Christopher James Lahey <clahey@ximian.com> * gal/widgets/Makefile.am (imagesdir): Change this directory to include the $(VERSION). * gal/widgets/e-reflow.c (set_empty): Don't switch from utf8 to widget encoding, since EText takes utf8. From art/ChangeLog: 2002-05-06 Christopher James Lahey <clahey@ximian.com> * Makefile.am (imagesdir): Change this directory to include the $(VERSION). svn path=/trunk/; revision=16697
* Make the style here match the proper widget style to emulate a label or anChristopher James Lahey2002-05-031-1/+1
| | | | | | | | | 2002-05-02 Christopher James Lahey <clahey@ximian.com> * gal/e-text/e-text.c (e_text_draw): Make the style here match the proper widget style to emulate a label or an entry. svn path=/trunk/; revision=16670
* Added this function that lets you specify the translation domain.Christopher James Lahey2002-05-0310-84/+121
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-05-02 Christopher James Lahey <clahey@ximian.com> * gal/widgets/e-popup-menu.c, gal/widgets/e-popup-menu.h (e_popup_menu_create_with_domain): Added this function that lets you specify the translation domain. From gal/e-table/ChangeLog: 2002-05-02 Christopher James Lahey <clahey@ximian.com> * e-table-click-to-add.c (finish_editing): Add horizontal dividers here too. * e-table-config.c (create_global_store): Translate column headers here. * e-table-header-item.c (ethi_header_context_menu): Use e_popup_menu_create_with_domain here. * e-table-header-utils.c (e_table_header_draw_button): Translate from utf8 here before drawing. * e-table-memory-store.c, e-table-memory-store.h (e_table_memory_store_insert_adopt_array): Changed the name of this function from e_table_memory_store_insert_adopt. (e_table_memory_store_insert_adopt): Added this function which takes a ... list. * e-table-utils.c (et_col_spec_to_col): Translate column titles to utf8 here. svn path=/trunk/; revision=16668
* Added horizontal dividers to this item when in table mode.Christopher James Lahey2002-05-034-26/+28
| | | | | | | | | | | | | | | 2002-05-02 Christopher James Lahey <clahey@ximian.com> * e-table-click-to-add.c: Added horizontal dividers to this item when in table mode. * e-table.c, e-tree.c: Made the background be an e-canvas-background instead of a * e-tree.c, e-tree.h: Added a white_space_event for feature parity with ETable. svn path=/trunk/; revision=16667
* Set the gettext-domain here.Christopher James Lahey2002-05-0211-36/+81
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-05-01 Christopher James Lahey <clahey@ximian.com> * gal/e-text/e-completion-view.c (simple_spec), gal/widgets/e-categories-master-list-dialog.c (SPEC), gal/widgets/e-categories.c (INITIAL_SPEC): Set the gettext-domain here. * gal/util/e-i18n.h (E_I18N_DOMAIN): #define as makes sense in the different cases. From gal/e-table/ChangeLog: 2002-05-01 Christopher James Lahey <clahey@ximian.com> * e-table-config.c, e-table-config.h, e-table-specification.c, e-table-specification.h, e-table-utils.c, e-table-utils.h, e-table.c, e-table.h: Made these pay attention to the gettext-domain in the etspec. * e-table-config.c: Set the gettext-domain in the etspec here. From gal/menus/ChangeLog: 2002-05-01 Christopher James Lahey <clahey@ximian.com> * gal-define-views-dialog.c (SPEC), gal-view-instance-save-as-dialog.c (SPEC): Set the gettext-domain here. svn path=/trunk/; revision=16658
* From gal/e-table/ChangeLog:Christopher James Lahey2002-04-301-8/+8
| | | | | | | | | 2002-04-29 Christopher James Lahey <clahey@ximian.com> * e-table-item.c (eti_cursor_change): Redraw a row that is no longer the cursor even if this item isn't getting the new cursor. svn path=/trunk/; revision=16642
* Changed LDFLAGS to LIBS for tests here. Bumped the version number toChristopher James Lahey2002-04-302-0/+39
| | | | | | | | | | | | | | | | 2002-04-29 Christopher James Lahey <clahey@ximian.com> * configure.in: Changed LDFLAGS to LIBS for tests here. Bumped the version number to 0.19.99.15. From gal/e-table/ChangeLog: 2002-04-29 Christopher James Lahey <clahey@ximian.com> * e-tree.c, e-tree.h (e_tree_path_foreach): Added this function which recurses over all nodes, regardless of selection. svn path=/trunk/; revision=16635
* Take an int instead of a double. From a patch by jody@ximian.com.Christopher James Lahey2002-04-271-1/+1
| | | | | | | | | 2002-04-26 Christopher James Lahey <clahey@ximian.com> * e-table-field-chooser-item.c (etfci_maybe_start_drag): Take an int instead of a double. From a patch by jody@ximian.com. svn path=/trunk/; revision=16606
* Don't print out the colors here unless debugging is turned on.Christopher James Lahey2002-04-272-1/+8
| | | | | | | | | 2002-04-26 Christopher James Lahey <clahey@ximian.com> * e-multi-config-dialog.c (fill_in_pixbufs): Don't print out the colors here unless debugging is turned on. svn path=/trunk/; revision=16605
* Only unref etst->sort_info once.Christopher James Lahey2002-04-271-1/+0
| | | | | | | | 2002-04-26 Christopher James Lahey <clahey@ximian.com> * e-table-state.c (etst_destroy): Only unref etst->sort_info once. svn path=/trunk/; revision=16603
* Documented the life cycle requirements of the return value of theseChristopher James Lahey2002-04-272-7/+23
| | | | | | | | | | 2002-04-26 Christopher James Lahey <clahey@ximian.com> * e-table-model.c (e_table_model_value_at), e-tree-model.c (e_tree_model_value_at): Documented the life cycle requirements of the return value of these functions. svn path=/trunk/; revision=16602
* Include alloca.h here if it's necessary.Christopher James Lahey2002-04-271-0/+4
| | | | | | | | | 2002-04-26 Christopher James Lahey <clahey@ximian.com> * gal/widgets/e-unicode.c: Include alloca.h here if it's necessary. svn path=/trunk/; revision=16601
* Initialize these struct members individually instead of as a struct.Christopher James Lahey2002-04-271-1/+4
| | | | | | | | | 2002-04-26 Christopher James Lahey <clahey@ximian.com> * gal/widgets/e-canvas-background.c (ecb_init): Initialize these struct members individually instead of as a struct. svn path=/trunk/; revision=16600
* Added calls to e_table_model_pre_change here so that the ETableItemChristopher James Lahey2002-04-261-0/+4
| | | | | | | | | | | 2002-04-26 Christopher James Lahey <clahey@ximian.com> * e-table-memory-store.c (e_table_memory_store_adopt_value_at, etms_set_value_at): Added calls to e_table_model_pre_change here so that the ETableItem doesn't unfreeze more times than it freezes. svn path=/trunk/; revision=16593
* Made these handle the case where all_children_selected_array has a bitChristopher James Lahey2002-04-261-2/+7
| | | | | | | | | | | 2002-04-25 Christopher James Lahey <clahey@ximian.com> * e-tree-selection-model.c (etsm_selected_count_recurse, etsm_foreach_recurse): Made these handle the case where all_children_selected_array has a bit set, but the children of that node aren't filled in. svn path=/trunk/; revision=16590
* Ansification patch from danw.Christopher James Lahey2002-04-2610-22/+23
| | | | | | | | | | | | | | | | | | | | | | | | 2002-04-25 Christopher James Lahey <clahey@ximian.com> * gal/e-paned/e-paned.c, gal/e-text/e-entry.c, gal/util/e-bit-array.c, gal/util/e-sorter-array.c, gal/util/e-sorter.c, gal/util/e-text-event-processor.c, gal/widgets/color-group.c, gal/widgets/color-palette.c, gal/widgets/e-canvas-vbox.c, gal/widgets/e-canvas.c, gal/widgets/e-canvas.h, gal/widgets/e-categories-master-list-array.c, gal/widgets/e-categories-master-list-combo.c, gal/widgets/e-categories-master-list-dialog-model.c, gal/widgets/e-categories-master-list-dialog.c, gal/widgets/e-categories.c, gal/widgets/e-reflow-model.c, gal/widgets/e-reflow.c, gal/widgets/e-selection-model-array.c, gal/widgets/e-selection-model-simple.c, gal/widgets/e-selection-model.c, gal/widgets/e-selection-model.h, gal/widgets/gtk-combo-box.c, gal/widgets/gtk-combo-stack.c, gal/widgets/widget-color-combo.c, gal/widgets/widget-pixmap-combo.c: Ansification patch from danw. svn path=/trunk/; revision=16589
* Ansification patch from danw.Christopher James Lahey2002-04-264-4/+4
| | | | | | | | | 2002-04-25 Christopher James Lahey <clahey@ximian.com> * gal-define-views-dialog.c, gal-view-factory.c, gal-view-new-dialog.c, gal-view.c: Ansification patch from danw. svn path=/trunk/; revision=16587
* Ansification patch from danw.Christopher James Lahey2002-04-2650-74/+74
| | | | | | | | | | | | | | | | | | | | | | | | | 2002-04-25 Christopher James Lahey <clahey@ximian.com> * e-cell-checkbox.c, e-cell-combo.c, e-cell-date.c, e-cell-float.c, e-cell-number.c, e-cell-pixbuf.c, e-cell-popup.c, e-cell-size.c, e-cell-spin-button.c, e-cell-text.c, e-cell-toggle.c, e-cell-tree.c, e-cell.c, e-cell.h, e-table-click-to-add.c, e-table-col.c, e-table-column-specification.c, e-table-config-field.c, e-table-config.c, e-table-extras.c, e-table-field-chooser-dialog.c, e-table-field-chooser-item.c, e-table-field-chooser.c, e-table-group-container.c, e-table-group-leaf.c, e-table-group.c, e-table-header-item.c, e-table-header.c, e-table-item.c, e-table-memory-callbacks.c, e-table-model.c, e-table-scrolled.c, e-table-selection-model.c, e-table-sort-info.c, e-table-sorted-variable.c, e-table-sorted.c, e-table-sorter.c, e-table-specification.c, e-table-state.c, e-table-subset-variable.c, e-table-subset.c, e-table-without.c, e-table.c, e-table.h, e-tree-scrolled.c, e-tree-selection-model.c, e-tree-sorted-variable.c, e-tree-sorted.c, e-tree-table-adapter.c, e-tree.c: Ansification patch from danw. svn path=/trunk/; revision=16586
* Changed this to match the new e_table_memory_store_insert functionChristopher James Lahey2002-04-251-1/+1
| | | | | | | | | 2002-04-24 Christopher James Lahey <clahey@ximian.com> * e-table-config.c (create_global_store): Changed this to match the new e_table_memory_store_insert function prototype. svn path=/trunk/; revision=16579
* implement printing (pixbuf_print_height): implement print heightJP Rosevear2002-04-253-18/+53
| | | | | | | | | | | | | | | | 2002-04-24 JP Rosevear <jpr@ximian.com> * e-cell-pixbuf.c (pixbuf_print): implement printing (pixbuf_print_height): implement print height (e_cell_pixbuf_class_init): set printing virtual methods * e-cell-toggle.c (etog_print): remove clipping, default clipping is done by the table, scale based on toggle height * e-table-item.c (e_table_item_calculate_print_widths): make the scale 1:1 svn path=/trunk/; revision=16577
* Updated this to match the changed function name in gal.Christopher James Lahey2002-04-232-2/+7
| | | | | | | | | 2002-04-22 Christopher James Lahey <clahey@ximian.com> * e-multi-config-dialog.c (e_multi_config_dialog_add_page): Updated this to match the changed function name in gal. svn path=/trunk/; revision=16562
* Bumped version number to 0.19.99.14.Christopher James Lahey2002-04-236-31/+254
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-04-22 Christopher James Lahey <clahey@ximian.com> * configure.in: Bumped version number to 0.19.99.14. * gal/widgets/e-popup-menu.c, gal/widgets/e-popup-menu.h (e_popup_menu_copy_1, e_popup_menu_free_1, e_popup_menu_copy, e_popup_menu_free): Added these functions From gal/e-table/ChangeLog: 2002-04-22 Christopher James Lahey <clahey@ximian.com> * e-table-memory-store.c, e-table-memory-store.h: Renamed the insert functions in this class to make a bit more sense. From gal/menus/ChangeLog: 2002-04-22 Christopher James Lahey <clahey@ximian.com> * gal-view-instance.c, gal-view-instance.h (gal_view_instance_get_popup_menu, gal_view_instance_free_popup_menu): Added these functions. Used to add a current view menu to your popup menus. From gal/shortcut-bar/ChangeLog: 2002-04-22 Christopher James Lahey <clahey@ximian.com> * e-icon-bar.c (e_icon_bar_drag_motion): Removed an unused variable. svn path=/trunk/; revision=16559
* Unref the sort_info.Jeffrey Stedfast2002-04-201-0/+5
| | | | | | | | 2002-04-19 Jeffrey Stedfast <fejj@ximian.com> * e-table-state.c (etst_destroy): Unref the sort_info. svn path=/trunk/; revision=16549
* After unreffing all the pixmaps, free the toggle_view->pixmap_cache.Jeffrey Stedfast2002-04-201-0/+1
| | | | | | | | | 2002-04-19 Jeffrey Stedfast <fejj@ximian.com> * e-cell-toggle.c (etog_kill_view): After unreffing all the pixmaps, free the toggle_view->pixmap_cache. svn path=/trunk/; revision=16548
* Free the priv->search_string and priv itself. More memory leak fixage.Jeffrey Stedfast2002-04-202-0/+9
| | | | | | | | | | | | 2002-04-19 Jeffrey Stedfast <fejj@ximian.com> * e-table-search.c (e_table_search_destroy): Free the priv->search_string and priv itself. More memory leak fixage. * e-tree.c (e_tree_drag_source_unset): Unref site->taget_list so we don't leak memory. svn path=/trunk/; revision=16547
* print the cell in the allotted area (etog_print_height): return the printJP Rosevear2002-04-201-0/+57
| | | | | | | | | | 2002-04-19 JP Rosevear <jpr@ximian.com> * e-cell-toggle.c (etog_print): print the cell in the allotted area (etog_print_height): return the print height svn path=/trunk/; revision=16536
* handle toggle and radio items (make_item): the item is now passed in fromJP Rosevear2002-04-181-17/+26
| | | | | | | | | | 2002-04-18 JP Rosevear <jpr@ximian.com> * gal/widgets/e-popup-menu.c (e_popup_menu_create): handle toggle and radio items (make_item): the item is now passed in from above and not returned svn path=/trunk/; revision=16508
* Bumped version number to 0.19.99.11.Christopher James Lahey2002-04-183-22/+67
| | | | | | | | | | | | | | | | | | | | | 2002-04-17 Christopher James Lahey <clahey@ximian.com> * configure.in: Bumped version number to 0.19.99.11. * gal/widgets/e-popup-menu.c, gal/widgets/e-popup-menu.h: Changed this to be API compatible with gal 0.19. Added a bunch of pound defines and added API for toggle and radio menu items. * gal/widgets/e-categories.c: Updated this to match the new EPopupMenu. From gal/e-table/ChangeLog: 2002-04-17 Christopher James Lahey <clahey@ximian.com> * e-table-header-item.c: Updated this to match the new EPopupMenu. svn path=/trunk/; revision=16496
* If there is a grabbed_item, send all events to it.Christopher James Lahey2002-04-181-22/+20
| | | | | | | | | 2002-04-17 Christopher James Lahey <clahey@ximian.com> * gal/widgets/e-canvas.c (emit_event): If there is a grabbed_item, send all events to it. svn path=/trunk/; revision=16492
* Fixed a memory leak here by using the "selection-done" signal.Christopher James Lahey2002-04-123-13/+49
| | | | | | | | | | | | 2002-04-11 Christopher James Lahey <clahey@ximian.com> * e-table-header-item.c (ethi_header_context_menu): Fixed a memory leak here by using the "selection-done" signal. * e-table.c, e-table.h (white_item_event): Added the "white_space_event" signal. svn path=/trunk/; revision=16439
* Oops. The previous change made the search bar widgets get packed in theDan Winship2002-04-102-3/+11
| | | | | | | | | | * e-search-bar.c (e_search_bar_construct, add_button): Oops. The previous change made the search bar widgets get packed in the wrong order. So use gtk_box_pack_end instead in add_button and add the two buttons in reverse order. It's all good now. Noticed by Ettore, who I then promptly blamed for it. Sorry Ettore! svn path=/trunk/; revision=16411
* Construct the buttons earlier so that the option-menu-setup code thatDan Winship2002-04-072-5/+11
| | | | | | | | * e-search-bar.c (e_search_bar_construct): Construct the buttons earlier so that the option-menu-setup code that tries to adjust the button sensitivity won't fail and g_warn. svn path=/trunk/; revision=16375
* show a specific page numberJP Rosevear2002-04-073-0/+23
| | | | | | | | | | | 2002-04-06 JP Rosevear <jpr@ximian.com> * e-multi-config-dialog.c (e_multi_config_dialog_show_page): show a specific page number * e-multi-config-dialog.h: new proto svn path=/trunk/; revision=16374
* Don't show the popup if the entry->item doesn't have focus.Ettore Perazzoli2002-04-041-0/+5
| | | | | | | * gal/e-text/e-entry.c (e_entry_show_popup): Don't show the popup if the entry->item doesn't have focus. svn path=/trunk/; revision=16345
* ignore .pureChris Toshok2002-04-021-0/+1
| | | | svn path=/trunk/; revision=16312
* Change the ETable specs so it doesn't sort.Ettore Perazzoli2002-03-302-1/+5
| | | | | | | * e-multi-config-dialog.c: Change the ETable specs so it doesn't sort. svn path=/trunk/; revision=16289
* Added widgets/e-option-menu.lo.Christopher James Lahey2002-03-263-28/+69
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-03-25 Christopher James Lahey <clahey@ximian.com> * gal/Makefile.am (libgal_la_LIBADD): Added widgets/e-option-menu.lo. * gal/util/e-util.c, gal/util/e-util.h (e_strdupv): Copied this function from glib2. (GET_STRING_ARRAY_FROM_ELLIPSIS, GET_DUPLICATED_STRING_ARRAY_FROM_ELLIPSIS): Added these macros to automate getting a NULL terminated array off of the stack. * gal/widgets/Makefile.am (libwidgets_la_SOURCES): Added e-option-menu.c. (libwidgetsinclude_HEADERS): Added e-option-menu.h. * gal/widgets/e-canvas.c (e_canvas_class_init): Reformatted this function. * gal/widgets/e-gui-utils.c, gal/widgets/e-gui-utils.h (e_glade_xml_connect_widget, e_glade_xml_set_sensitive): Two new functions to automate pulling a widget from a GladeXML and either connecting a signal or setting the sensitivity. * gal/widgets/e-option-menu.c, gal/widgets/e-option-menu.h: New class to simplify the interface to GtkOptionMenu. svn path=/trunk/; revision=16246
* Call the parent function after doing all the internal work so that whenChristopher James Lahey2002-03-261-9/+9
| | | | | | | | | | | 2002-03-25 Christopher James Lahey <clahey@ximian.com> * e-table-memory-store.c (e_table_memory_store_insert, e_table_memory_store_insert_adopt, e_table_memory_store_remove): Call the parent function after doing all the internal work so that when the changed signal goes out, our work is already done. svn path=/trunk/; revision=16245
* +2002-03-20 Christopher James Lahey <clahey@ximian.com>Chris Lahey2002-03-221-15/+15
| | | | | | | | | + + * e-table-header-item.c: Adjust this to handle the new EPopupMenu + API. + svn path=/trunk/; revision=16223
* Add accelerators for "Find Now" and "Clear".Ettore Perazzoli2002-03-214-10/+18
| | | | | | | | | | | | | * e-search-bar.c (update_bonobo_menus): Add accelerators for "Find Now" and "Clear". * e-filter-bar.h: Change search labels as suggested in Anna's redesign [#16246]. * folder-browser.c: Reorder folder_browser_search_menu_items according to #16246. svn path=/trunk/; revision=16219
* Remove all the SearchBar items before setting them up again.Ettore Perazzoli2002-03-212-25/+80
| | | | | | | | | | * e-search-bar.c (update_bonobo_menus): Remove all the SearchBar items before setting them up again. (free_menu_items): New. (impl_destroy): Call it. (set_menu): Call it here too before adding the new items. svn path=/trunk/; revision=16218
* No accelerator for "FindNow". (add_button): Add a one-pixel padding to theEttore Perazzoli2002-03-192-2/+8
| | | | | | | | * e-search-bar.c (update_bonobo_menus): No accelerator for "FindNow". (add_button): Add a one-pixel padding to the button. svn path=/trunk/; revision=16201
* Rename the "Search Now" menu entry to "Find Now". Rename the correspondingEttore Perazzoli2002-03-192-4/+12
| | | | | | | | | | * e-search-bar.c (update_bonobo_menus): Rename the "Search Now" menu entry to "Find Now". Rename the corresponding verb to "ESearchBar:FindNow". (update_sensitivity): Updated accordingly. (setup_standard_verbs): Likewise. svn path=/trunk/; revision=16200
* New halper function to update the sensitivity of the commands.Ettore Perazzoli2002-03-192-0/+46
| | | | | | | | | | | * e-search-bar.c (update_sensitivity): New halper function to update the sensitivity of the commands. (entry_changed_cb): New callback to make the activate_button and the "Find Now" verb sensitive only if the entry has some contents. (activate_by_subitems): Connect the callback here. (setup_standard_verbs): Call update_sensitivity() here. svn path=/trunk/; revision=16199
* Init clear_button to NULL. (add_button): New helper function to add aEttore Perazzoli2002-03-193-15/+54
| | | | | | | | | | | | | | | | * e-search-bar.c (init): Init clear_button to NULL. (add_button): New helper function to add a button to the search bar with the right spacing etc. (clear_search): New helper function. (add_activate_button): Removed. (clear_button_clicked_cb): New. (e_search_bar_construct): Just add the button here using `add_button'. Also add a clear_button. (clear_verb_cb): Rewritten by means of `clear_search()'. * e-search-bar.h (ESearchBar): Add clear_button. svn path=/trunk/; revision=16198
* New, implementation for a new "SearchNow" verb. (setup_standard_verbs):Ettore Perazzoli2002-03-192-0/+21
| | | | | | | | | * e-search-bar.c (search_now_verb_cb): New, implementation for a new "SearchNow" verb. (setup_standard_verbs): Create verb here. (update_bonobo_menus): Add SearchNow menu item. svn path=/trunk/; revision=16197
* [Search bar re-design implementation, Take 2.]Ettore Perazzoli2002-03-194-30/+74
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * e-search-bar.c (clear_verb_cb): New. (setup_standard_verbs): New. (e_search_bar_set_ui_component): Call it if a new BonoboUIComponent is set. (append_xml_menu_item): New helper function. (update_bonobo_menus): Use it. Also add a "Clear" menu item. (e_search_bar_construct): @menu_items can be NULL now. (e_search_bar_new): Same here. (set_menu): Work with NULL items. * e-filter-bar.c (menubar_activated): Don't handle E_FILTERBAR_RESET_ID anymore. * e-filter-bar.h: Remove `E_FILTERBAR_RESET_ID' and `E_FILTERBAR_RESET'. * folder-browser.c: Remove E_FILTERBAR_RESET menu entry. * gui/cal-search-bar.c: Removed `search_menu_items'. (cal_search_bar_menu_activated): Removed. (cal_search_bar_class_init): Don't install. (cal_search_bar_construct): No menu items here. * gui/component/addressbook.c (addressbook_menu_activated): Removed. (addressbook_factory_new_control): Don't connect anymore, as this signal has been removed from the ESearchBar. (addressbook_factory_new_control): No more custom menu items here. svn path=/trunk/; revision=16194
* Allow for per-item closures and also instead of taking a const charJeffrey Stedfast2002-03-162-37/+40
| | | | | | | | | | | | | 2002-03-15 Jeffrey Stedfast <fejj@ximian.com> * gal/gal/widgets/e-popup-menu.c: Allow for per-item closures and also instead of taking a const char *pixname, take a GtkWidget *pixmap instead. * gal/widgets/e-categories.c: Update to sync up with changes made to the EPopupMenu Api. svn path=/trunk/; revision=16182
* Check for a style_set signal on all the contained GnomeCanvasItems.Christopher James Lahey2002-03-166-0/+82
| | | | | | | | | | | | | | | | | | | | | 2002-03-15 Christopher James Lahey <clahey@ximian.com> * gal/widgets/e-canvas.c (e_canvas_style_set): Check for a style_set signal on all the contained GnomeCanvasItems. From gal/e-table/ChangeLog: 2002-03-15 Christopher James Lahey <clahey@ximian.com> * e-cell-toggle.c: Clear the pixmap cache in e_cell_style_set. * e-cell.c, e-cell.h (e_cell_style_set): Added this virtual method. * e-table-item.c, e-table-item.h: Call e_cell_style_set in out style_set signal. svn path=/trunk/; revision=16180
* [Start implementing the new Search Bar design.]Ettore Perazzoli2002-03-165-107/+178
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * e-search-bar.c (init): Init various members to NULL. (set_dropdown): Removed. (add_dropdown): Removed. (set_menu): New. (add_menu_items): New. (set_option): No need to setup the dropdown size here anymore. (verb_cb): Function implementing the search menu verbs. (update_bonobo_menus): New. (e_search_bar_set_ui_component): New. * e-search-bar.h: Remove the dropdown button stuff from struct ESearchBar. Add `uic' and `items' members. * e-filter-bar.c (e_filter_bar_new): Get a @uic arg. * folder-browser-factory.c (control_activate): Set the UI component on the search bar. * gui/tasks-control.c (tasks_control_activate): Call `e_tasks_set_ui_component()' here to give it the BonoboUIComponent. (tasks_control_deactivate): Likewise, call it here to unset the BonoboUIComponent. * gui/e-tasks.c (e_tasks_set_ui_component): New. * gui/calendar-commands.c (calendar_control_activate): Call gnome_calendar_set_ui_component() here. (calendar_control_deactivate): ...And here, with a NULL BonoboUIComponent. * gui/gnome-cal.c (gnome_calendar_set_ui_component): New. * gui/component/addressbook.c (control_activate): Call `e_search_bar_set_ui_component()' to set the BonoboUIComponent for the search bar. * gui/component/GNOME_Evolution_Addressbook.oaf.in: Add an icon for the LDAP sources configuration control. svn path=/trunk/; revision=16178
* Add a GdkPixmap * cache of rendered toggle images. This shouldChristopher James Lahey2002-03-161-48/+130
| | | | | | | | | | 2002-03-15 Christopher James Lahey <clahey@ximian.com> * e-cell-toggle.c: Add a GdkPixmap * cache of rendered toggle images. This should considerably speed up over the wire performance of ECellToggle. svn path=/trunk/; revision=16177
* Set horizontal scroll policy to GTK_POLICY_NEVER here. Don't set usizeChristopher James Lahey2002-03-162-9/+13
| | | | | | | | | | 2002-03-15 Christopher James Lahey <clahey@ximian.com> * e-multi-config-dialog.c (init): Set horizontal scroll policy to GTK_POLICY_NEVER here. Don't set usize here. Changed RGBA_COLOR to RGB_COLOR. Turned on horizontal resize. svn path=/trunk/; revision=16176
* New function that returns the total minimum width of all the columns.Christopher James Lahey2002-03-164-4/+39
| | | | | | | | | | | | | | | 2002-03-15 Christopher James Lahey <clahey@ximian.com> * e-table-header.c, e-table-header.h (e_table_header_min_width): New function that returns the total minimum width of all the columns. * e-table.c, e-table.h (set_header_width): Call e_table_header_min_width here instead of total_width. (et_size_request): Override the size_request method instead of doing set_usize. svn path=/trunk/; revision=16175
* Implemented capitalization keybindings.Christopher James Lahey2002-03-152-17/+91
| | | | | | | | | | | 2002-03-14 Christopher James Lahey <clahey@ximian.com> * e-cell-text.c: Implemented capitalization keybindings. * e-tree.c (item_key_press): Added parentheses to the default case here. svn path=/trunk/; revision=16168
* Made this return a boolean that returns whether the ETableSearch used theChristopher James Lahey2002-03-154-9/+12
| | | | | | | | | | | | | 2002-03-14 Christopher James Lahey <clahey@ximian.com> * e-table-search.c, e-table-search.h (e_table_search_backspace): Made this return a boolean that returns whether the ETableSearch used the backspace at all. * e-table.c (group_key_press), e-tree.c (item_key_press): Used the new return value from e_table_search_backspace. svn path=/trunk/; revision=16166
* Don't search if any modifier but SHIFT or LOCK is pressed.Ettore Perazzoli2002-03-152-4/+6
| | | | | | | | | | * e-tree.c (item_key_press): Don't search if any modifier but SHIFT or LOCK is pressed. * e-table.c (group_key_press): Don't search if any modifier but SHIFT or LOCK is pressed. svn path=/trunk/; revision=16161
* If the charset item doesn't have a class (aka "Unknown"), don't write aJeffrey Stedfast2002-03-142-3/+12
| | | | | | | | | | | 2002-03-13 Jeffrey Stedfast <fejj@ximian.com> * e-charset-picker.c (add_charset): If the charset item doesn't have a class (aka "Unknown"), don't write a class name, instead just give the charset name as the menu item label. Fixes bug #14753. svn path=/trunk/; revision=16154
* Added alpha blending here.Christopher James Lahey2002-03-142-2/+73
| | | | | | | | 2002-03-13 Christopher James Lahey <clahey@ximian.com> * e-multi-config-dialog.c: Added alpha blending here. svn path=/trunk/; revision=16151
* Added selected_column, focused_column, and unselected_column.Christopher James Lahey2002-03-142-17/+118
| | | | | | | | | 2002-03-13 Christopher James Lahey <clahey@ximian.com> * e-cell-pixbuf.c, e-cell-pixbuf.h (pixbuf_draw): Added selected_column, focused_column, and unselected_column. svn path=/trunk/; revision=16149
* Added this function.Christopher James Lahey2002-03-144-1/+26
| | | | | | | | | | | 2002-03-13 Christopher James Lahey <clahey@ximian.com> * e-table-search.c, e-table-search.h (e_table_search_backspace): Added this function. * e-table.c, e-tree.c: Call the new function on backspace. svn path=/trunk/; revision=16145
* Clean up comment.Ettore Perazzoli2002-03-141-3/+1
| | | | svn path=/trunk/; revision=16142
* Replaced e_marshal_BOOL__STRING with this since the function it was usedChristopher James Lahey2002-03-135-24/+53
| | | | | | | | | | | | | | | | | | | | | | | | | 2002-03-13 Christopher James Lahey <clahey@ximian.com> * gal/util/e-util.c, gal/util/e-util.h (e_marshal_BOOL__STRING_INT): Replaced e_marshal_BOOL__STRING with this since the function it was used for has been modified. From gal/e-table/ChangeLog: 2002-03-13 Christopher James Lahey <clahey@ximian.com> * e-table-extras.c (e_string_search): Check for a NULL haystack here. * e-table-search.c, e-table-search.h: Added a parameter to the search signal here to pass in flags. Specifically, added the E_TABLE_SEARCH_FLAGS_CHECK_CURSOR_FIRST flag. Improved the search behavior here. * e-table.c, e-tree.c: Handle the new signature for the search signal here. svn path=/trunk/; revision=16139
* Added ETableSearch support.Christopher James Lahey2002-03-131-50/+164
| | | | | | | | 2002-03-13 Christopher James Lahey <clahey@ximian.com> * e-tree.c: Added ETableSearch support. svn path=/trunk/; revision=16138
* Added support for E_TABLE_MEMORY_STORE_OBJECT which represents a columnChristopher James Lahey2002-03-132-2/+17
| | | | | | | | | | 2002-03-12 Christopher James Lahey <clahey@ximian.com> * e-table-memory-store.c, e-table-memory-store.h: Added support for E_TABLE_MEMORY_STORE_OBJECT which represents a column storing a GtkObject. svn path=/trunk/; revision=16132
* Removed Page struct. (e_multi_config_dialog_add_page): Select the initialChristopher James Lahey2002-03-132-56/+15
| | | | | | | | | | 2002-03-12 Christopher James Lahey <clahey@ximian.com> * e-multi-config-dialog.c: Removed Page struct. (e_multi_config_dialog_add_page): Select the initial row after appending to the model. svn path=/trunk/; revision=16131
* Use Use e_table_memory_store instead of e_table_memory_callbacks. UseChristopher James Lahey2002-03-132-99/+44
| | | | | | | | | | 2002-03-12 Christopher James Lahey <clahey@ximian.com> * e-multi-config-dialog.c (init): Use Use e_table_memory_store instead of e_table_memory_callbacks. Use e_cell_vbox to include a pixbuf cell and a text cell. svn path=/trunk/; revision=16130
* Give the correct height to the subcells instead of overlapping them.Christopher James Lahey2002-03-136-19/+39
| | | | | | | | | | | | | | | | | | | 2002-03-12 Christopher James Lahey <clahey@ximian.com> * e-cell-vbox.c (ecv_draw): Give the correct height to the subcells instead of overlapping them. * e-table-header.c, e-table-header.h (e_table_header_move, eth_calc_widths): Emit the dimension_changed signal with the width of the header. * e-table-memory-store.c (duplicate_value, etms_free_value): Handle NULL pixbufs here. * e-table.c, e-table.h: Connect to the dimension_changed signal and call set_header_width. Did a bit of refactoring here. svn path=/trunk/; revision=16128
* Added e-table-search.lo.Christopher James Lahey2002-03-1214-72/+587
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-03-12 Christopher James Lahey <clahey@ximian.com> * gal/Makefile.am (libgal_la_LIBADD): Added e-table-search.lo. * gal/util/e-util.c, gal/util/e-util.h (e_marshal_BOOL__STRING): Added this marshal function. From gal/e-table/ChangeLog: 2002-03-12 Christopher James Lahey <clahey@ximian.com> * Makefile.am (libetable_la_SOURCES): Added e-table-search.c. (libetableinclude_HEADERS): Added e-table-search.h. * e-cell.h: Added ETableSearchFun here. * e-table-col.h: Added search here. * e-table-column-specification.c, e-table-column-specification.h: Added search here. * e-table-extras.c, e-table-extras.h (e_table_extras_add_search): Added ETableSearchFuncs here. * e-table-memory-store.c (e_table_memory_store_insert, e_table_memory_store_insert_adopt): Handle row == -1 here. * e-table-search.c, e-table-search.h: New class to reusably handle the semantics of searching for a string. * e-table-simple.c, e-table-simple.h: Added a bunch of simple functions here for if your table is all strings. Should be reusable. * e-table-utils.c (et_col_spec_to_col): Added support for searches here. * e-table.c, e-table.h: Added an ETableSearch here. svn path=/trunk/; revision=16119
* Proxy request_collapse signals.Christopher James Lahey2002-03-121-48/+65
| | | | | | | | | 2002-03-11 Christopher James Lahey <clahey@ximian.com> * e-tree-sorted.c (ets_proxy_node_request_collapse): Proxy request_collapse signals. svn path=/trunk/; revision=16116
* Added e-cell-vbox.lo.Christopher James Lahey2002-03-122-0/+556
| | | | | | | | | | | | | | | | | | 2002-03-11 Christopher James Lahey <clahey@ximian.com> * gal/Makefile.am (libgal_la_LIBADD): Added e-cell-vbox.lo. From gal/e-table/ChangeLog: 2002-03-11 Christopher James Lahey <clahey@ximian.com> * Makefile.am (libetable_la_SOURCES): Added e-cell-vbox.c. (libetableinclude_HEADERS): Added e-cell-vbox.h. * e-cell-vbox.c, e-cell-vbox.h: New ECell to take multiple other ECells and use them all in a vertical series. svn path=/trunk/; revision=16110
* Added this function to take a ... list of column data. The expected numberChristopher James Lahey2002-03-122-0/+24
| | | | | | | | | | | 2002-03-11 Christopher James Lahey <clahey@ximian.com> * e-table-memory-store.c (e_table_memory_store_insert_list): Added this function to take a ... list of column data. The expected number of parameters in the ... is the number of columns in the table. svn path=/trunk/; revision=16109
* Added a pixbuf column type.Christopher James Lahey2002-03-126-38/+69
| | | | | | | | | | | | | | 2002-03-11 Christopher James Lahey <clahey@ximian.com> * e-table-memory-store.c, e-table-memory-store.h (E_TABLE_MEMORY_STORE_PIXBUF): Added a pixbuf column type. * e-table-specification.c, e-table-specification.h: Added horizontal-resize attribute. * e-table.c, e-table.h: Handle horizontal_resize. svn path=/trunk/; revision=16108
* Use GNOME_STOCK_BUTTON_CLOSE, not GNOME_STOCK_BUTTON_CANCEL. (do_close):Ettore Perazzoli2002-03-122-10/+18
| | | | | | | | | | * e-multi-config-dialog.c (init): Use GNOME_STOCK_BUTTON_CLOSE, not GNOME_STOCK_BUTTON_CANCEL. (do_close): Renamed from `cancel'. (do_apply): Renamed from `apply'. (do_ok): Renamed from `ok'. svn path=/trunk/; revision=16106
* Rename Page.widget -> Page.page_widget; it is now an EConfigPage insteadEttore Perazzoli2002-03-107-17/+427
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * e-multi-config-dialog.c: Rename Page.widget -> Page.page_widget; it is now an EConfigPage instead of just a GtkWidget. Add `num_unapplied' to EMultiConfigDialogPrivate. Derive from GnomeDialog, not GtkWindow. (update_buttons): New function to update the sensitiveness of the buttons according to whether all the settings have been applied or not. (page_new): Likewise. (create_page_container): Renamed from `create_page_widget'. (init): Add Apply/OK/Cancel buttons to the dialog. Init ->num_unapplied to zero. (page_changed_callback): New, callback for the page's "changed" signal. (e_multi_config_dialog_add_page): Connect the callback, update ->num_unapplied, update the buttons by calling `update_buttons'. (ok): New function for handling the OK button. (apply): New function for handling the Apply button. (cancel): New function for handling the Cancel button. (impl_clicked): Implementation for the GnomeDialog's ::clicked signal. (class_init): Install. * test-multi-config-dialog.c (add_pages): Update to use EConfigPages instead of plain GtkWidgets. * e-multi-config-dialog.c, e-multi-config-dialog.h: Derive from GnomeDialog, not GtkWindow. * e-config-page.c: New. * e-config-page.h: New. svn path=/trunk/; revision=16006
* Bumped version number to 0.19.99.7Chris Toshok2002-03-101-2/+2
| | | | | | | | | | | | | 2002-03-09 Chris Toshok <toshok@ximian.com> * configure.in: Bumped version number to 0.19.99.7 * gal/widgets/e-unicode.c (e_utf8_strstrcasedecomp): we want to return o from here on success, not p, since p is incremented one unicode character past the point where the substring begins. (e_utf8_strstrcase): same. svn path=/trunk/; revision=16000
* Handle a collapse request by marking all descendents of that node asChristopher James Lahey2002-03-095-125/+193
| | | | | | | | | | | | | | | | | | | | 2002-03-08 Christopher James Lahey <clahey@ximian.com> * e-tree-memory.c (etmm_node_request_collapse): Handle a collapse request by marking all descendents of that node as needing their children recomputed. * e-tree-model.c, e-tree-model.h (e_tree_model_node_request_collapse): Added this signal to request that the view of your tree collapse this node. * e-tree-selection-model.c (etsm_selected_count): Pass the root of the sorted model here instead of the root of the base model. * e-tree-table-adapter.c (etta_proxy_node_request_collapse): Handle a collapse request by collapsing the node in the tree. svn path=/trunk/; revision=15990
* Added a fill_in_children signal.Christopher James Lahey2002-03-082-5/+50
| | | | | | | | | 2002-03-08 Christopher James Lahey <clahey@ximian.com> * e-tree-memory.c, e-tree-memory.h (check_children): Added a fill_in_children signal. svn path=/trunk/; revision=15988
* Add test-multi-config-dialog.Ettore Perazzoli2002-03-081-1/+2
| | | | svn path=/trunk/; revision=15976
* Don't display a header in the table on the left.Ettore Perazzoli2002-03-082-2/+8
| | | | | | | * e-multi-config-dialog.c: Don't display a header in the table on the left. svn path=/trunk/; revision=15975
* New. New.Ettore Perazzoli2002-03-065-4/+563
| | | | | | | | | | * test-multi-config-dialog.c: New. * test-multi-config-dialog.h: New. * e-multi-config-dialog.c: New. * e-multi-config-dialog.h: New. svn path=/trunk/; revision=15932
* Re-disable tooltips since they're (still) fantastically obnoxious withDan Winship2002-03-061-2/+0
| | | | | | | * e-table-item.c: Re-disable tooltips since they're (still) fantastically obnoxious with focus-follows-mouse. (OKed by Ettore). svn path=/trunk/; revision=15927
* only call the cell's print method if it has one. Avoids crashing forDamon Chaplin2002-03-051-1/+2
| | | | | | | | | 2002-03-04 Damon Chaplin <damon@ximian.com> * e-cell.c (e_cell_print): only call the cell's print method if it has one. Avoids crashing for unimplemented print methods. svn path=/trunk/; revision=15903
* If tab is hit and the cursor is still in the entry, move down into theJon Trowbridge2002-03-011-11/+36
| | | | | | | | | | | 2002-02-28 Jon Trowbridge <trow@ximian.com> * gal/e-text/e-completion-view.c (e_completion_view_key_press_handler): If tab is hit and the cursor is still in the entry, move down into the entry otherwise unbrowse. svn path=/trunk/; revision=15878
* make a right click bring up the popup menu.Larry Ewing2002-02-282-2/+9
| | | | | | | | | 2002-02-27 Larry Ewing <lewing@ximian.com> * misc/e-combo-button.c (impl_button_press_event): make a right click bring up the popup menu. svn path=/trunk/; revision=15858
* preserve behavior - hook search_activated signal to the same function asChris Toshok2002-02-254-23/+63
| | | | | | | | | | | | | | | | | | | | | | | | | 2002-02-24 Chris Toshok <toshok@ximian.com> * e-filter-bar.c (init): preserve behavior - hook search_activated signal to the same function as query_changed. * e-search-bar.c (emit_search_activated): new function. (entry_activated_cb): use emit_search_activated instead of emit_query_changed. (subitem_activated_cb): same. (activate_button_clicked_cb): same. (class_init): add the search_activated signal. (idle_activate_hack): rename idle_change_hack to this, and emit_search_activated. (e_search_bar_construct): idle_change_hack -> idle_activate_hack. (e_search_bar_set_subitem_id): emit_search_activated instead of emit_query_changed. (e_search_bar_set_text): same. * e-search-bar.h (struct _ESearchBarClass): add a search_activated signal. svn path=/trunk/; revision=15827
* gtk_widget_show() the icon_pixmap if the specified icon is not NULL.Ettore Perazzoli2002-02-222-1/+23
| | | | | | | * e-combo-button.c (set_icon): gtk_widget_show() the icon_pixmap if the specified icon is not NULL. svn path=/trunk/; revision=15788
* Added e-table-memory-store.lo.Christopher James Lahey2002-02-2211-184/+1101
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-02-21 Christopher James Lahey <clahey@ximian.com> * gal/Makefile.am (libgal_la_LIBADD): Added e-table-memory-store.lo. From gal/e-table/ChangeLog: 2002-02-21 Christopher James Lahey <clahey@ximian.com> * Makefile.am (libetable_la_SOURCES): Added e-table-memory-store.c. (libetableinclude_HEADERS): Added e-table-memory-store.h. * e-table-config-no-group.glade, e-table-config.glade: Updated these. * e-table-config.c, e-table-config.h: Updated this to have a working field list editor. * e-table-memory-store.c, e-table-memory-store.h: New ETableModel that is a complete store of all the data in your table. No callbacks at all. * e-table-subset-variable.c, e-table-subset-variable.h (e_table_subset_variable_clear): Added this simple function * e-table-subset.c (etss_get_save_id): Made this return the row number g_strdup_printfed if the source model doesn't support save ids. 2002-02-20 Christopher James Lahey <clahey@ximian.com> * e-table-sorter.c, e-table-sorter.h: Connect to the model_rows_inserted, model_rows_deleted, and group_info_changed here. svn path=/trunk/; revision=15783
* Initialize frozen_count to 0.Christopher James Lahey2002-02-201-0/+2
| | | | | | | | | 2002-02-19 Christopher James Lahey <clahey@ximian.com> * e-tree-selection-model.c (e_tree_selection_model_init): Initialize frozen_count to 0. svn path=/trunk/; revision=15765
* Make the defalut for tooltips be on.Christopher James Lahey2002-02-141-2/+1
| | | | | | | | 2002-02-13 Christopher James Lahey <clahey@ximian.com> * e-table-item.c (eti_event): Make the defalut for tooltips be on. svn path=/trunk/; revision=15719
* New signal for when the width of the column changes.Christopher James Lahey2002-02-133-0/+24
| | | | | | | | | | | | | | | | | | | | | 2002-02-13 Christopher James Lahey <clahey@ximian.com> * gal/widgets/e-reflow.c, gal/widgets/e-reflow.h (column_width_changed): New signal for when the width of the column changes. * gal/util/e-util.c, gal/util/e-util.h (e_marshal_NONE__DOUBLE): New marshaller. From gal/menus/ChangeLog: 2002-02-13 Christopher James Lahey <clahey@ximian.com> * gal-view-etable.c (detach_table): Set view->table_state_changed_id to 0. (detach_tree): Set view->tree_state_changed_id to 0. svn path=/trunk/; revision=15705
* Cancel tooltip timeouts here.Christopher James Lahey2002-02-131-8/+25
| | | | | | | | 2002-02-12 Christopher James Lahey <clahey@ximian.com> * e-table-item.c (eti_unrealize): Cancel tooltip timeouts here. svn path=/trunk/; revision=15686
* remove briefly used filesJP Rosevear2002-02-093-238/+4
| | | | | | | | 2002-02-08 JP Rosevear <jpr@ximian.com> * e-url-button.[hc]: remove briefly used files svn path=/trunk/; revision=15623
* oopsJP Rosevear2002-02-092-0/+234
| | | | svn path=/trunk/; revision=15621
* button/entry combo that launchs the gnome url handler on the entry textJP Rosevear2002-02-092-2/+9
| | | | | | | | | | | 2002-02-08 JP Rosevear <jpr@ximian.com> * e-url-entry.[hc]: button/entry combo that launchs the gnome url handler on the entry text when the button is clicked * Makefile.am: build new files svn path=/trunk/; revision=15620
* Call scroll_off and in e-tree.c hover_off.Christopher James Lahey2002-02-092-8/+29
| | | | | | | | | 2002-02-08 Christopher James Lahey <clahey@ximian.com> * e-table.c (et_unrealize), e-tree.c (et_unrealize): Call scroll_off and in e-tree.c hover_off. svn path=/trunk/; revision=15618
* build new filesJP Rosevear2002-02-094-1/+248
| | | | | | | | | | | 2002-02-08 JP Rosevear <jpr@ximian.com> * Makefile.am: build new files * e-url-button.[hc]: button widget that when clicked slurps the url of an entry and launchs the gnome url handler on the text svn path=/trunk/; revision=15609
* New function to handle unmerging menus at control deactivation time. (d):Christopher James Lahey2002-02-083-15/+35
| | | | | | | | | | | | | 2002-02-07 Christopher James Lahey <clahey@ximian.com> * menus/gal-view-menus.c, menus/gal-view-menus.h (gal_view_menus_unmerge): New function to handle unmerging menus at control deactivation time. (d): Turned off debugging output here. (build_menus): Gave the separators names and marked them with f="" to make them work better with bonobo 1. svn path=/trunk/; revision=15599
* Bumped the required version of gal.Christopher James Lahey2002-02-073-117/+264
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-02-07 Christopher James Lahey <clahey@ximian.com> * configure.in: Bumped the required version of gal. From addressbook/ChangeLog: 2002-02-07 Christopher James Lahey <clahey@ximian.com> * gui/widgets/e-addressbook-view.c (e_addressbook_view_setup_menus): Changed this function to use the new GalViewMenus which takes a GalViewInstance, instead of a GalViewCollection. From calendar/ChangeLog: 2002-02-07 Christopher James Lahey <clahey@ximian.com> * gui/e-tasks.c (e_tasks_setup_view_menus), gui/gnome-cal.c (gnome_calendar_setup_view_menus): Made these use the new GalViewMenus stuff. From mail/ChangeLog: 2002-02-07 Christopher James Lahey <clahey@ximian.com> * folder-browser.c, folder-browser.h, folder-browser-ui.c, folder-browser-ui.h (folder_browser_ui_setup_view_menus, folder_browser_ui_discard_view_menus): Changed this to use the new GalViewMenus stuff. Made these exported functions. * mail-callbacks.c, message-browser.c: Changed these to not pass the now removed row parameter to message_list_select. * mail-config.c, mail-config.h (mail_config_folder_to_safe_url): Refactored this out of mail_config_folder_to_cachename. * message-list.c, message-list.h (message_list_select): Removed the row argument. Changed this to use the new function in ETree for finding the next cursor row that matches a test. (message_list_construct): Handle a failed construction of the ETree here. (message_list_setup_etree, save_tree_state): Don't load or save the header state. folder-browser-ui.c deals with this now. From views/ChangeLog: 2002-02-07 Christopher James Lahey <clahey@ximian.com> * addressbook/galview.xml, calendar/galview.xml, mail/galview.xml, tasks/galview.xml: Added default-view parameters. * mail/As_Sent_Folder.galview: New galview. * mail/Makefile.am, mail/galview.xml: Added As_Sent_Folder galview. From widgets/ChangeLog: 2002-02-07 Christopher James Lahey <clahey@ximian.com> * menus/gal-view-menus.c, menus/gal-view-menus.h (gal_view_menus_new): Made this take a GalViewInstance instead of a GalViewCollection. Reworked most of this to utilize the interfaces provided by GalViewInstance. svn path=/trunk/; revision=15592
* Create the local directory when loading instead of when saving. This wayChristopher James Lahey2002-02-071-2/+2
| | | | | | | | | | 2002-02-07 Christopher James Lahey <clahey@ximian.com> * gal-view-collection.c (gal_view_collection_load): Create the local directory when loading instead of when saving. This way instance data will have somewhere to be saved. svn path=/trunk/; revision=15591
* Bumped the version number to 0.19.99.5.Christopher James Lahey2002-02-0710-158/+1295
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-02-07 Christopher James Lahey <clahey@ximian.com> * configure.in: Bumped the version number to 0.19.99.5. * gal/Makefile.am (libgal_la_LIBADD): Added menus/gal-view-instance-save-as-dialog.lo. * gal/e-text/e-text.c (next_word): Contains refactored code from the E_TEP_FORWARD_WORD case of e_text_command. (e_text_command): Implemented E_TEP_CAPS. From gal/menus/ChangeLog: 2002-02-07 Christopher James Lahey <clahey@ximian.com> * Makefile.am (glade_DATA): Added gal-view-instance-save-as-dialog.glade. (libgalmenus_la_SOURCES): Added gal-view-instance-save-as-dialog.c. (libgalmenusinclude_HEADERS): Added gal-view-instance-save-as-dialog.h. * gal-view-collection.c, gal-view-collection.h (gal_view_collection_append_with_title): Added this new version of the append function that sets the title and returns the new id as well. (gal_view_collection_set_nth_view): Added this function to save over another view. (gal_view_collection_get_default_view, gal_view_collection_set_default_view): Added the concept of a default view for GalViewCollections. * gal-view-etable.c, gal-view-etable.h (gal_view_etable_attach_table, gal_view_etable_attach_tree, gal_view_etable_detach): Added functions to set the state of a table or tree and then send GalView "changed" signals whenever that state changes. (gal_view_etable_set_state): New function to set the ETableState of a GalViewETable. * gal-view-instance-save-as-dialog.c, gal-view-instance-save-as-dialog.glade, gal-view-instance-save-as-dialog.h: New dialog to save the current custom view as a named view. * gal-view-instance.c, gal-view-instance.h (gal_view_instance_set_custom_view): New function to set the state of an instance to custom view and set the custom view to a particular GalView. (gal_view_instance_exists): New function to check if this particular instance has ever been opened before. Use before gal_view_instance_load. (gal_view_instance_save_as): New function to open a save as dialog. (gal_view_instance_load): Added this function which used to be part of _construct. This function can be called multiple times, and those extra times will be ignored. This is so you can set a default view before loading. (gal_view_instance_get_default_view, gal_view_instance_set_default_view): Set the default view for this instance. If unset, this falls back to the default view for the corresponding GalViewCollection. svn path=/trunk/; revision=15590
* *** empty log message ***Chris Lahey2002-02-077-38/+239
| | | | svn path=/trunk/; revision=15588
* Added gal-view-instance.c and gal-view-instance.h.Christopher James Lahey2002-02-014-72/+573
| | | | | | | | | | | | | | | | | | 2002-01-31 Christopher James Lahey <clahey@ximian.com> * Makefile.am: Added gal-view-instance.c and gal-view-instance.h. * gal-view-collection.c, gal-view-collection.h (gal_view_collection_load_view_from_file): Factored out this function so that it can be used outside of gal-view-collection.c. (gal_view_collection_get_view_index_by_id, gal_view_collection_get_view_id_by_index, gal_view_collection_loaded): Added these functions. * gal-view-instance.c, gal-view-instance.h: New class representing a single folder of a particular type of folder. svn path=/trunk/; revision=15544
* Made this function much more readable. Got rid of all the gotos. Fixed aChristopher James Lahey2002-02-012-37/+54
| | | | | | | | | | | | | | | 2002-01-31 Christopher James Lahey <clahey@ximian.com> * e-tree-model.c (e_tree_model_node_find): Made this function much more readable. Got rid of all the gotos. Fixed a case where going backwards during a root search checked the root node first. (e_tree_model_node_real_traverse): Made backwards traversals be postorder, as they should be, instead of preorder. * e-tree.c (find_next_callback): Use an extra callback function here to go from sorted path to model path. svn path=/trunk/; revision=15543
* Make this function take a bitfield of parameters instead of two bools.Christopher James Lahey2002-01-312-6/+12
| | | | | | | | | 2002-01-31 Christopher James Lahey <clahey@ximian.com> * e-tree.c, e-tree.h (e_tree_find_next): Make this function take a bitfield of parameters instead of two bools. svn path=/trunk/; revision=15538
* Added this simple accessor function.Christopher James Lahey2002-01-314-0/+49
| | | | | | | | | | | | | | 2002-01-31 Christopher James Lahey <clahey@ximian.com> * e-tree-selection-model.c, e-tree-selection-model.h (e_tree_selection_model_get_cursor): Added this simple accessor function. * e-tree.c, e-tree.h (e_tree_find_next): Searches from the cursor given the search parameters and moves the cursor if it ever matches. svn path=/trunk/; revision=15537
* New function to do a search through a tree in one direction or the other.Christopher James Lahey2002-01-312-89/+206
| | | | | | | | | | 2002-01-31 Christopher James Lahey <clahey@ximian.com> * e-tree-model.c, e-tree-model.h (e_tree_model_node_find): New function to do a search through a tree in one direction or the other. svn path=/trunk/; revision=15536
* Final cleanup for the CFLAGS and LIBS in the Makefiles.Ettore Perazzoli2002-01-285-23/+29
| | | | svn path=/trunk/; revision=15486
* [Implement an Outlook-style "New" dropdown button. It is basicallyEttore Perazzoli2002-01-243-110/+247
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | done but it needs pretty icons so I am leaving it disabled for now.] * e-combo-button.c: Remove member `separator' from `EComboButtonPrivate'. New members `icon', `label'. (init): There shall be no separator no more. Init `icon' and `label' to %NULL. (e_combo_button_construct): Set no relief. (e_combo_button_new): Don't get a @menu arg anymore. (e_combo_button_construct): Likewise. (e_combo_button_set_icon): New. (e_combo_button_set_label): New. (e_combo_button_set_menu): New. (impl_clicked): New, overriding the "clicked" method for GtkButton. (class_init): Install. (impl_button_release_event): Removed. (class_init): No need to override ::release_event with this anymore. (impl_released): New, override for the GtkButton::released method. (class_init): Install. * e-shell-user-creatable-items-handler.c: New member `id' in struct `Component'. New member `icon' in struct `MenuItem'. (component_free): Free ->id. (component_new): Renamed from `component_new_from_client'. Get an @id arg and set ->id accordingly. (e_shell_user_creatable_items_handler_add_component): New arg @id. Pass it to `component_new'. (e_shell_user_creatable_items_handler_setup_menus): New arg @current_component_id. (e_shell_user_creatable_items_handler_update_menus): New. (set_current_component): New helper function. (get_component_by_id): New helper function. (add_verbs): Renamed from `add_verbs_to_ui_component()'. Get a @shell_view instead of a @ui_component. Set the SHELL_VIEW_KEY on the ui_component of the shell_view to point to the shell_view itself. (ensure_menu_items): Set item->icon to NULL. (free_menu_items): Unref item->icon. (ensure_menu_xml): Set the icon as well. (get_default_action_for_view): New helper function. (find_menu_item_for_verb): New helper function. (shell_view_view_changed_callback): New callback, set up the label on the "New" button depending on the current component. (e_shell_user_creatable_items_handler_attach_menus): New. For now, do not display the toolbar button yet. (execute_verb): New helper function, splitting out code from `verb_fn'. (verb_fn): Use `execute_verb'. (combo_button_activate_default_callback): Callback for the "activate_default" signal on the EComboButton. (setup_toolbar_button): Connect. * evolution-shell-component.c: New member `icon' in `UserCreatableItemType'. (impl__get_userCreatableItemTypes): Put the ->icon in the corba_type as well. (user_creatable_item_type_new): Get a new @icon argument. (evolution_shell_component_add_user_creatable_item): New arg @icon. * Evolution-ShellComponent.idl: New member `icon' in struct `UserCreatableItemType'. * evolution-test-component.c (register_component): Pass a NULL @icon to `evolution_shell_component_add_user_creatable_item()'. * e-shell-view.c (class_init): Add the signal to the class. (e_shell_view_display_uri): Emit "view_changed". (e_shell_view_get_current_component_id): New. * evolution-shell-component-client.c: New member `id' in EvolutionShellComponentClientPrivate. (init): Init to NULL. (impl_destroy): Free. (evolution_shell_component_client_new_for_objref): Removed. (evolution_shell_component_client_construct): New arg @id. Initialize ->id from it. (evolution_shell_component_client_get_id): New. * e-shell-view.h: New signal "view_changed". * evolution-activity-client.c (create_icon_from_pixbuf): Removed. (create_corba_animated_icon_from_pixbuf_array): Removed. (evolution_activity_client_construct): Use `e_new_corba_animated_icon_from_pixbuf_array()' instead. svn path=/trunk/; revision=15438
* Implement max_width_by_row.Christopher James Lahey2002-01-224-126/+211
| | | | | | | | | | | | | 2002-01-21 Christopher James Lahey <clahey@ximian.com> * e-cell-text.c: Implement max_width_by_row. * e-cell-tree.c: Use max_width_by_row in max_width function. * e-cell.c, e-cell.h (e_cell_max_width_by_row): Added this new method to ECell. svn path=/trunk/; revision=15418
* Request a reflow and an update when the text model changes. Fixes XimianChristopher James Lahey2002-01-211-3/+4
| | | | | | | | | | | | 2002-01-20 Christopher James Lahey <clahey@ximian.com> * gal/e-text/e-text.c (e_text_text_model_changed): Request a reflow and an update when the text model changes. Fixes Ximian bug #16459. (e_text_set_arg): (ARG_TEXT) Don't set the number of lines to one here. svn path=/trunk/; revision=15411
* new file, implements the ECellProgress object.Krisztian Pifko2002-01-172-0/+524
| | | | | | | | | | | | 2002-01-16 Krisztian Pifko <monsta@users.sourceforge.net> * e-cell-progress.c, e-cell-progress.h: new file, implements the ECellProgress object. * Makefile.am (libetable_la_SOURCES, libetableinclude_HEADERS): added e-cell-progress.c and e-cell-progress.h. svn path=/trunk/; revision=15341
* Added #include <libgnome/gnome-defs.h>.Christopher James Lahey2002-01-177-0/+7
| | | | | | | | | | | | | 2002-01-16 Christopher James Lahey <clahey@ximian.com> * gal/e-text/e-entry.h, gal/e-text/e-table-text-model.h, gal/e-text/e-text-model-uri.h, gal/e-text/e-text.h, gal/util/e-i18n.h, gal/widgets/e-canvas-utils.h, gal/widgets/e-gui-utils.h, gal/widgets/e-printable.h, gal/widgets/gtk-combo-stack.h: Added #include <libgnome/gnome-defs.h>. svn path=/trunk/; revision=15340
* Added #include <libgnome/gnome-defs.h>.Christopher James Lahey2002-01-1728-0/+31
| | | | | | | | | | | | | | | | | 2002-01-16 Christopher James Lahey <clahey@ximian.com> * e-cell-checkbox.h, e-cell-date.h, e-cell-float.h, e-cell-number.h, e-cell-size.h, e-cell-text.h, e-cell-toggle.h, e-cell-tree.h, e-cell.h, e-table-click-to-add.h, e-table-col-dnd.h, e-table-config-field.h, e-table-extras.h, e-table-field-chooser-item.h, e-table-group-container.h, e-table-group-leaf.h, e-table-group.h, e-table-header-item.h, e-table-item.h, e-table-scrolled.h, e-table-sorter.h, e-table-tooltip.h, e-table-tree.h, e-table-utils.h, e-table.h, e-tree-scrolled.h, e-tree-sorted-variable.h, e-tree.h: Added #include <libgnome/gnome-defs.h>. svn path=/trunk/; revision=15339
* New functions for saving selection state and such.Christopher James Lahey2002-01-165-23/+210
| | | | | | | | | | | | | | | | 2002-01-15 Christopher James Lahey <clahey@ximian.com> * e-cell.c, e-cell.h (e_cell_save_state, e_cell_load_state, e_cell_free_state): New functions for saving selection state and such. * e-cell-text.c (ect_save_state): Implemented the new state functions. * e-table-item.c, e-table-item.h: Use the new cell state functions when focusing in or out. Fixes Ximian bug #14968. svn path=/trunk/; revision=15335
* Handle the case of a 0 length string properly here.Christopher James Lahey2002-01-151-0/+6
| | | | | | | | | 2002-01-14 Christopher James Lahey <clahey@ximian.com> * gal/e-text/e-text.c (line_splitter): Handle the case of a 0 length string properly here. svn path=/trunk/; revision=15323
* translate timezone names, and provide a function to get back to theDamon Chaplin2002-01-124-11/+69
| | | | | | | | | 2002-01-11 Damon Chaplin <damon@ximian.com> * e-timezone-dialog/e-timezone-dialog.[hc]: translate timezone names, and provide a function to get back to the English version. svn path=/trunk/; revision=15303
* Made the header item here handle horizontal scrolling when adding aChristopher James Lahey2002-01-102-23/+157
| | | | | | | | | | 2002-01-09 Christopher James Lahey <clahey@ximian.com> * e-table-header-item.c, e-table-header-item.h (scroll_timeout): Made the header item here handle horizontal scrolling when adding a column. svn path=/trunk/; revision=15278
* Bumped version number to 0.19.99.0. Bumped GAL_CURRENT. ResetChristopher James Lahey2002-01-093-43/+87
| | | | | | | | | | | | | | | | | 2002-01-09 Christopher James Lahey <clahey@ximian.com> * configure.in: Bumped version number to 0.19.99.0. Bumped GAL_CURRENT. Reset GAL_REVISION. From gal/e-table/ChangeLog: 2002-01-09 Christopher James Lahey <clahey@ximian.com> * e-table.c, e-table.h (scroll_timeout), e-tree.c (scroll_timeout): Made these handle horizontal scrolling during drags. svn path=/trunk/; revision=15272
* Collapse nodes that were opened during a drag, unless the drop site is aChristopher James Lahey2002-01-091-3/+53
| | | | | | | | | | 2002-01-09 Christopher James Lahey <clahey@ximian.com> * e-tree.c (collapse_drag): Collapse nodes that were opened during a drag, unless the drop site is a child node. Fixes Ximian bug #4965. svn path=/trunk/; revision=15271
* changed the location of the Hebrew charset in the menuJeffrey Stedfast2002-01-051-3/+3
| | | | svn path=/trunk/; revision=15247
* Added iso-8859-8 (Hebrew; Visual) to the list of charsets in the menu.Jeffrey Stedfast2002-01-052-0/+8
| | | | | | | | | 2002-01-04 Jeffrey Stedfast <fejj@ximian.com> * e-charset-picker.c: Added iso-8859-8 (Hebrew; Visual) to the list of charsets in the menu. Fixes bug #15655. svn path=/trunk/; revision=15246
* Reworked to fix bugs related to breaking text on newlines. Some fairlyJon Trowbridge2001-12-281-169/+95
| | | | | | | | | | 2001-12-27 Jon Trowbridge <trow@ximian.com> * gal/e-text/e-text.c (split_into_lines): Reworked to fix bugs related to breaking text on newlines. Some fairly substantial code duplication was removed in the process. svn path=/trunk/; revision=15219
* New. New.Ettore Perazzoli2001-12-204-0/+432
| | | | | | | * e-combo-button.c: New. * e-combo-button.h: New. svn path=/trunk/; revision=15191
* Merging changes:Christopher James Lahey2001-12-191-11/+2
| | | | | | | | | 2001-12-17 Christopher James Lahey <clahey@ximian.com> * e-cell-toggle.c (etog_set_value): Don't queue a redraw here. the value changed signal will do that automatically. svn path=/trunk/; revision=15160
* Merging changes:Christopher James Lahey2001-12-182-2/+7
| | | | | | | | | | | | | | | | | 2001-12-17 Christopher James Lahey <clahey@ximian.com> * gal/widgets/e-selection-model-simple.c (e_selection_model_simple_set_row_count): Set esma->selected_row and esma->selected_range_end to -1 here. * gal/widgets/e-selection-model-array.c (e_selection_model_array_confirm_row_count): Set selected_row and selected_range_end to -1 here. (esma_select_single_row): Check that selected_row is within the range of possible rows. This should never happen, but this check will help if it does. svn path=/trunk/; revision=15142
* Merging changes:Christopher James Lahey2001-12-182-0/+546
| | | | | | | | | | | | | | | 2001-11-08 Christopher James Lahey <clahey@ximian.com> * gal/Makefile.am: Added e-canvas-background.lo. * gal/widgets/Makefile.am: Added e-canvas-background.c and e-canvas-background.h. * gal/widgets/e-canvas-background.c, gal/widgets/e-canvas-background.h: New class, provides infinite background color or arbitrary rectangle of background color. svn path=/trunk/; revision=15126