Commit Graph

3039 Commits

Author SHA1 Message Date
Milan Crha 12a91dbb21 Bug #633779 - GtkComboBoxText issues 2011-06-29 18:41:01 +02:00
Vibha Yadav 9e833a704c Bug #633774 - Headers are gone in grouped view 2010-11-16 10:43:16 +01:00
Matthew Barnes 889e52cb9d Drop accessibility support for ECellText.
The accessibility code for ECellText is unmaintained and crashes
constantly.  I'm evicting it from our code base until someone takes
ownership of the libgal accessibility support and deals with it.
2010-11-16 10:43:16 +01:00
Matthew Barnes 7439ad9ca1 Fix distcheck errors. 2010-11-09 23:33:23 +01:00
Matthew Barnes 7e9fc6d2b6 Coding style and whitespace cleanup. 2010-11-09 23:33:23 +01:00
Milan Crha 033bed834e Bug #632768 - Message list not realized when opening new folder 2010-11-09 23:33:21 +01:00
Milan Crha 3b3b6cb0ab Add forgotten cairo_destroy() calls 2010-11-09 23:33:21 +01:00
Matthew Barnes 4a929caada Pass an EAlertSink to e_alert_sink_submit_alert().
Passing a random GtkWidget and then searching its ancestors for an
EAlertSink turned out to be not as useful as I thought.  Most of the
time we know about and have access to the widget that implements
EAlertSink, so just pass it directly as an EAlertSink.
2010-11-09 23:33:20 +01:00
Matthew Barnes c1d818a53f Bug 633471 - EAttachmentStore store folder name where uri is expected 2010-11-09 23:33:18 +01:00
Matthew Barnes 75f1dc888e Fix cursor drawing in ECellText. 2010-10-29 13:51:38 -04:00
Matthew Barnes 952ae5caec Fix typo in eti_update(). 2010-10-29 13:51:38 -04:00
Matthew Barnes d9d9d7f0ef Restore update method in ECanvasBackground
Restore the update() method in ECanvasBackground.  Without a redraw
request the draw() method is never called.  For some reason this isn't
noticeable on gtk+-3.0 -- ETable and ETree backgrounds are still white
-- but on gtk+-2.0 the backgrounds are grey.
2010-10-29 13:51:38 -04:00
Matthew Barnes 06943232b3 Fix typo in EText.
Fill color properties should be write-only, not read-only.
2010-10-29 13:51:38 -04:00
Matthew Barnes df5ff95999 Adapt branch for building with GTK+ 2.22. 2010-10-29 13:51:38 -04:00
Benjamin Otte d262e26a02 e-table: Remove unused dnd pixmaps 2010-10-29 13:50:05 -04:00
Benjamin Otte 8563661b4e e-table: Don't push/pop colormaps
It's not necessary anymore.
2010-10-29 13:50:04 -04:00
Benjamin Otte d98a5c50d4 e-table: Draw button with cairo 2010-10-29 13:50:04 -04:00
Benjamin Otte 73ccbf4029 e-table: Draw ECellTree with cairo 2010-10-29 13:50:04 -04:00
Benjamin Otte 7d2fc0cf9e e-text: Draw EReflow with cairo 2010-10-29 13:50:04 -04:00
Benjamin Otte eaf4b5a865 e-text: Fix color handling
- "color" and "color-gdk" properties aren't readable (Their values would
  be wrong if an alpha channel was set).
