4cfb84c573
Whitespace and coding style cleanups.
2011-05-07 18:48:38 -04:00
21ab8044da
Coding style and whitespace cleanup.
2011-01-29 20:22:57 -05:00
4caf1c8acb
Adapt EMap to latest gtk+-3.0 API.
2011-01-26 08:49:11 -05:00
b7c2f49973
Adapt size_request vfuncs to latest gtk+-3.0 API.
2011-01-25 10:37:16 -05:00
753c60fc67
Drop backward-compatibility cruft.
2011-01-25 10:28:26 -05:00
a4d8c30310
Merge miscellaneous changes from gtk3 branch.
...
Mostly coding style and whitespace changes, to reduce diff noise.
2011-01-14 15:58:16 -05:00
a891b81cfb
Coding style and whitespace cleanup.
2010-11-07 21:13:03 -05: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
9e4fcb29cf
** Remove trailing whitespace from source code.
...
2007-11-14 Matthew Barnes <mbarnes@redhat.com >
** Remove trailing whitespace from source code.
svn path=/trunk/; revision=34537
2007-11-14 22:04:21 +00:00
be99f3db89
Warning fixes: - NULL vs 0 vs FALSE - ANSIfication of function
...
2007-10-29 Kjartan Maraas <kmaraas@gnome.org >
* e-activity-handler.c: (e_activity_handler_new):
* e-canvas.c: (e_canvas_new), (emit_event), (pick_current_item),
(e_canvas_button):
* e-combo-button.c: (menu_detacher), (impl_destroy),
(impl_button_press_event):
* e-combo-cell-editable.c: (e_combo_cell_editable_new):
* e-expander.c: (e_expander_init), (e_expander_size_request),
(e_expander_size_allocate), (e_expander_button_press),
(e_expander_focus):
* e-gui-utils.c: (e_popup_menu),
(e_container_change_tab_order_callback):
* e-image-chooser.c: (image_drag_data_received_cb):
* e-info-label.c: (e_info_label_new):
* e-map.c: (e_map_key_press), (e_map_new), (update_render_pixbuf),
(blowup_window_area), (zoom_do), (set_scroll_area):
* e-pilot-settings.c: (e_pilot_settings_get_source):
* e-printable.c: (e_printable_will_fit):
* e-reflow.c: (items_inserted), (model_changed), (set_empty),
(e_reflow_event), (e_reflow_draw):
* e-search-bar.c: (set_option):
* e-search-bar.h:
* e-unicode.c: (e_xml_get_translated_utf8_string_prop_by_name):
Warning fixes:
- NULL vs 0 vs FALSE
- ANSIfication of function declarations.
- Use non-deprecated GSignal functions
- Don't mix different enum types
svn path=/trunk/; revision=34466
2007-10-31 12:30:29 +00:00