Matthew Barnes
9c3bb90b6b
Fix minor compiler warnings
2011-06-29 18:41:26 +02:00
Milan Crha
fd695a3677
Various critical warnings about comp-editor-pages and date edit
2011-06-29 18:41:26 +02:00
Milan Crha
68e1dff622
Do not oversize New and Send/Receive toolbar buttons
2011-06-29 18:41:26 +02:00
Rodrigo Moya
b5aba428f4
Adapt size_request vfuncs to latest gtk+-3.0 API.
2011-06-29 18:41:26 +02:00
Matthew Barnes
7a49a21178
Dialogs no longer have separators.
2011-06-29 18:41:25 +02:00
Matthew Barnes
a3ba231fcc
Drop backward-compatibility cruft.
2011-06-29 18:41:25 +02:00
Milan Crha
5b171af410
Bug #640517 - Runtime warnings when launching composer
2011-06-29 18:41:25 +02:00
Milan Crha
c36bd27fa8
Bug #634403 - Mails Label popup menu is not updated properly
2011-06-29 18:41:20 +02:00
Matthew Barnes
5cc2615a37
Remove some unused gnome-canvas options.
...
Simplifies the drawing code a bit.
Public API removed:
GnomeCanvas.center_scroll_region (is always TRUE)
GnomeCanvas.pixels_per_unit (is always 1.0)
gnome_canvas_set_center_scroll_region()
gnome_canvas_get_center_scroll_region()
gnome_canvas_set_pixels_per_unit()
2011-06-29 18:41:19 +02:00
Matthew Barnes
855ac52765
Merge miscellaneous changes from gtk3 branch.
...
Mostly coding style and whitespace changes, to reduce diff noise.
2011-06-29 18:41:19 +02:00
Matthew Barnes
80bc7035be
Fudge GtkScrollable for gtk2.
...
Yes, the GtkScrollable interface is implemented by more than just
GtkLayout, but it turns out GtkLayout is the only thing Evolution
uses the GtkScrollable API for on the gtk3 branch.
2011-06-29 18:41:19 +02:00
Matthew Barnes
2485ba3936
Fudge gtk_widget_get_preferred_size() for gtk2.
...
Easy enough to fake gtk_widget_get_preferred_size() in gtk2 using
gtk_widget_size_request(). Reduces diff noise with gtk3 branch.
2011-06-29 18:41:19 +02:00
Matthew Barnes
34b9be960c
EAttachmentIconView: Fix runtime warnings with GTK3.
...
GtkIconView changed some implementation details, apparently.
2011-06-29 18:41:16 +02:00
Matthew Barnes
a89aa52dc6
EActionComboBox: Fix runtime warnings with GTK3.
...
GtkComboBox changed some implementation details, apparently.
2011-06-29 18:41:16 +02:00
Milan Crha
97fac153c5
Bug #567879 - Add View >> Gallery Option In Email Composer
2011-06-29 18:41:13 +02:00
Milan Crha
ca3faa17a9
Free/busy meeting view doesn't work due to non-working extension
2011-06-29 18:41:08 +02:00
Milan Crha
989c370729
Show calendar backend errors in an alert sink
2011-06-29 18:41:07 +02:00
Milan Crha
12a91dbb21
Bug #633779 - GtkComboBoxText issues
2011-06-29 18:41:01 +02:00
Matthew Barnes
7e9fc6d2b6
Coding style and whitespace cleanup.
2010-11-09 23:33:23 +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
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
df5ff95999
Adapt branch for building with GTK+ 2.22.
2010-10-29 13:51:38 -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
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
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
3fb0c763eb
e-canvas: Simplify ECanvasBackground
...
It's used without specifying a clip rectangle every time, so remove that
property. Also do all drawing with Cairo.
2010-10-29 13:50:00 -04:00
Benjamin Otte
b3a95d0299
gnome-canvas: Change GnomeCanvasItem->point vfunc
...
Previously the function returned the distance to the nearest item. Now
it only returns an item that is hit. This slightly changes semantics
(button events are no longer dispatched to the nearest item, but only to
the item actually clicked on), but makes the code way simpler and
actually does what one would expect.
2010-10-29 13:49:59 -04:00
Benjamin Otte
6b75dd581c
widgets: Remove stipple from ECanvasBackground
2010-10-29 13:49:58 -04:00
Benjamin Otte
df70b76a55
gnome-canvas: Remove aa code
...
The anti-aliased code was never used, so remove it.
2010-10-29 13:49:57 -04:00
Milan Crha
c7d7f88671
Bug #631982 - Hide Page properties in signature editor
2010-10-29 12:08:59 +02:00
Milan Crha
2de2e7f12f
Workaround GtkComboBoxText/GtkComboBoxEntry in .ui files
2010-10-27 21:43:25 +02:00
Milan Crha
de12bb89a8
Bug #631956 - Reset renderer properties in action_combo_box_render_pixbuf
2010-10-26 12:35:32 +02:00
Milan Crha
2ac302d4b2
Bug #631870 - Memory leak in e_week_view after GtkObject removal
2010-10-25 17:28:17 +02:00