- Use the rgba color when rendering
- Don't allocate the color in the colormap anymore.
2010-10-29 13:50:04 -04:00
Benjamin Otte 168b536e82 e-map: Take colormap and visual from the widget
No need to use magic visuals and colormaps anymore, we're all cairo
these days.
2010-10-29 13:50:04 -04:00
Benjamin Otte 90c26d6fe6 e-table: Remove retro look
It's not used by themes so I don't see the need to port it.
2010-10-29 13:50:04 -04:00
Benjamin Otte 68c2986245 e-table: Remove unused GdkGC 2010-10-29 13:50:04 -04:00
Benjamin Otte 1e74b08c03 e-table: Draw ECellText with cairo 2010-10-29 13:50:04 -04:00
Benjamin Otte 39a6c1b9e7 e-table: Use gdk_pango_layout_get_clip_region() in ECellText 2010-10-29 13:50:04 -04:00
Benjamin Otte 1f1d70ba44 e-table: Remove unused GdkGC from ECellToggle 2010-10-29 13:50:03 -04:00
Benjamin Otte eab0fac0cc e-table: Use Pango ellipsizing instead of manual arrow drawing 2010-10-29 13:50:03 -04:00
Benjamin Otte d6a0c006c1 e-map: Stuff tween duration into a macro so it's easier to change 2010-10-29 13:50:03 -04:00
Benjamin Otte 5d73cd320f e-map: Add simplification API to zoom from a certain state 2010-10-29 13:50:03 -04:00
Benjamin Otte 963d59c44a e-map: Zoom out smoothly, too 2010-10-29 13:50:03 -04:00
Benjamin Otte 6c15378fc0 e-map: Redo zooming
Instead of hacky magic, we now use cairo and a naïve implementation of
tweening.
2010-10-29 13:50:03 -04:00
Benjamin Otte edb4b36b8d e-map: Make center_at() function take longitude/latitude
Way easier than to try to get the coordinates right.
Includes refactoring to introduce e_map_world_to_render_surface() that
computes coordinates on the background surface to make this stuff
easier.
2010-10-29 13:50:03 -04:00
Benjamin Otte eda95a9c33 e-map: Introduce e_map_get_current_location()
... and use it when zooming out
2010-10-29 13:50:03 -04:00
Benjamin Otte b5ee0e3e82 e-map: Use gtk_alignment_configure()
Nothing but a massive code cleanup
2010-10-29 13:50:03 -04:00
Benjamin Otte abe994285a e-map: Repaint points unconditionally
The in_view() check is broken because it doesn't repaint points that are
1px outside the window. The point take 2 extra pixels in every direction
after all. And gtk_widget_queue_draw_area() will automatically discard
out-of-range rects anyway.
2010-10-29 13:50:03 -04:00
Benjamin Otte f71506a5e0 e-map: Make cache a server-side surface
Doing performance optimizations on the client is not a good idea...
2010-10-29 13:50:03 -04:00
Benjamin Otte 97739da7ca e-map: Query adjustment for size, not pixbuf 2010-10-29 13:50:02 -04:00
Benjamin Otte c52b0f748f e-map: pass width and height to set_scroll_area() directly 2010-10-29 13:50:02 -04:00
Benjamin Otte 791b5f68a1 e-map: Draw with cairo 2010-10-29 13:50:02 -04:00
Benjamin Otte a21ae31d94 e-map: Update the xofs/yofs properties together with the adjustments 2010-10-29 13:50:02 -04:00
Benjamin Otte 26c62ff150 e-map: Don't block signal handlers
The signal handler will no-op the operations anyway, because nothing
changed.
2010-10-29 13:50:02 -04:00
Benjamin Otte 43f1c47f88 e-map: Move all rendering into the expose event
For the zoom, we now use the long-deprecated gtk_widget_draw() to force
repaints.
2010-10-29 13:50:02 -04:00
Benjamin Otte a171cf15e3 e-map: Always repaint the whole window on scrolls
We cannot move parts of the window with GTK3 APIs, so stop doing it.
2010-10-29 13:50:02 -04:00
Benjamin Otte 8a0f0cfdc9 e-text: Draw with cairo 2010-10-29 13:50:02 -04:00
Benjamin Otte d5cf0c298c e-text: Use gdk_pango_layout_get_clip_region() for selection rendering 2010-10-29 13:50:02 -04:00
Benjamin Otte 00b6c62989 widgets: Don't use GdkGC in ECalendarItem 2010-10-29 13:50:02 -04:00
Benjamin Otte 8811cd67d3 gnome-canvas: Convert canvas item transformation matrix to cairo
Also update the GnomeCanvasItem.update vfunc to take a cairo_matrix_t
and no longer pass the clip_path (what was it used for anyway?).
2010-10-29 13:50:01 -04:00
Benjamin Otte 7fe898ab0f e-table: Convert coordinates using Cairo 2010-10-29 13:50:01 -04:00
Benjamin Otte 11026671da e-table: Remove unused member variables from ETableItem
x1 and y1 were never set, only used. Replace all users with 0 and remove
the members.
2010-10-29 13:50:01 -04:00
Benjamin Otte a7d37040bf e-table: Draw grids with Cairo
Gets rid of the need for GdkGC completely.
2010-10-29 13:50:01 -04:00