Commit Graph

1437 Commits

Author SHA1 Message Date
0c751ff6db ECellText: Simplify fetching vertical-spacing style property.
Call gtk_widget_style_get().  No need to get GtkStyle involved.
2012-11-30 15:18:14 -05:00
7c2e05401b Avoid GtkStyle-based "paint" functions.
Use GtkStyleContext-based "render" functions instead.

   gtk_paint_arrow()    --> gtk_render_arrow()
   gtk_paint_box()      --> gtk_render_background()
   gtk_paint_expander() --> gtk_render_expander()
   gtk_paint_flat_box() --> gtk_render_background()
   gtk_paint_shadow()   --> gtk_render_frame()
   gtk_paint_vline()    --> gtk_render_line()
2012-11-30 14:28:35 -05:00
b15e0d6df6 Avoid gtk_widget_get_child_requisition().
Use gtk_widget_get_preferred_size() instead.
2012-11-30 11:40:04 -05:00
2ce2f8c276 Avoid gdk_keyboard_grab/ungrab() and gdk_pointer_grab/ungrab().
Use gdk_device_grab() and gdk_device_ungrab() instead.

In some cases this requires stashing the grabbed device so it can be
ungrabbed outside of an GdkEvent handler.
2012-11-30 11:30:10 -05:00
ab3f65a15e Address couple issues found by a Coverity scan 2012-11-30 15:30:45 +01:00
d52ad1054d Add a GdkDevice parameter to gnome_canvas_item_grab().
GnomeCanvas will stash the GdkDevice and reuse it in the subsequent
gnome_canvas_item_ungrab() call.
2012-11-29 18:15:35 -05:00
d2fb5ee1a8 Avoid using GdkEventButton directly in certain places.
Prefer dealing with GdkEvent pointers and using accessor functions like
gdk_event_get_button().

This is complicated by the fact that some GtkWidget method declarations
still use GdkEventButton pointers, and synthesizing button events pretty
much requires direct GdkEventButton access.  But GDK seems to be nudging
itself toward sealing the GdkEvent union.  Likely to happen in GDK4.

Mainly clean up signal handlers and leave method overrides alone for now.
2012-11-29 13:24:24 -05:00
4bc40f6663 Add the GdkDevice to ETextEventProcessorCommand.
Will be needed for grabs in response to button events.
2012-11-29 09:16:11 -05:00
2c4ae5e768 Coding style and whitespace cleanup. 2012-11-10 15:54:43 -05:00
cd27672f61 Bug #656143 - Stop using deprecated Gtk[HV]Box(Class) 2012-11-06 18:33:37 +01:00
60c4664090 Critical warning on ETree dispose, g_object_unref() called on freed object 2012-09-13 14:27:58 +02:00
c85109fc32 Coding style and whitespace cleanup. 2012-08-19 14:17:55 -04:00
cc8bf823ec Coding style and whitespace cleanup. 2012-06-24 20:31:43 -04:00
f960fd2dff Reduce usage of g_type_class_peek_parent().
G_DEFINE_TYPE macros define a static "parent_class" variable.
2012-06-24 20:31:42 -04:00
7cbdc483cc all: don't set draw_background to FALSE on EText 2012-06-18 10:27:01 -04:00
2a39437ee9 Adapt to single-include E-D-S libraries. 2012-06-03 15:14:03 -04:00
c09c5abbec Bug #669088 - Add a Column dialog draws incorrectly 2012-04-27 14:56:50 +02:00
299521f02c Whitespace cleanup.
Replace 8-space indentation with tab characters, and various other
automated cleanups.
2012-04-01 23:15:38 -04:00
54553974ca Bug 671509 (2/2) - Some small UI/theming improvements
table-header: use gtk_widget_create_pango_context() for header buttons

Since we temporarily set custom style classes for the header button on
the table's style context, we cannot rely on the PangoContext used by
gtk_widget_create_pango_layout(), since the font values it will use are
cached by GtkWidget.

