Commit Graph

111 Commits

Author SHA1 Message Date
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
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
Milan Crha 2de2e7f12f Workaround GtkComboBoxText/GtkComboBoxEntry in .ui files 2010-10-27 21:43:25 +02:00
Matthew Barnes 4a08257b83 Deal with GtkComboBoxEntry removal in gtk+-3.0. 2010-10-20 16:10:15 -04:00
Matthias Clasen 8da37ea812 Bug 632641 - Handle combo box text API going away 2010-10-20 15:08:16 -04:00
Matthew Barnes 1e663aa132 Replace EBinding with GBinding.
GObject now does property bindings itself.

Requires GLib >= 2.26.
2010-10-14 07:12:52 -04:00
Matthew Barnes 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
Matthew Barnes ebcce86769 Coding style and whitespace cleanups. 2010-09-11 14:14:04 -04:00
Matthew Barnes 4c05b9e925 Coding style and whitespace cleanup. 2010-08-29 11:22:28 -04:00
Matthew Barnes 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
Milan Crha 179db75ce0 Bug #620815 - Memory leaks with Evolution 2010-06-24 20:43:16 +02:00
Matthew Barnes 72797decc1 Giant leap towards GSEAL compliance. 2010-04-08 11:05:26 -04:00
Matthew Barnes 8ffcfb4e10 Add extensions to configure calender widgets.
Make ECalendarItem, ECalendarView, ECalModel, EDateEdit, EMeetingStore,
and EMeetingTimeSelector extensible and register extensions to
automatically bind every instance to the appropriate EShellSettings.
2010-03-20 11:49:46 -04:00
Matthew Barnes 2836a54dd6 Work around recent GTK+ deprecations. 2010-03-05 07:36:23 -05:00
Matthew Barnes a6d296b998 Baby steps toward GSEAL compliance. 2010-01-13 14:17:42 -05:00
Matthew Barnes e77ee5d5d3 Coding style and whitespace cleanup. 2010-01-03 12:15:01 -06:00
Milan Crha 3f36489c67 Bug #329693 - Add contexts to translated "None" words 2009-12-23 17:11:59 +01:00
Milan Crha 455353a19d Bug #605192 - New memo window has start date as None 2009-12-22 20:32:28 +01:00
Matthew Barnes 054c088169 Bug 589153 - Use GtkBuilder instead of libglade 2009-11-16 19:33:32 -05:00
Milan Crha 79242432b2 Bug #404227 - Over-aggressive appointment editor date check 2009-10-15 20:15:31 +02:00
Matthew Barnes de85e3c786 Replace more "config" classes with property bindings. 2009-08-05 16:13:02 -04:00
Matthew Barnes fa360fde28 More whitespace cleanup. 2009-07-18 14:07:42 -04:00
Matthew Barnes 374bd42f69 Fix excessive whitespace. 2009-07-14 11:26:22 -04:00
Milan Crha d1f3e3514e Bug #525689 - Do not show all days as Sunday in a comp-editor 2009-07-03 10:27:36 +02:00
Matthew Barnes 8771a6de35 More code cleanup. 2009-06-01 19:09:19 -04:00
Matthew Barnes 6413227cef Whitespace cleanup. 2009-05-28 13:13:05 -04:00
Matthew Barnes fad4af8a3d Prefer GLib basic types over C types. 2009-05-28 12:13:23 -04:00
Matthew Barnes 6f5464f34c Remove trailing whitespace, again. 2009-05-28 12:13:22 -04:00
Milan Crha 8a072ffc7c GN-bug #572348 - Removed deprecated Gtk+ symbols
Some still left, because those gone in kill-bonobo branch.
2009-04-24 11:45:21 +02:00
Matthew Barnes 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
Milan Crha 82d5ac92da ** Fix for bug #559027
2009-02-25  Milan Crha  <mcrha@redhat.com>

	** Fix for bug #559027

	* e-dateedit.c: (on_date_entry_focus_out):
	Do not set date for 'None' value.


svn path=/trunk/; revision=37323
2009-02-25 10:44:12 +00:00
Sankarasivasubramanian Pasupathilingam d636d0ead7 License changes.
svn path=/trunk/; revision=36641
2008-10-17 16:46:27 +00:00
Sankarasivasubramanian Pasupathilingam 3b318d5cbf Change License from GPL to LGPL.
svn path=/trunk/; revision=36520
2008-10-01 09:24:41 +00:00
Jeffrey Stedfast abda2bda85 updated novell copyright notices (left others alone)
svn path=/trunk/; revision=35665
2008-06-20 22:26:57 +00:00
Matthew Barnes 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
Kjartan Maraas 64b15c5cb7 Migrate from gtk_window_set_policy() to gtk_window_set_resizable() and
2008-06-03  Kjartan Maraas  <kmaraas@gnome.org>

	* e-cell-date-edit.c: (e_cell_date_edit_init):
	* e-dateedit.c: (create_children):
	* e-multi-config-dialog.c: (e_multi_config_dialog_init):
	* e-unicode.h:
	* test-calendar.c: (main):
	* test-dateedit.c: (main):
	* test-info-label.c: (main):
	Migrate from gtk_window_set_policy() to gtk_window_set_resizable()
	and clean up a bunch of coding style issues along the way.

