Commit Graph

40 Commits

Author SHA1 Message Date
b825d32537 *** empty log message ***
svn path=/trunk/; revision=4188
2000-07-17 06:30:33 +00:00
4c3eaff412 new files implementing a simple model for the shortcuts, so we can have
2000-07-16  Damon Chaplin  <damon@helixcode.com>

	* e-shortcut-model.[hc]: new files implementing a simple model for
	the shortcuts, so we can have multiple views.

	* Makefile.am (libshortcut_bar_a_SOURCES): added e-shortcut-model.[hc]

	* e-shortcut-bar.[hc]: updated to use the model.

	* e-icon-bar.c (e_icon_bar_item_pressed): set mouse_over_item_num as
	well as pressed_item_num to fix bug.

svn path=/trunk/; revision=4186
2000-07-17 06:22:18 +00:00
86f093cfb2 Added a missing variable initialization. (That code would have
crashed badly in any circumstance.)

svn path=/trunk/; revision=4066
2000-07-10 22:58:18 +00:00
dad705c65c Removed the usage of "x" and "y" arguments to EText.
2000-06-21  Christopher James Lahey  <clahey@helixcode.com>

	* notes/e-note.c, widgets/meeting-time-sel/e-meeting-time-sel.c,
	widgets/shortcut-bar/e-icon-bar.c: Removed the usage of "x" and
	"y" arguments to EText.

	* widgets/e-text/e-text.c, widgets/e-text/e-text.h: Removed the
	"x" and "y" arguments to EText.   Added vertical scrolling.

svn path=/trunk/; revision=3670
2000-06-21 05:37:37 +00:00
97110efe38 removed debugging messages & unused stuff.
svn path=/trunk/; revision=3632
2000-06-19 07:29:14 +00:00
eae703e085 added support for scroll-wheels.
2000-06-19  Damon Chaplin  <damon@helixcode.com>

	* e-icon-bar-bg-item.c:
	* e-icon-bar.c:
	* e-icon-bar.h:
	* e-vscrolled-bar.c: added support for scroll-wheels.

svn path=/trunk/; revision=3631
2000-06-19 07:26:12 +00:00
cf4ea01866 Free all the item data.
2000-06-02  Christopher James Lahey  <clahey@helixcode.com>

	* e-icon-bar.c: Free all the item data.

svn path=/trunk/; revision=3383
2000-06-02 07:59:37 +00:00
a718dec073 Implemented right-click menus for the shell's shortcut bar (the user
can remove shortcuts now) and added status bar to the shell view.
Also, added an API call to EShortcutBar to get the view type for a
specified group.

svn path=/trunk/; revision=3318
2000-06-01 00:56:00 +00:00
bb241192eb Reorganized the shell to allow dynamic registration of storages and
folder types, and changed all the components to work with the new
setup.

svn path=/trunk/; revision=3199
2000-05-25 05:55:59 +00:00
f65f3af50e Fix compilation with builddir != srcdir.
svn path=/trunk/; revision=3193
2000-05-25 00:12:15 +00:00
e033af05d7 Added widgets/e-paned/Makefile.
2000-05-24  Christopher James Lahey  <clahey@helixcode.com>

	* configure.in: Added widgets/e-paned/Makefile.

	* tests/ui-tests/message-browser.c: Switched from GtkPaned to
	EPaned.

	* widgets/Makefile.am: Added e-paned directory.

	* widgets/e-paned/, widgets/e-paned/.cvsignore,
	widgets/e-paned/Makefile.am, widgets/e-paned/e-hpaned.c,
	widgets/e-paned/e-hpaned.h, widgets/e-paned/e-paned.c,
	widgets/e-paned/e-paned.h, widgets/e-paned/e-vpaned.c,
	widgets/e-paned/e-vpaned.h: New widget based completely on
	GtkPaned from 1.4.  This will be more advanced soon.

From calendar/ChangeLog:

2000-05-24  Christopher James Lahey  <clahey@helixcode.com>

	* gui/Makefile.am: Added libepaned.a.

	* gui/gnome-cal.c: Switched from GtkPaned to EPaned.

From mail/ChangeLog:

