aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mail-notification/mail-notification.c
Commit message (Collapse)AuthorAgeFilesLines
* Migrate mail notification plugin to GSettingsRodrigo Moya2011-11-021-67/+45
|
* GtkApplication has some new EShell-like features.Matthew Barnes2011-10-061-1/+3
| | | | | | | | | | | | | | | | | | I pushed a few EShell features up to GtkApplication for GTK+ 3.2, so we can now trim off the redundancies in EShell. 1) GtkApplication has a new "window-added" signal which replaces EShell's own "window-created" signal. 2) GtkApplication has a new "window-removed" signal which replaces EShell's own "window-destroyed" signal. 3) gtk_application_get_windows() now returns a list of windows sorted by most recently focused, replacing e_shell_get_watched_windows(). 4) GtkApplication now provides enough hooks to subclasses that we can remove e_shell_watch_window() and call gtk_application_add_window() directly.
* Miscellaneous cleanups from the account-mgmt branch.Matthew Barnes2011-09-271-1/+0
| | | | | Reducing diff noise so I can see important changes easier when comparing branches. A few API changes, but nothing that affects functionality.
* Coding style and whitespace cleanup.Matthew Barnes2011-09-041-5/+11
|
* Use new CamelService:display-name property.Matthew Barnes2011-08-181-9/+6
| | | | Simplify, simplify...
* error in mail notificationPunit Jain2011-07-211-1/+1
|
* Bug 653699 - Improve mail notificationsMatthew Barnes2011-07-071-180/+124
| | | | | | | | | | | | | | Remove the "Generate a D-Bus message" checkbox and just do it. Replaced "Show icon in notification area" and "Popup message together with the icon" checkboxes with a single "Show notification when a new message arrives" checkbox. Re-show an unacknowledged notification message when additional new messages arrive. Replaced the "Default" action label in notification messages with "Show $FOLDER_NAME" (e.g. "Show Inbox").
* Change EMEventTargetFolder contents.Matthew Barnes2011-05-301-14/+22
| | | | | | Give it a CamelStore and folder name instead of an EAccount and folder URI. Both the EAccount and folder URI can be easily retrieved from the CamelStore and folder name.
* Including <glib.h> directly is rarely needed.Matthew Barnes2011-05-281-1/+0
|
* Coding style cleanups.Matthew Barnes2011-05-091-1/+1
|
* Adapt to CamelFolder:name -> display-name.Matthew Barnes2011-05-071-1/+1
|
* EMEventTargetFolder: Add an EAccount member.Matthew Barnes2011-05-031-12/+8
| | | | | The mail-notification plugin can use the EAccount member directly instead of searching for it by URI.
* Workaround for bug #644792 - [mail-notify] Crash when sending D-Bus messageMilan Crha2011-03-151-0/+8
|
* Bug 631731 - Remove status icon from mail notifierWilliam Jon McCann2010-10-281-155/+22
|
* Bug 632903 - Support libnotify-0.7Flo Gravo2010-10-231-2/+6
|
* Move more account utilities to e-account-utils.c.Matthew Barnes2010-10-191-1/+2
|
* Replace EBinding with GBinding.Matthew Barnes2010-10-141-5/+6
| | | | | | GObject now does property bindings itself. Requires GLib >= 2.26.
* Coding style cleanups.Matthew Barnes2010-09-131-10/+10
|
* Re-work my GtkDialog:has-separator workaround.Matthew Barnes2010-09-111-2/+2
| | | | | | | If we're using GTK+ 2.21.8 (where gtk_dialog_set_has_separator() is deprecated but the property is still present and defaults to TRUE), we still need to set the property to FALSE. So instead use g_object_set() up through GTK+ 2.90.6, after which the property itself is gone.
* No more blinking status icon.Matthew Barnes2010-09-111-37/+0
| | | | GTK+ came to its senses and dropped support for it. Thank goodness.
* Work around deprecation of gtk_dialog_set_has_separator()Matthew Barnes2010-09-111-0/+2
| | | | | | Unfortunately the default value for this property is TRUE (bzzt, WRONG!) so we can't just remove the function outright until we require GTK+ 2.22. It was deprecated in GTK+ 2.21.8.
* Various memory leaksMilan Crha2010-09-081-0/+1
|
* Coding style and whitespace cleanup.Matthew Barnes2010-08-031-4/+12
|
* Bug #625606 - git/master build dies with glib-2.25.12Milan Crha2010-07-301-1/+1
|
* Bug #622912 - Migrate from dbus-glib to glib's GDBusMilan Crha2010-07-281-50/+56
|
* Fix some compiler warnings.Matthew Barnes2010-07-111-1/+3
|
* Coding style and whitespace cleanups.Matthew Barnes2010-06-071-22/+53
|
* Adapt to Camel API changes.Matthew Barnes2010-04-301-1/+4
|
* Giant leap towards GSEAL compliance.Matthew Barnes2010-04-081-1/+4
|
* Only #include Camel's top-level header.Matthew Barnes2010-04-031-2/+0
|
* Bug 606449 - empty mail-notification popupsLucian Langa2010-01-091-3/+5
|
* Enable building without Canberra-GTKTor Lillqvist2009-11-111-0/+9
|
* Bug #464400 - New mail notify should display sender and subjectMilan Crha2009-10-311-5/+57
|
* Bug #561843 - Properly check for filename being set, to not crashMilan Crha2009-10-301-1/+1
|
* Bug 480361 - Useful action when clicking on a mail notificationMatthew Barnes2009-10-211-39/+80
|
* Make dbus-glib mandatory.Matthew Barnes2009-09-051-15/+3
|
* Relax the EBinding API to reduce GObject casting.Matthew Barnes2009-09-021-4/+4
| | | | | Also make it more fault-tolerant by warning about non-existent property names instead of just crashing.
* Coding style and whitespace cleanup.Matthew Barnes2009-08-301-8/+10
|
* Simplify EPlugin loading at startup.Matthew Barnes2009-08-301-2/+2
| | | | | | | | | | | | | - Require all EPlugin and EPluginHook subtypes be registered before loading plugins. This drastically simplifies the EPlugin/EPluginHook negotiation. - Turn most EPluginHook subtypes into GTypeModules and register their types from an e_module_load() function (does not include shell hooks). - Convert EPluginLib and the Mono and Python bindings to GTypeModules and register their types from an e_module_load() function, and kill EPluginTypeHook.
* Cleanup mail-notification configuration page.Matthew Barnes2009-08-231-217/+190
|
* Bug 571488 - Migrate from deprecated gnome_sound to libcanberraH.Habighorst2009-08-231-38/+70
|
* Bug #573919 - [Mail-Notification] Check for 'actions' capabilityKen VanDine2009-08-111-4/+37
|
* Bug 588018 – NetworkManager & DBUS build check rewriteH.Habighorst2009-07-141-12/+1
|
* Fix excessive whitespace.Matthew Barnes2009-07-131-1/+0
|
* Whitespace cleanup.Matthew Barnes2009-05-291-7/+7
|
* Prefer GLib basic types over C types.Matthew Barnes2009-05-291-13/+13
|
* Remove trailing whitespace, again.Matthew Barnes2009-05-291-12/+12
|
* Only #include specific libgnome[ui] headers; easier to track.Matthew Barnes2009-05-011-1/+1
| | | | | | | | Stop including top-level libgnome[ui] headers -- <gnome.h>, <libgnome/libgnome.h> and <libgnomeui/libgnomeui.h>. Instead, include specific header files so we can track them easier. Also, remove several unshipped test programs. Mostly ETable stuff.
* Bump the required GLib and GTK+ versions to latest stable.Matthew Barnes2009-05-011-4/+0
| | | | | We now require GLib >= 2.20 and GTK+ >= 2.16. Also removed all GLIB_CHECK_VERSION and GTK_CHECK_VERSION workarounds for older versions.
* Rats. gtk_status_icon_set_tooltip_text() is only in 2.16.Matthew Barnes2009-02-191-0/+4
| | | | | | Define some temporary macros to work around it. svn path=/trunk/; revision=37292
* ** Fixes part of bug #572348Matthew Barnes2009-02-191-1/+1
| | | | | | | | | | | | | | | | | | | | 2009-02-19 Matthew Barnes <mbarnes@redhat.com> ** Fixes part of bug #572348 * calendar/gui/alarm-notify/alarm-queue.c (display_notification): * plugins/mail-notification/mail-notification.c (new_notify_status): Call gtk_status_icon_set_tooltip_text() instead of gtk_status_icon_set_tooltip() (deprecated). * calendar/gui/weekday-picker.c (configure_items): Remove dead code. * widgets/table/e-table-example-1.c (main): gtk_widget_push_visual() is a no-op. Remove it. svn path=/trunk/; revision=37291
* Fix compilation error.Srinivasa Ragavan2008-11-201-0/+2
| | | | | | | | 2008-11-19 Srinivasa Ragavan <sragavan@novell.com> * mail-notification.c: Fix compilation error. svn path=/trunk/; revision=36804
* ** Fix for BNC bug #434320Srinivasa Ragavan2008-11-191-1/+20
| | | | | | | | | | | | | 2008-11-19 Srinivasa Ragavan <sragavan@novell.com> ** Fix for BNC bug #434320 * plugins/mail-notification/mail-notification.c: When the popup is clicked close the status icon. svn path=/trunk/; revision=36802
* License changes from GPL to LGPLSankarasivasubramanian Pasupathilingam2008-09-161-13/+14
| | | | svn path=/trunk/; revision=36344
* ** Fix for bug #514299Milan Crha2008-09-161-6/+8
| | | | | | | | | | | | 2008-09-15 Milan Crha <mcrha@redhat.com> ** Fix for bug #514299 * mail-notification.c: (new_notify_status): Connect to signals only once, when creating new status icon. svn path=/trunk/; revision=36338
* ** Fixes bug #546892Matthew Barnes2008-08-121-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-08-11 Matthew Barnes <mbarnes@redhat.com> ** Fixes bug #546892 * e-util/e-icon-factory.c (e_icon_factory_get_image): Kill this function. Use gtk_image_new_from_icon_name(). * e-util/e-icon-factory.c (e_icon_factory_get_icon_list): Kill this function. Use gtk_window_set_icon_name(). * widgets/misc/e-activity-handler.c: * widgets/misc/e-task-widget.c: Purge the GdkPixbuf arguments from the API. We've been ignoring them since the spinner icon was added. * addressbook/gui/contact-editor/e-contact-editor-fullname.c: * addressbook/gui/contact-editor/e-contact-editor-im.c: * addressbook/gui/contact-editor/e-contact-editor-address.c: * calendar/gui/alarm-notify/alarm-notify-dialog.c: * calendar/gui/dialogs/alarm-dialog.c: * calendar/gui/dialogs/alarm-list-dialog.c: * calendar/gui/dialogs/cal-attachment-select-file.c: * calendar/gui/dialogs/changed-comp.c: * calendar/gui/dialogs/delete-error.c: * calendar/gui/dialogs/select-source-dialog.c: * mail/mail-send-recv.c: * mail/message-tag-followup.c: * widgets/misc/e-combo-button.c: * widgets/misc/e-info-label.c: * widgets/misc/e-url-entry.c: * widgets/misc/e-task-widget.c: Prefer gtk_window_set_icon_name() over gtk_window_set_icon_list(). * addressbook/gui/contact-editor/e-contact-editor-im.c: * calendar/gui/dialogs/event-page.c: * calendar/gui/e-timezone-entry.c: * e-util/e-gui-utils.c: * e-util/e-popup.c: * plugins/import-ics-attachments/icsimporter.c: * plugins/itip-formatter/itip-view.c: * mail/em-folder-browser.c: * mail/em-format-html-display.c: * mail/mail-send-recv.c: * mail/message-tag-followup.c: Prefer gtk_image_new_from_icon_name() over e_icon_factory_get_image(). * calendar/gui/alarm-notify/alarm-queue.c: * plugins/mail-notification/mail-notification.c: Prefer gtk_status_icon_set_from_icon_name() over gtk_status_icon_set_from_pixbuf(). * addressbook/gui/component/addressbook-view.c: * calendar/gui/e-calendar-table.c: * calendar/gui/e-calendar-view.c: * calendar/gui/e-memo-table.c: * mail/mail-mt.c: e_activity_handler_operation_started() no longer takes a GdkPixbuf. It was ignoring the pixbuf anyway ever since we added a spinner icon. svn path=/trunk/; revision=35958
* ** Fix for bug #353927Milan Crha2008-08-011-2/+25
| | | | | | | | | | | | | | | 2008-08-01 Milan Crha <mcrha@redhat.com> ** Fix for bug #353927 * calendar/gui/alarm-notify/alarm-queue.c: (tray_icon_blink_cb), (display_notification): Do not blink the icon more than 15 seconds. * plugins/mail-notification/mail-notification.c: (icon_activated), (stop_blinking_cb), (new_notify_status): Do not blink the icon more than 15 seconds. svn path=/trunk/; revision=35875
* ** Fix for bug #544022Milan Crha2008-07-221-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | 2008-07-22 Milan Crha <mcrha@redhat.com> ** Fix for bug #544022 * configure.in: Do not redefine DBUS_VERSION define supplied by dbus itself, rather rename our define to FOUND_DBUS_VERSION. * mail/e-searching-tokenizer.c: (dump_trie): Define function only when required. (Compiler warning cleanup.) * shell/e-shell-window-commands.c: (char *authors[]): Break the escape sequence properly (compiler warning cleanup). * plugins/email-custom-header/email-custom-header.c: Compiler warning cleanup. * plugins/mail-notification/Makefile.am: * plugins/mail-notification/mail-notification.c: (send_dbus_message): Do not redefine DBUS_VERSION define, it's supplied by dbus itself. svn path=/trunk/; revision=35819
* Committing on behalf of Milan Crha <mcrha@redhat.com>Milan Crha2008-07-211-26/+111
| | | | | | | | | | | | | | 2008-07-16 Milan Crha <mcrha@redhat.com> ** Fix for bug #543134 * mail-notification.c: (get_cfg_widget), (do_properties), (popup_menu_status), (new_notify_status), (e_plugin_lib_get_configure_widget): Show popup menu when right-click over the status icon. svn path=/trunk/; revision=35782
* updated novell copyright notices (left others alone)Jeffrey Stedfast2008-06-211-1/+1
| | | | svn path=/trunk/; revision=35665
* Added proper translator comments for stringsJohnny Jacob2008-01-281-1/+2
| | | | svn path=/trunk/; revision=34917
* Fix for Bug 504567. Added gettext for plurals in mail-notification plugin.Johnny Jacob2008-01-281-3/+6
| | | | svn path=/trunk/; revision=34912
* ** Fix for bug #492702Srinivasa Ragavan2008-01-091-4/+18
| | | | | | | | | | | | | 2008-01-09 Srinivasa Ragavan <sragavan@novell.com> ** Fix for bug #492702 * configure.in: Just disable the dbus message part of mail notification if dbus isn't there. Also remove new-mail-notify plugin. svn path=/trunk/; revision=34784
* Show the actual displayed folder name rather than the decoded/handled oneSrinivasa Ragavan2008-01-021-6/+1
| | | | | | | | | 2008-01-02 Srinivasa Ragavan <sragavan@novell.com> * mail-notification.c: (new_notify_status): Show the actual displayed folder name rather than the decoded/handled one from uri. svn path=/trunk/; revision=34745
* ** Fix for bug #504030Milan Crha2007-12-171-1/+1
| | | | | | | | | | | | 2007-12-17 Milan Crha <mcrha@redhat.com> ** Fix for bug #504030 * mail-notification.c: (new_notify_sound): Do not play sound on every new mail arrival in a row. svn path=/trunk/; revision=34720
* Part of fix for #492702 from Milan Crha : New mail notify and preferences ui ↵Johnny Jacob2007-12-151-94/+697
| | | | | | movement. svn path=/trunk/; revision=34702
* ** Remove trailing whitespace from source code.Matthew Barnes2007-11-151-16/+16
| | | | | | | | | 2007-11-14 Matthew Barnes <mbarnes@redhat.com> ** Remove trailing whitespace from source code. svn path=/trunk/; revision=34537
* Miscellaneous changes related to bug #437579.Matthew Barnes2007-10-121-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | 2007-10-11 Matthew Barnes <mbarnes@redhat.com> Miscellaneous changes related to bug #437579. * configure.in: Put a blank line between the configuration summary and the final "now type make" message. * mail/em-format.c (em_format_add_puri): Use G_GSIZE_FORMAT when printing a gsize/size_t to make compilers on all arches happy. * plugins/mail-notification/mail-notification.c: Put the notification_callback() declaration inside a #ifdef HAVE_LIBNOTIFY block to avoid a potential compiler warning. * calendar/gui/alarm-notify/alarm-queue.c: Fix an implicit GTK+ function declaration on x86_64. svn path=/trunk/; revision=34378
* Update FSF address in header comments (#469886). Patch from TobiasMatthew Barnes2007-09-021-1/+1
| | | | | | | | | | 2007-09-02 Matthew Barnes <mbarnes@redhat.com> * Update FSF address in header comments (#469886). Patch from Tobias Mueller. svn path=/trunk/; revision=34151
* Fixed syntax of ngettext.Claude Paroz2007-07-201-1/+1
| | | | svn path=/trunk/; revision=33824
* ** Fix for byug #452900 from Cosimo CecchiSrinivasa Ragavan2007-07-051-7/+36
| | | | svn path=/trunk/; revision=33757
* Fix for bug #437584Srinivasa Ragavan2007-06-181-1/+1
| | | | svn path=/trunk/; revision=33697
* ** Fix for bug #439316Srinivasa Ragavan2007-05-181-10/+17
| | | | svn path=/trunk/; revision=33557
* ** Fix for bug #439146 and #438711 from Ross Burton and Daniel ↵Srinivasa Ragavan2007-05-181-20/+34
| | | | | | Gryniewicz svn path=/trunk/; revision=33556
* Fix a build error.Srinivasa Ragavan2007-05-111-1/+2
| | | | svn path=/trunk/; revision=33506
* Fix for build break.Srinivasa Ragavan2007-05-071-0/+2
| | | | svn path=/trunk/; revision=33490
* Make libnotify conditionalSrinivasa Ragavan2007-05-031-0/+2
| | | | svn path=/trunk/; revision=33475
* Initial commit for Mail notification plugin.Srinivasa Ragavan2007-05-031-0/+137
svn path=/trunk/; revision=33474