e7954c3f25
Coding style and whitespace cleanups.
2011-06-29 18:42:26 +02:00
c24038c4f6
Bug #646109 - Fix use of include <config.h> to make sure translations work
2011-06-29 18:42:20 +02:00
578214584c
Whitespace and coding style cleanups.
2011-06-29 18:42:10 +02:00
6af0c53b69
Coding style and whitespace cleanup.
2011-06-29 18:41:29 +02:00
fbdc898d91
Adapt EMap to latest gtk+-3.0 API.
2011-06-29 18:41:26 +02:00
b5aba428f4
Adapt size_request vfuncs to latest gtk+-3.0 API.
2011-06-29 18:41:26 +02:00
a3ba231fcc
Drop backward-compatibility cruft.
2011-06-29 18:41:25 +02:00
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
7e9fc6d2b6
Coding style and whitespace cleanup.
2010-11-09 23:33:23 +01:00
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
d6a0c006c1
e-map: Stuff tween duration into a macro so it's easier to change
2010-10-29 13:50:03 -04:00
5d73cd320f
e-map: Add simplification API to zoom from a certain state
2010-10-29 13:50:03 -04:00
963d59c44a
e-map: Zoom out smoothly, too
2010-10-29 13:50:03 -04:00
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
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
eda95a9c33
e-map: Introduce e_map_get_current_location()
...
... and use it when zooming out
2010-10-29 13:50:03 -04:00
b5ee0e3e82
e-map: Use gtk_alignment_configure()
...
Nothing but a massive code cleanup
2010-10-29 13:50:03 -04:00
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
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
97739da7ca
e-map: Query adjustment for size, not pixbuf
2010-10-29 13:50:02 -04:00
c52b0f748f
e-map: pass width and height to set_scroll_area() directly
2010-10-29 13:50:02 -04:00
791b5f68a1
e-map: Draw with cairo
2010-10-29 13:50:02 -04:00
a21ae31d94
e-map: Update the xofs/yofs properties together with the adjustments
2010-10-29 13:50:02 -04:00
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
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
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
a9fc19b195
Get rid of deprecated GtkObject in EMap widget
...
Remove GtkObject::destroy() handler. Move disconnecting
signal handlers to e_map_finalize().
https://bugzilla.gnome.org/show_bug.cgi?id=630766
2010-10-04 16:42:28 +02:00
afe6f502c3
Use new GDK keysym names if available.
...
In GTK+ 2.21.8, the keysym names were renamed from GDK_* to GDK_KEY_*.
I've added backward-compatibility macors to gtk-compat.h, which can be
dumped as soon as we require GTK+ >= 2.22.0.
2010-09-17 18:39:59 -04:00
4c05b9e925
Coding style and whitespace cleanup.
2010-08-29 11:22:28 -04:00
ecf3434da0
GObject boilerplate cleanup.
...
Prefer thread-safe G_DEFINE_TYPE and G_DEFINE_INTERFACE macros over
manual GType registration.
This is just a start... lots more to do.
2010-08-24 14:37:02 -04:00
96421ff37c
Use accessor functions instead direct access (GSEAL work)
...
Still remaining:
GtkAccessible::widget
GtkAssistant::forward
GtkAssistant::back
GtkObject::flags
GtkTreeStore::stamp
The GtkAssistant fields are related to bug #596428 . We don't
need accessor functions so much as the enhancement described
there implemented.
https://bugzilla.gnome.org/show_bug.cgi?id=615613
2010-04-13 16:23:16 +02:00
72797decc1
Giant leap towards GSEAL compliance.
2010-04-08 11:05:26 -04:00
a674eab94d
Update win32 directory relocation and some consistency cleanup
2010-03-10 12:18:12 +01:00
2836a54dd6
Work around recent GTK+ deprecations.
2010-03-05 07:36:23 -05:00
49ef32b76c
Coding style and whitespace cleanup.
2010-02-07 13:26:37 -05:00
ec73f5522f
Coding style and whitespace cleanup.
2010-01-30 18:09:19 -05:00
cae22334fa
Remove dead assignments found by clang.
2010-01-15 21:50:05 -05:00
a6d296b998
Baby steps toward GSEAL compliance.
2010-01-13 14:17:42 -05:00
0585b94eb2
Disable gdk_event_get_graphics_expose() call in EMap.
...
The function is deprecated in GTK+ now. Looks like it was just an
optimization anyway -- the map seems to work fine without it -- but I
left the logic intact in case I'm wrong.
2009-09-19 14:39:04 -04:00
0274669179
Fix excessive whitespace.
2009-07-12 23:33:07 -04:00
8771a6de35
More code cleanup.
2009-06-01 19:09:19 -04:00
6413227cef
Whitespace cleanup.
2009-05-28 13:13:05 -04:00
fad4af8a3d
Prefer GLib basic types over C types.
2009-05-28 12:13:23 -04:00
6f5464f34c
Remove trailing whitespace, again.
2009-05-28 12:13:22 -04:00
e42f276527
Bug 577929 – Consolidate marshallers
...
Consolidate all marshalling specifications to e-util/e-marshal.list.
This reduces code duplication and makes it slightly easier to locate
unused marshallers.
2009-04-23 10:02:07 -04:00
14fa5c8a8c
Change License from GPL to LGPL. 2nd batch.
...
More changes to come.
svn path=/trunk/; revision=36247
2008-09-02 16:25:53 +00:00
abda2bda85
updated novell copyright notices (left others alone)
...
svn path=/trunk/; revision=35665
2008-06-20 22:26:57 +00:00
4503c052d0
** Allow evolution to build with G_DISABLE_SINGLE_INCLUDES and
...
2008-06-06 Matthew Barnes <mbarnes@redhat.com >
** Allow evolution to build with G_DISABLE_SINGLE_INCLUDES and
GTK_DISABLE_SINGLE_INCLUDES defined. (#536637 )
svn path=/trunk/; revision=35606
2008-06-06 15:12:53 +00:00
e99e12428d
** Fixes bug #534360
...
2008-05-22 Matthew Barnes <mbarnes@redhat.com >
** Fixes bug #534360
Migrate from deprecated GtkObject symbols to GObject equivalents.
Touches over 150 files in all components; too many to list.
svn path=/trunk/; revision=35526
2008-05-22 17:27:48 +00:00
592375b3a0
** Fixes bug #529641
...
2008-04-22 Matthew Barnes <mbarnes@redhat.com >
** Fixes bug #529641
* widgets/e-timezone-dialog/e-timezone-dialog.glade:
* widgets/e-dateedit.c (create_children):
* widgets/e-map.c (e_map_new):
Prefer the term "drop-down combination box" to "combo box" per the
GNOME Documentation Style Guide.
svn path=/trunk/; revision=35402
2008-04-23 01:23:42 +00:00