svn path=/trunk/; revision=35584
2008-06-03 18:35:02 +00:00
Matthew Barnes 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
Danny Baumann 015345c498 ** Fix for bug #529893
2008-04-25  Danny Baumann  <dannybaumann@web.de>

	** Fix for bug #529893

	* widgets/misc/e-dateedit.c (create_children):
	* widgets/misc/e-combo-cell-editable.c (build_popup):
	* widgets/misc/e-cell-date-edit.c (e_cell_date_edit_init):
	* widgets/table/e-table-header-item.c: (make_shaped_window_from_xpm):
	* widgets/table/e-cell-combo.c: (e_cell_combo_init):
	* widgets/table/e-cell-text.c: (ect_show_tooltip):
	* widgets/text/e-text.c: (_do_tooltip):
	* calendar/gui/e-calendar-view.c: (e_calendar_view_get_tooltips):
	Properly set type hints for popup windows.


svn path=/trunk/; revision=35416
2008-04-25 13:35:38 +00:00
Matthew Barnes 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
Milan Crha 8f3a968fc9 ** Fix for bug #339813
2008-01-07  Milan Crha  <mcrha@redhat.com>

	** Fix for bug #339813

	* addressbook/gui/contact-editor/e-contact-editor.c: (e_contact_editor_create_date):
	Setting new option 'e_date_edit_set_twodigit_year_can_future' to FALSE.

	* widgets/misc/e-dateedit.h: (e_date_edit_get_twodigit_year_can_future),
	(e_date_edit_set_twodigit_year_can_future):
	Added new option for component.
	* widgets/misc/e-dateedit.c: (e_date_edit_get_twodigit_year_can_future),
	(e_date_edit_set_twodigit_year_can_future),
	(struct _EDateEditPrivate::twodigit_year_can_future),
	(e_date_edit_init), (e_date_edit_parse_date):
	Implementing new option for component.
	* widgets/misc/e-dateedit.c: (on_date_entry_focus_out):
	Always repaint value on focus out.
	* widgets/misc/e-dateedit.c: (e_date_edit_update_date_entry):
	Forced to always show 4-digit year.

Note: Be sure you updated EDS too (revision 8343 and above)

svn path=/trunk/; revision=34774
2008-01-07 11:42:51 +00:00
Tobias Mueller cda4109744 ** Fixes bug 474651
2007-12-13  Tobias Mueller  <tobiasmue@svn.gnome.org>

        ** Fixes bug 474651
        * calendar/gui/memos-component.c:
        * addressbook/gui/component/addressbook.c:
        * calendar/gui/tasks-control.c:
        * calendar/gui/tasks-component.c:
        * widgets/misc/e-dateedit.c:
        * calendar/gui/e-cal-model-tasks.c:
        * widgets/misc/e-cell-percent.c:
        * calendar/gui/e-itip-control.c:
        * calendar/gui/comp-editor-factory.c:
        Use format strings in gtk_message_dialog_new


svn path=/trunk/; revision=34694
2007-12-13 18:23:31 +00:00
Matthew Barnes 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
Milan Crha 3724efa492 ** Fix for bug #231166
2007-11-05  Milan Crha  <mcrha@redhat.com>

	** Fix for bug #231166

	* e-dateedit.c: (create_children), (e_date_edit_check_time_changed),
	(rebuild_time_popup), (on_date_edit_time_selected),
	(on_time_entry_key_press), (e_date_edit_update_time_entry),
	(e_date_edit_grab_focus), (e_date_edit_update_time_combo_state):
	Migrate from gtk_combo to gtk_com_box_entry for time_combo.


svn path=/trunk/; revision=34505
2007-11-05 12:05:47 +00:00
Milan Crha 58338b08f3 ** Fix for bug #351932
2007-11-05  Milan Crha  <mcrha@redhat.com>

	** Fix for bug #351932

	* widgets/misc/e-dateedit.h: (e_date_edit_have_time):
	* widgets/misc/e-dateedit.c: (e_date_edit_have_time): Extend API to be able
	to check if time is set independently of date part.

	* calendar/gui/dialogs/task-page.c: (check_start_before_end), (times_updated),
	(start_date_changed_cb), (due_date_changed_cb), (init_widgets):
	Ensure due date is not before start date.



svn path=/trunk/; revision=34500
2007-11-05 10:45:03 +00:00
Matthew Barnes e2e5e8d754 Fix for bug #461195 from Hiroyuki Ikezoe.
Use GObject's marshalers whenever possible.


svn path=/trunk/; revision=34324
2007-09-27 20:08:55 +00:00
Matthew Barnes 8e47917e8c Update FSF address in header comments (#469886). Patch from Tobias
2007-09-02  Matthew Barnes  <mbarnes@redhat.com>

	* Update FSF address in header comments (#469886).
	  Patch from Tobias Mueller.


svn path=/trunk/; revision=34151
2007-09-02 04:19:22 +00:00
Chenthill Palanisamy e18a34da15 Fixes #387844
svn path=/trunk/; revision=33771
2007-07-08 20:11:32 +00:00
Matthew Barnes 646455c0f9 Fix compilation warnings in widgets folder (#441014).
svn path=/trunk/; revision=33626
2007-06-03 02:45:22 +00:00
Wang Xin 70a55f59e1 Fixes #439049.
2007-05-21  Wang Xin  <jedy.wang@sun.com>

	* e-dateedit.c: Fixes #439049.


svn path=/trunk/; revision=33560
2007-05-21 06:23:04 +00:00