2000-05-24  Christopher James Lahey  <clahey@helixcode.com>

	* Makefile.am: Added libepaned.a.

	* folder-browser.c: Switched from GtkPaned to EPaned.

From shell/ChangeLog:

2000-05-24  Christopher James Lahey  <clahey@helixcode.com>

	* Makefile.am: Added libepaned.a.

	* e-shell-view.c: Switched from GtkPaned to EPaned.

From widgets/shortcut-bar/ChangeLog:

2000-05-24  Christopher James Lahey  <clahey@helixcode.com>

	* Makefile.am: Added libepaned.a.

	* test-shortcut-bar.c: Switched from GtkPaned to EPaned.

svn path=/trunk/; revision=3191
2000-05-24 23:00:39 +00:00
844e27e365 new signals "added_item", "removed_item", "added_group", "removed_group".
2000-05-18  Damon Chaplin  <damon@helixcode.com>

        * e-shortcut-bar.[hc]: new signals "added_item", "removed_item",
        "added_group", "removed_group". Note that the removed signals are
        emitted just before the item/group is actually removed.

        * test-shortcut-bar.c: updated to test the new signals, and ref'ed
        the pixbufs in the icon callback.

svn path=/trunk/; revision=3111
2000-05-18 00:32:18 +00:00
062b4e53c4 New ETitleBar' widget. Also, moved the EClippedLabel' widget out of
the `EShortcutBar' directory.

svn path=/trunk/; revision=3053
2000-05-16 03:39:44 +00:00
68a38d1915 remove the no longer needed flatened_alpha member.
2000-05-07  Larry Ewing  <lewing@helixcode.com>

	* e-icon-bar.h (struct _EIconBarItem): remove the no longer needed
	flatened_alpha member.

	* e-icon-bar.c (flatten_alpha): using ~rgb can cause visual
	artifacts.
	(e_icon_bar_add_item): fixup refcounting of the flattend pixbuf,
	the canvas item should hold the reference not us. Stop using
	item.flattened_alpha since it no longer exists.
	(e_icon_bar_remove_item): remove the unref since destroying the
	item will take care of that for us.

	* e-shortcut-bar.c (e_shortcut_bar_add_item): make sure to unref
	the image we get back, the icon bar will hold any references it
	needs.
	(e_shortcut_bar_get_image_from_url): ref the default image each
	time we return it so that references are counted correctly.

svn path=/trunk/; revision=2902
2000-05-08 05:06:12 +00:00
1b8139c995 ignore the .pure directory
* addressbook/backend/ebook/.cvsignore,
        addressbook/contact-editor/.cvsignore,
        addressbook/gui/component/.cvsignore,
        addressbook/gui/minicard/.cvsignore,
        addressbook/printing/.cvsignore,
        calendar/cal-client/.cvsignore,
        calendar/gui/.cvsignore,
        calendar/pcs/.cvsignore,
        filter/.cvsignore,
        mail/.cvsignore,
        shell/.cvsignore,
        tests/.cvsignore,
        widgets/e-table/.cvsignore,
        widgets/e-text/.cvsignore,
        widgets/meeting-time-sel/.cvsignore,
        widgets/shortcut-bar/.cvsignore,
        wombat/.cvsignore: ignore the .pure directory

svn path=/trunk/; revision=2812
2000-05-05 11:46:46 +00:00
a6459db919 Define `E_TYPE_SHORTCUT_BAR'.
svn path=/trunk/; revision=2795
2000-05-04 11:37:58 +00:00
91310499b3 EIconBar/EShortcutBar constification.
svn path=/trunk/; revision=2792
2000-05-04 07:09:53 +00:00
5801d07985 Fixed EShortcutBar API: the icon callback function now gets a `const
char *' url (instead of just a `char *') and a closure.

