1. 27 Mar, 2011 1 commit
    • Matthew Barnes's avatar
      Restore lockdown integration. · ba6a2343
      Matthew Barnes authored
      With lockdown settings available through GSettings, widgets can handle
      lockdown integration themselves without having to use EShellSettings.
      
      Also fixed a few places where printing or save-to-disk actions were
      either not properly wired up or not responding to lockdown settings,
      but much more work needs done.  Attachments, for example, are not
      honoring the disable-save-to-disk setting at all.
      
      This too requires the recently-added gsettings-desktop-schemas
      dependency.
      ba6a2343
  2. 04 Nov, 2010 1 commit
  3. 22 Oct, 2010 1 commit
    • Matthew Barnes's avatar
      Simplify EActivity. · c881b5bc
      Matthew Barnes authored
      With unintrusive error dialogs gone, we can cut some unnecessary bits
      out of EActivity.
      
      I'm also adding a new enum property called "state", which is one of:
      
          E_ACTIVITY_RUNNING
          E_ACTIVITY_WAITING
          E_ACTIVITY_CANCELLED
          E_ACTIVITY_COMPLETED
      
      The state of an activity must be explicitly changed.  In particular,
      when the user cancels an activity the state should be set only after
      confirming the operation has been cancelled and not when cancellation
      is requested (e.g. after receiving a G_IO_ERROR_CANCELLED, not when
      the GCancellable emits "cancelled").  EActivityBar and EActivityProxy
      widgets have been updated to make this distinction clearer in the UI.
      
      E_ACTIVITY_WAITING will be used when activities have to be queued and
      dispatched in sequence, which I haven't written yet.
      c881b5bc
  4. 06 Oct, 2010 1 commit
  5. 18 Sep, 2010 1 commit
    • Matthew Barnes's avatar
      Add a GCancellable to EActivity. · a98c07a5
      Matthew Barnes authored
      EActivity now uses a GCancellable to manage cancellations, instead of
      having its own redundant cancellation API.  API changes are as follows:
      
        + e_activity_get_cancellable()
        + e_activity_set_cancellable()
      
        - e_activity_cancel()
        - e_activity_is_cancelled()
        - e_activity_get_allow_cancel()
        - e_activity_set_allow_cancel()
      
      EActivity's "cancelled" signal remains, but only as a repeater for
      GCancellable::cancelled signals.  It should not be emitted directly.
      
      The presence of a GCancellable implies that cancellation is allowed.
      EActivity does not create its own default GCancellable, it has to be
      given one.
      
      If a CamelOperation (cast as a GCancellable) is given, EActivity will
      configure itself to listen for status updates from the CamelOperation
      and propagate the information to its own "primary-text" and "percent"
      properties.
      
      These changes allowed me to start cleaning up some of the incredibly
      convoluted logic in mail-mt.c -- in particular, mail_operation_status()
      is completely gone now.  mail-mt.c is still in a transitional state --
      much more significant changes coming soon.
      a98c07a5
  6. 23 Jun, 2010 1 commit
  7. 10 Jan, 2010 1 commit
  8. 26 Dec, 2009 1 commit
  9. 25 Dec, 2009 1 commit
    • Matthew Barnes's avatar
      Introduce ESelectable and EFocusTracker. · abc0e4c6
      Matthew Barnes authored
      EFocusTracker tracks the input focus within a window and helps keep
      the sensitivity of "selectable" actions in the main menu up-to-date.
      Selectable actions include Cut, Copy, Paste, Select All and Delete.
      
      EFocusTracker has built-in support for widgets that implement the
      GtkEditable interface such as GtkEntry and GtkTextView.  It also
      supports custom widgets that implement the ESelectable interface,
      which is a subset of GtkEditable and can apply to anything that
      displays selectable content (esp. tree views and ETables).
      
      This commit integrates EFocusTracker with EShellWindow, CompEditor,
      EMsgComposer, and ESignatureManager.
      
      It also bumps the GtkHTML requirement to 2.29.5 to utilize the new
      GtkhtmlEditor:html constructor property.
      abc0e4c6
  10. 10 Dec, 2009 1 commit
  11. 08 Dec, 2009 1 commit
    • Matthew Barnes's avatar
      Kill ETableScrolled. · dd65b18d
      Matthew Barnes authored
      ETableScrolled is nothing but a GtkScrolledWindow containing an ETable.
      It adds nothing of value and actually makes customizing ETable harder.
      dd65b18d
  12. 10 Nov, 2009 1 commit
  13. 07 Nov, 2009 1 commit
    • Matthew Barnes's avatar
      Convert some "Save As" actions to run asynchronously. · 86ecfc50
      Matthew Barnes authored
      This introduces e-shell-utils for miscellaneous utility functions
      that integrate with the shell or shell settings.  First function
      is e_shell_run_save_dialog(), which automatically remembers the
      selected folder in the file chooser dialog.
      
      Also, kill some redundant save dialog functions, as well as some
      write-this-string-to-disk functions that block.
      86ecfc50
  14. 07 Oct, 2009 1 commit
  15. 10 Aug, 2009 1 commit
  16. 24 Jun, 2009 1 commit
    • Matthew Barnes's avatar
      Radically reorganize source code. · f0d3f3af
      Matthew Barnes authored
      - Collect all shell modules into a new top-level 'modules' directory:
      
            $(top_srcdir)/modules/addressbook
            $(top_srcdir)/modules/calendar
            $(top_srcdir)/modules/mail
      
        Nothing is allowed to link to these, not plugins nor other modules.
      
        THIS SOLVES BUG #571275 AND OPENS THE DOOR TO PORTING TO MAC OS X.
      
      - Mimic the libevolution-mail-shared library from master (except drop
        the "shared" suffix) and have libevolution-mail-importers and all
        mail-related plugins link to it.
      
      - Discard the a11y subdirectories and have the files live alongside
        their counterpart widgets.
      f0d3f3af
  17. 10 May, 2009 1 commit
  18. 08 May, 2009 1 commit
  19. 25 Apr, 2009 1 commit
  20. 27 Jan, 2009 2 commits
  21. 21 Jan, 2009 1 commit
  22. 11 Jan, 2009 1 commit
  23. 29 Oct, 2008 1 commit
    • Matthew Barnes's avatar
      Get the calendar's memopad and taskpad working. · d6b8b58b
      Matthew Barnes authored
      What's interesting here is we're actually sharing the ECalModel across views.
      Instead of having the Calendar view listen to GConf for changes to the Task
      and Memo models, the Calendar view fetches the models directly from the Task
      and Memo views -- starting the views if it has to, although the shell really
      takes care of that -- and loads the models into its own taskpad and memopad.
      
      We couldn't do that sort of thing before with Bonobo in the way.
      Big chunks of redundant code should begin falling out shortly.
      
      svn path=/branches/kill-bonobo/; revision=36696
      d6b8b58b
  24. 28 Oct, 2008 1 commit
  25. 13 Oct, 2008 1 commit
    • Matthew Barnes's avatar
      Progress update: · 79aa45cf
      Matthew Barnes authored
      	- Calendar is kind of a mess at the moment.  Doesn't compile.
      
      	- Roughed in the Mail module, including all the actions.
      	  That _does_ compile.  Runs, even.
      
      
      svn path=/branches/kill-bonobo/; revision=36611
      79aa45cf