aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/shortcut-bar/e-icon-bar.c
Commit message (Collapse)AuthorAgeFilesLines
* remove COLOR_TEXT references.Larry Ewing2000-08-171-4/+0
| | | | | | | | 2000-08-16 Larry Ewing <lewing@helixcode.com> * e-icon-bar.c (e_icon_bar_init): remove COLOR_TEXT references. svn path=/trunk/; revision=4858
* get rid of COLOR_TEXT. (struct _EIconBarItem): add pixbuf member to holdLarry Ewing2000-08-171-4/+50
| | | | | | | | | | | | | | | | | | | | | | | 2000-08-16 Larry Ewing <lewing@helixcode.com> * e-icon-bar.h (enum): get rid of COLOR_TEXT. (struct _EIconBarItem): add pixbuf member to hold unmodified pixbuf. * e-icon-bar.c (e_icon_bar_style_set): update the image and the colors based on the new style. (e_icon_bar_add_item): store the full alpha pixbuf so that we can update the background color if the style changes. Use the style colors where appropriate. (e_icon_bar_on_editing_stopped): revert to style colors. (e_icon_bar_on_editing_started): use style fg instead of COLOR_TEXT. * e-shortcut-bar.c (e_shortcut_bar_add_group): add an #ifndef E_USE_STYLES around the call to e_shortcut_bar_set_canvas_style to allow people to test out the style stuff that is in progress. svn path=/trunk/; revision=4856
* new files implementing a simple model for the shortcuts, so we can haveDamon Chaplin2000-07-171-2/+4
| | | | | | | | | | | | | | | | 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
* Removed the usage of "x" and "y" arguments to EText.Christopher James Lahey2000-06-211-4/+5
| | | | | | | | | | | | | 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
* added support for scroll-wheels.Damon Chaplin2000-06-191-0/+19
| | | | | | | | | | | 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
* Free all the item data.Christopher James Lahey2000-06-021-0/+9
| | | | | | | | 2000-06-02 Christopher James Lahey <clahey@helixcode.com> * e-icon-bar.c: Free all the item data. svn path=/trunk/; revision=3383
* remove the no longer needed flatened_alpha member.Larry Ewing2000-05-081-8/+13
| | | | | | | | | | | | | | | | | | | | | | | 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-1/+1
| | | | svn path=/trunk/; revision=2792
* you need the latest gdk-pixbuf to build evolution now.Larry Ewing2000-04-121-4/+5
| | | | | | | | | | | | | | | 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
* More flushing actionMiguel de Icaza2000-04-061-0/+3
| | | | svn path=/trunk/; revision=2304
* avoid a crash if icons aren't foundSeth Alves2000-03-281-1/+1
| | | | svn path=/trunk/; revision=2212
* New function, used to flatten the images we get and composite them withMiguel de Icaza2000-03-281-5/+40
| | | | | | | | | | | 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
* Updated to fix a few bugs.Christopher James Lahey2000-03-211-9/+8
| | | | | | | | 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
* added libetext.a and libeutil.a to test_shortcut_bar_LDADD, and got rid ofDamon Chaplin2000-02-211-127/+205
| | | | | | | | | | | | | | | | | | | | | | | | 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
* Remove e-cursorsMiguel de Icaza2000-02-091-3/+1
| | | | svn path=/trunk/; revision=1702
* finished.Damon Chaplin2000-02-071-1/+2
| | | | | | | | | | | 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
* don't set the x_set and y_set arguments as don't exist in gdk-pixbufbertrand2000-01-261-2/+0
| | | | | | | | | | | 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
* *** empty log message ***Arturo Espinosa2000-01-101-18/+20
| | | | svn path=/trunk/; revision=1550
* Lots of reorganization to get the Evolution shell to begin its life. ItArturo Espinosa2000-01-061-0/+1450
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