svn path=/trunk/; revision=2790
2000-05-04 06:16:33 +00:00
855b85657d Set G_LOG_DOMAIN in following files.
addressbook/demo/Makefile.am
 addressbook/printing/Makefile.am
 camel/Makefile.am
 camel/providers/MH/Makefile.am
 camel/providers/maildir/Makefile.am
 camel/providers/mbox/Makefile.am
 camel/providers/nntp/Makefile.am
 camel/providers/pop3/Makefile.am
 camel/providers/sendmail/Makefile.am
 camel/providers/smtp/Makefile.am
 composer/Makefile.am
 e-util/Makefile.am
 filter/Makefile.am
 libibex/Makefile.am
 mail/Makefile.am
 shell/Makefile.am
 tests/Makefile.am
 tests/ui-tests/Makefile.am
 widgets/e-table/Makefile.am
 widgets/e-text/Makefile.am
 widgets/meeting-time-sel/Makefile.am
 widgets/shortcut-bar/Makefile.am

svn path=/trunk/; revision=2756
2000-05-02 21:34:01 +00:00
13a168017c added buttons to test moving/reordering groups.
2000-04-16  Damon Chaplin  <damon@helixcode.com>

        * test-shortcut-bar.c: added buttons to test moving/reordering groups.

        * e-shortcut-bar.c (e_shortcut_bar_on_drag_end): new function to free
        the dragged name & URL when the drag is finished.

        * e-group-bar.c (e_group_bar_get_increment): fixed bug when distance
        was 0. Should just return 0.
        (e_group_bar_set_current_group_num): added animate option and finished.
        (e_group_bar_unmap): called e_group_bar_stop_all_animation().
        (e_group_bar_reorder_group): finished.

        * e-icon-bar-text-item.[hc]: removed, since we now use EText.

svn path=/trunk/; revision=2459
2000-04-16 13:21:26 +00:00
ef362daa79 Do not use the parent thingie, because it might be like anything. And
2000-04-15  Miguel de Icaza  <miguel@gnu.org>

	* e-group-bar.c (e_group_bar_realize): Do not use the parent
	thingie, because it might be like anything.  And anything can be
	like any visual, and we dont like want any visual here.

svn path=/trunk/; revision=2453
2000-04-15 05:53:20 +00:00
463e00c278 Apply some loving action when it comes to visuals and colormaps. Yes, we
2000-04-15  Miguel de Icaza  <miguel@gnu.org>

	* e-shortcut-bar.c
	(e_shortcut_bar_add_group): Apply some loving action when it comes
	to visuals and colormaps.  Yes, we got one of those machines
	--again--.  Sigh.  This is what you get when you have been away
	from the Indy.  The whole thing is breaking left and right.

	Hopefully, Gtk 1.4 fixes all of this, by always running in the
	slowest visual it can find.

2000-04-11  Larry Ewing  <lewing@helixcode.com>

	* e-icon-bar.c (flatten_alpha): update for
	new gdk-pixbuf.

svn path=/trunk/; revision=2452
2000-04-15 05:33:04 +00:00
9d8f1fa7d5 Add our own ChangeLog
svn path=/trunk/; revision=2451
2000-04-15 05:32:41 +00:00
215ecb48eb you need the latest gdk-pixbuf to build evolution now.
you need the latest gdk-pixbuf to build evolution now.

2000-04-11  Larry Ewing  <lewing@helixcode.com>

	* widgets/e-table/e-cell-toggle.c (etog_draw): update for new
	gdk-pixbuf.  Added a disabled chuck of code to do alpha blending
	on pixmaps.

	* widgets/shortcut-bar/e-icon-bar.c (flatten_alpha): update for
	new gdk-pixbuf.

svn path=/trunk/; revision=2397
2000-04-11 21:48:49 +00:00
ed50119936 More flushing action
svn path=/trunk/; revision=2304
2000-04-06 06:49:24 +00:00
fb80c3b9a1 added support for a callback function to set the icons.
2000-03-31  Damon Chaplin  <damon@helixcode.com>

	* widgets/shortcut-bar/e-shortcut-bar.[hc]: added support for a
	callback function to set the icons.

	* widgets/shortcut-bar/test-shortcut-bar.c: updated to use the
	callback function.

svn path=/trunk/; revision=2268
2000-03-31 15:45:24 +00:00
0a26a651fc install new shortcut bar pixmaps.
* configure.in:
	* Makefile.am:
	* art/Makefile.am: install new shortcut bar pixmaps.

	* widgets/shortcut-bar/e-shortcut-bar.c: Sort of use the new
	pixmaps. This code needs to be restructured, but Damon is
	rumored to already be doing it.

