Commit Graph

448 Commits

Author SHA1 Message Date
387af10dfa (init): Change dialog from
OK/Apply/Cancel to Apply/Close/OK to be closer to the HIG.

svn path=/trunk/; revision=19466
2003-01-14 22:30:15 +00:00
3be3c9494b Do not #include <e-bonobo-widget.h>. (e_set_dialog_parent): Remove the
* e-dialog-utils.c: Do not #include <e-bonobo-widget.h>.
(e_set_dialog_parent): Remove the BonoboWidget handling stuff (it
doesn't really work anyways).

* e-shell-view.c: Do not #include "e-bonobo-widget.h".

* Makefile.am (widgetsinclude_HEADERS): Ooops, remove
e-bonobo-widget.h.
(libemiscwidgets_a_SOURCES): Likewise, remove e-bonobo-widget.c.

svn path=/trunk/; revision=19460
2003-01-14 20:19:26 +00:00
51203b37f4 (EXTRA_DIST): e-util-marshal.list, not
e-book-marshal.list.
(widgetsinclude_HEADERS): Add e-bonobo-widget.h.
(libemiscwidgets_a_SOURCES): Add e-bonobo-widget.c.

svn path=/trunk/; revision=19457
2003-01-14 18:31:34 +00:00
5513846c31 (EXTRA_DIST): e-util-marshal.list, not
e-book-marshal.list.

svn path=/trunk/; revision=19443
2003-01-14 16:58:55 +00:00
86033606aa Images are now in $(datadir)/evolution/images
instead of $(datadir)/images/evolution.

svn path=/trunk/; revision=19294
2003-01-08 22:36:12 +00:00
6d87926c24 Removed the g_assert_not_reached(). If you hit the close button on your
2002-12-10  Not Zed  <NotZed@Ximian.com>

        * e-multi-config-dialog.c (impl_response): Removed the
        g_assert_not_reached().  If you hit the close button on your
        window it would abort, treat same as close.

svn path=/trunk/; revision=19083
2002-12-10 11:06:13 +00:00
bdd9cae5e9 rework this to be faster and deal more correctly with the ellipsis.
2002-12-09  Chris Toshok  <toshok@ximian.com>

	* e-clipped-label.[ch]: rework this to be faster and deal more
	correctly with the ellipsis.

svn path=/trunk/; revision=19076
2002-12-09 23:30:30 +00:00
31002ecdfa guard against multiple calls.
2002-12-04  Chris Toshok  <toshok@ximian.com>

	* gal/widgets/e-canvas-background.c (ecb_dispose): guard against
	multiple calls.

svn path=/trunk/; revision=19009
2002-12-04 22:40:41 +00:00
200071108f Don't leak old sort info.
2002-12-03  Hans Petter Jansson  <hpj@ximian.com>

        * e-table.c (e_table_get_state_object): Don't leak old sort info.

2002-12-03  Hans Petter Jansson  <hpj@ximian.com>

        * gal/widgets/e-canvas-background.c (ecb_destroy): Don't leak
        private structure.

svn path=/trunk/; revision=18999
2002-12-03 23:09:17 +00:00
fee69a584f dispose can be run multiple times too ... bloody gobject crap.
2002-12-03  Not Zed  <NotZed@Ximian.com>

        * e-search-bar.c (impl_dispose): dispose can be run multiple times
        too ... bloody gobject crap.

svn path=/trunk/; revision=18992
2002-12-03 04:55:22 +00:00
19da39fe23 Reverted
svn path=/trunk/; revision=18983
2002-12-02 13:10:17 +00:00
ed349d459b Included gtkmessagedialog.h.
2002-12-02  Rodrigo Moya <rodrigo@ximian.com>

	* e-cahrset-picker.c: Included gtkmessagedialog.h.

svn path=/trunk/; revision=18981
2002-12-02 12:26:43 +00:00
0ac49c9334 Add include of gnome-dialog.h
2002-11-27  Not Zed  <NotZed@Ximian.com>

        * e-charset-picker.c: Add include of gnome-dialog.h

        * *.[ch]: ran fix.sh script over everything.

svn path=/trunk/; revision=18979
2002-12-02 04:32:10 +00:00
4354c0ac03 Add include of gnome-dialog.h
2002-11-27  Not Zed  <NotZed@Ximian.com>

        * e-charset-picker.c: Add include of gnome-dialog.h

        * *.[ch]: ran fix.sh script over everything.

svn path=/trunk/; revision=18978
2002-12-02 03:28:22 +00:00
fb5e3d7237 Dont grab_add anymore on the button, gtk_button is changed in gtk2 not to
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
2002-11-26 10:41:05 +00:00
36ef28a759 column_width = double. (e_reflow_realize): no need to cast to double,
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
2002-11-19 00:32:34 +00:00
56f74fbb19 we need to destroy the dialog after we've run it, because run doesn't do
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
2002-11-18 07:52:45 +00:00
0e8f42c136 convert this to wrap around GtkMessageDialog.
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
2002-11-17 08:00:40 +00:00
68b8639345 fix c&p typo.
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
2002-11-17 05:40:18 +00:00
7ffb70dc82 fix c&p typo.
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
2002-11-17 01:44:53 +00:00
183eb85406 lots of GObject work.
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
2002-11-16 23:42:18 +00:00
2a9def0dc9 new function, build pango layout for string.
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
2002-11-15 20:29:59 +00:00
b7c86285a3 (esma_dispose): g_object_unref() instead of gtk_object_unref().
(esma_dispose):
g_object_unref() instead of gtk_object_unref().

svn path=/trunk/; revision=18779
2002-11-15 16:36:30 +00:00
b39be53775 deal with EBitArray/ESorter being a GObject now.
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
2002-11-15 02:47:18 +00:00
555aa35da2 this derives from GObject now.
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
2002-11-15 02:18:33 +00:00
e69c2b94c2 New. (e_clipped_label_destroy): Removed.
* 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
2002-11-14 21:49:19 +00:00
792733a3c6 Changed to use g_object_*() and g_signal_*()
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
2002-11-14 17:46:44 +00:00
f9ea4ba866 port to GObject.
2002-11-11  Chris Toshok  <toshok@ximian.com>

	* e-dateedit.[ch]: port to GObject.

svn path=/trunk/; revision=18717
2002-11-12 03:26:44 +00:00
07d5771f17 (init): Use GObject functions instead of
GtkObject throughout.

svn path=/trunk/; revision=18706
2002-11-11 19:50:22 +00:00
18fc8bd2e8 Replace gtk_object_(un)?ref() with g_object_(un)?ref(). Likewise.
* 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
2002-11-11 19:21:17 +00:00
f2b2d6abb5 Removed. (impl_finalize): New. (class_init): Override GObject::finalize,
* 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
2002-11-11 17:23:00 +00:00
ce98870b71 include gnome-dialog
2002-11-07  JP Rosevear  <jpr@ximian.com>

	* e-filter-bar.c: include gnome-dialog

svn path=/trunk/; revision=18649
2002-11-07 23:01:25 +00:00
b59fb51176 ignore the generated marshal source.
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
2002-11-07 04:52:05 +00:00
1bc3152fa0 remove duplicate g_signal_new for column_width_changed.
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
2002-11-07 01:08:26 +00:00
f26171af1e (impl_expose_event): Use
gtk_container_propagate_expose().

svn path=/trunk/; revision=18526
2002-11-04 15:20:53 +00:00
9c73777f22 First big sync of my GNOME 2 porting work (incomplete, and still
pretty broken).

Weeeeee!

svn path=/trunk/; revision=18503
2002-11-02 08:25:03 +00:00
613453b109 merging the gal-2 branch back to the trunk.
merging the gal-2 branch back to the trunk.

svn path=/trunk/; revision=18471
2002-10-31 21:30:57 +00:00
3a11574695 Emit a search_activated signal. (e_search_bar_set_item_id): Revert to
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
2002-10-28 22:37:53 +00:00
4b68843dfa If the clear button was pressed, we want the entry to be sensitive (not
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
2002-10-24 01:48:20 +00:00
eac24fd792 (activate_by_subitems): gtk_widget_grab_focus()
on the entry when adding it in.

svn path=/trunk/; revision=18418
2002-10-23 17:39:09 +00:00
19ebd1a847 Don't include the byte reserved for the nul in the outleft size.
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
2002-10-16 21:39:27 +00:00
4665c04ce8 check if the selection fits in the leftover days
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
2002-10-15 16:45:21 +00:00
44a1f8aeec [Add a small delay to the switching of pages in the multi-config
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
2002-09-30 20:02:36 +00:00
9443d16f7a Ooops.
svn path=/trunk/; revision=18247
2002-09-27 19:10:47 +00:00
ce52b78fb8 (create_page_container): Don't set up
the description label here.

svn path=/trunk/; revision=18243
2002-09-27 18:21:58 +00:00
e308c256c8 add the gtk2 keypad entries (resync with gdk).
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
2002-09-25 06:20:06 +00:00
c010a13946 Clear search by setting text to "" and search to first search.
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
2002-09-24 04:58:00 +00:00
0ddf9119dd Fix some non-ANSI switch statements.
* e-filter-bar.c: Fix some non-ANSI switch statements.

svn path=/trunk/; revision=18155
2002-09-22 22:50:50 +00:00
ca0432fb04 need to make the find now button sensitive when you select something from
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
2002-08-29 21:41:07 +00:00
61a36eb138 kill a return that caused selection ranges to not emit selection_changed
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
2002-08-29 21:31:20 +00:00