By creating a new PangoContext and using that to create our Pango
layout, the text we render will correctly support the properties
specified by the theme (such as bold column-header buttons as specified
by Adwaita).
2012-03-17 20:14:48 -04:00
60f3e852e7 Bug #665130 - Memory leaks in Preferences and ETable 2012-03-16 13:47:20 +01:00
b4f895265d Add missing linker flags. 2012-03-03 14:11:12 -05:00
14f82dde34 Move EAlert* and e-xml-utils references from other part of the code to libevolution-utils. 2012-03-03 09:02:33 -05:00
23f5773903 Coding style and whitespace cleanup. 2012-02-20 10:04:25 -05:00
1600064022 Bug #591436 - Add -avoid-version to LDFLAGS 2012-02-15 11:22:21 +01:00
61ae36351b Introduce libemail-engine and libemail-utils.
These libraries are bound for E-D-S so they live at the lowest layer of
Evolution for now -- even libeutil can link to them (but please don't).

This is the first step toward moving mail handing to a D-Bus service.
2012-01-18 23:48:47 -05:00
d0f2c46a1c Do not auto-mark-as-seen when changing filter type 2012-01-11 15:59:25 +01:00
73fe6fb330 Bug #667398 - Automatic mark-as-seen too aggressive 2012-01-10 19:30:23 +01:00
44df5ec064 Cosimo's spidey senses pointed him to a memory leak. 2011-11-23 12:12:15 -05:00
c75f58d01b Fix compiler warnings. 2011-11-22 14:34:11 -05:00
bd149b2795 Merge branch 'master' into wip/gsettings 2011-10-24 11:30:20 +02:00
31babe7961 Bug #527614 - Valgrind shows a nice amount of lost memory 2011-10-20 10:16:45 +02:00
56a166bb42 Merge branch 'master' into wip/gsettings 2011-10-10 12:50:18 +02:00
aa75990c13 Bug #235665 - Heavy hard disk access when resizing columns in views 2011-10-07 15:35:15 +02:00
4ec46cc05f Merge from master 2011-10-05 13:57:30 +02:00
1f38f4d92c Simplify library dependency flags.
We have a confusing array of nearly-identical CFLAGS/LIBS definitions in
configure.ac.  Time to simplify.  Instead let's just have one definition
that includes all the libraries provided by Evolution-Data-Server (incl.
Camel).  That, in combination with GNOME_PLATFORM, gives us most of what
we need for compliation and linking, and we can sprinkle definitions for
additional library dependencies in Makefile.am's as needed.
2011-10-04 22:27:14 -04:00
d58d259aa0 Fix two little memory leaks 2011-10-01 01:02:13 +02:00
4674fb5487 ETableHeader: Nuke unused code. 2011-09-30 11:48:06 -04:00
b73a8f243e ETableHeader: Rework the header button drawing code for GTK+ 3
The code in ETable that draws the button headers is outdated, and uses
deprecated gtk_paint_* functions mixed with cairo.

Port the code to use the GtkStyleContext API, which allows themes to
give the header the same appearance of a regular GtkTreeView header.
2011-09-30 11:44:21 -04:00
4c56856e05 Fix few 'may be used uninitialized' compiler warnings 2011-09-30 15:39:57 +02:00
5ddad03992 Remove Ctrl + l ( ) character from source files
From ccc980da1fd84ebfca25cf8caf9a5d62333099fc Mon Sep 17 00:00:00 2001
From: Paul Menzel <paulepanter@users.sourceforge.net>
Date: Wed, 28 Sep 2011 10:18:18 +0200
Subject: [PATCH] Remove Ctrl + l () character from source files

The following commits

        git show aac3f2c8
        git show 1510304c
        git show 13cabd9e
        git show 350a7a33
        git show 9b7cc54d
        git show e6972011
        git show 1d3a7938
        git show 934524b9
        git show b2954936
        git show a7f677b5
        git show 4369c400
        git show d509f47a
        git show a6d5818f
        git show c3876df7
        git show 4583098b
        git show 2831ada5
        git show 4e1bce59
        git show 1609f699
        git show 4e4c1676
        git show d6fade43

among others(?) introduced several occurrences of Ctrl + l (). Probably this was caused by the used editor.

These control characters can be searched for using the following command [1].

	$ git grep ^L

[1] http://unstableme.blogspot.com/2009/10/grep-and-print-control-characters-in.html
2011-09-29 21:12:10 +02:00
17cd0cb7df Bug #655625 - Crash in atk_state_set_contains_state 2011-09-26 12:56:08 +02:00
5fb2bb4edf Bug #659828 - Selecting a message with a sound attached loses focus 2011-09-26 12:56:08 +02:00
23f5359c41 Bug #655625 - Crash in atk_state_set_contains_state 2011-09-26 12:30:06 +02:00
a6de7fa6b8 Bug #659828 - Selecting a message with a sound attached loses focus 2011-09-26 12:26:59 +02:00
ac507b38df Bug #655709 - Hide 'Group by' in views when not supported 2011-09-14 14:09:01 +02:00
777c1cbd40 Coding style and whitespace cleanup. 2011-09-14 14:09:00 +02:00
aa21f8d950 Bug #645476 - Message list unnecessarily scrolls back to selected row 2011-09-14 14:08:48 +02:00
07b58617f3 Bug #655709 - Hide 'Group by' in views when not supported 2011-09-05 18:20:38 +02:00
fcbbdfbd18 Coding style and whitespace cleanup. 2011-09-04 07:34:32 -04:00
72d408c8a3 Bug #645476 - Message list unnecessarily scrolls back to selected row 2011-08-11 19:13:06 +02:00