svn path=/trunk/; revision=2261
2000-03-30 20:48:24 +00:00
1e87b7cd20 Fix the comment at the top of the file: it was describing
EShortcutBar, not EGroupBar. (EGroupBar description taken from
e-group-bar.h).

svn path=/trunk/; revision=2259
2000-03-30 18:23:03 +00:00
7a72e3adc7 avoid a crash if icons aren't found
svn path=/trunk/; revision=2212
2000-03-28 14:14:56 +00:00
ea9b13f015 New function, used to flatten the images we get and composite them with
2000-03-27  Miguel de Icaza  <miguel@gnu.org>

	* widgets/shortcut-bar/e-icon-bar.c (flatten_alpha): New function,
	used to flatten the images we get and composite them with the
	background.
	(e_icon_bar_add_item): One happy tigert comming.

svn path=/trunk/; revision=2209
2000-03-28 05:27:29 +00:00
a726033ce0 Updated to fix a few bugs.
2000-03-21  Christopher James Lahey  <clahey@helixcode.com>

        * widgets/shortcut-bar/e-icon-bar.c: Updated to fix a few bugs.

svn path=/trunk/; revision=2128
2000-03-21 06:02:13 +00:00
ce16b05aed Fixed references to libutil.a -> libeutil.la
svn path=/trunk/; revision=1983
2000-02-28 18:54:40 +00:00
83ad2c75e3 added libetext.a and libeutil.a to test_shortcut_bar_LDADD, and got rid of
2000-02-20  Damon Chaplin  <damon@helixcode.com>

	* widgets/shortcut-bar/Makefile.am: added libetext.a and libeutil.a
	to test_shortcut_bar_LDADD, and got rid of e-icon-bar-text-item.[hc].
	I'll delete these soon.

	* widgets/shortcut-bar/e-icon-bar.c: changed to be a subclass of
	ECanvas and to use EText instead of EIconBarTextItem. Also set
	"width_set" & "height_set" of the GnomeCanvasPixbuf items so they
	work in the "Small Icon" view.

	* widgets/shortcut-bar/e-vscrolled-bar.c: use map/unmap instead of
	show/hide for the up & down buttons to avoid queueing resizes.
	Otherwise the scrolling starts off a bit jerky.

	* widgets/shortcut-bar/test-shortcut-bar.c: output a message when the
	main label is resized, just for info.

	* widgets/shortcut-bar/*.[hc]: updated my email address.

svn path=/trunk/; revision=1867
2000-02-20 17:52:35 +00:00
79c8c9c847 Remove e-cursors
svn path=/trunk/; revision=1702
2000-02-09 09:10:59 +00:00
f42a342f87 finished.
2000-02-07  Damon Chaplin  <damon@helixcode.com>

	* widgets/shortcut-bar/e-group-bar.c (e_group_bar_draw): finished.

	* widgets/shortcut-bar/e-icon-bar.c (e_icon_bar_item_released):
	check that an item was pressed.

svn path=/trunk/; revision=1684
2000-02-07 15:21:45 +00:00
20c404d3ab don't set the x_set and y_set arguments as don't exist in gdk-pixbuf
2000-01-26  bertrand  <bertrand@helixcode.com>

	* widgets/shortcut-bar/e-icon-bar.c (e_icon_bar_recalc_item_positions):
	don't set the x_set and y_set
	arguments as don't exist in gdk-pixbuf
	anymore.

svn path=/trunk/; revision=1640
2000-01-26 00:53:52 +00:00
804e7e17bf Finishing previous commit.
svn path=/trunk/; revision=1582
2000-01-17 09:13:45 +00:00
3abe3b2366 *** empty log message ***
svn path=/trunk/; revision=1550
2000-01-10 04:27:40 +00:00
6653d771b6 More hacks
svn path=/trunk/; revision=1540
2000-01-07 00:29:28 +00:00
ed4e8afecd Lots of reorganization to get the Evolution shell to begin its life. It
Lots of reorganization to get the Evolution shell to begin its life.
It also includes a new evolution widget from Damon.

Miguel.

svn path=/trunk/; revision=1536
2000-01-06 05:48:27 +00:00