aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/shortcut-bar/e-shortcut-bar.c
Commit message (Collapse)AuthorAgeFilesLines
* Implemented right-click menus for the shell's shortcut bar (the userEttore Perazzoli2000-06-011-0/+17
| | | | | | | | 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
* Reorganized the shell to allow dynamic registration of storages andEttore Perazzoli2000-05-251-0/+2
| | | | | | | folder types, and changed all the components to work with the new setup. svn path=/trunk/; revision=3199
* new signals "added_item", "removed_item", "added_group", "removed_group".Damon Chaplin2000-05-181-1/+69
| | | | | | | | | | | | | 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
* remove the no longer needed flatened_alpha member.Larry Ewing2000-05-081-0/+3
| | | | | | | | | | | | | | | | | | | | | | | 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
* EIconBar/EShortcutBar constification.Ettore Perazzoli2000-05-041-6/+6
| | | | svn path=/trunk/; revision=2792
* Fixed EShortcutBar API: the icon callback function now gets a `constEttore Perazzoli2000-05-041-3/+7
| | | | | | char *' url (instead of just a `char *') and a closure. svn path=/trunk/; revision=2790
* added buttons to test moving/reordering groups.Damon Chaplin2000-04-161-1/+22
| | | | | | | | | | | | | | | | | | | 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
* Apply some loving action when it comes to visuals and colormaps. Yes, weMiguel de Icaza2000-04-151-2/+11
| | | | | | | | | | | | | | | | | | | | 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
* added support for a callback function to set the icons.Damon Chaplin2000-03-311-37/+24
| | | | | | | | | | | | 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
* install new shortcut bar pixmaps.Dan Winship2000-03-311-4/+4
| | | | | | | | | | | | * 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
* added libetext.a and libeutil.a to test_shortcut_bar_LDADD, and got rid ofDamon Chaplin2000-02-211-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | 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
* *** empty log message ***Arturo Espinosa2000-01-101-11/+10
| | | | svn path=/trunk/; revision=1550
* Lots of reorganization to get the Evolution shell to begin its life. ItArturo Espinosa2000-01-061-0/+563
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