Commit Graph

65 Commits

Author SHA1 Message Date
9662ac73cc Bug 631731 - Remove status icon from mail notifier 2010-10-27 15:08:32 -04:00
8854c727c1 Bug 632903 - Support libnotify-0.7 2010-10-22 18:54:27 -04:00
ec170e47fd Move more account utilities to e-account-utils.c. 2010-10-18 12:32:38 -04:00
1e663aa132 Replace EBinding with GBinding.
GObject now does property bindings itself.

Requires GLib >= 2.26.
2010-10-14 07:12:52 -04:00
cd53ba9900 Coding style cleanups. 2010-09-13 08:28:58 -04:00
bc9ece413f Re-work my GtkDialog:has-separator workaround.
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.
2010-09-11 09:03:45 -04:00
ec49cd00de No more blinking status icon.
GTK+ came to its senses and dropped support for it.  Thank goodness.
2010-09-11 00:30:54 -04:00
a6e137295f Work around deprecation of gtk_dialog_set_has_separator()
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.
2010-09-11 00:30:54 -04:00
101305e1c7 Various memory leaks 2010-09-07 18:39:46 +02:00
49e8d834fc Coding style and whitespace cleanup. 2010-08-02 19:48:54 -04:00
52ad80d601 Bug #625606 - git/master build dies with glib-2.25.12 2010-07-29 21:07:26 +02:00
6158bcecd7 Bug #622912 - Migrate from dbus-glib to glib's GDBus 2010-07-28 16:21:40 +02:00
2c48f517c1 Fix some compiler warnings. 2010-07-11 09:15:28 -04:00
ffc019e36f Coding style and whitespace cleanups. 2010-06-06 20:09:08 -04:00
aec33928b7 Adapt to Camel API changes. 2010-04-30 11:30:19 -04:00
72797decc1 Giant leap towards GSEAL compliance. 2010-04-08 11:05:26 -04:00
fabb6b035c Only #include Camel's top-level header. 2010-04-02 16:59:20 -04:00
d25df2ff25 Bug 606449 - empty mail-notification popups 2010-01-09 09:39:22 +02:00
1239230591 Enable building without Canberra-GTK 2009-11-11 15:29:51 +02:00
daa8339f17 Bug #464400 - New mail notify should display sender and subject 2009-10-30 17:01:01 +01:00
d474c030d7 Bug #561843 - Properly check for filename being set, to not crash 2009-10-29 18:09:32 +01:00
72854d0bb8 Bug 480361 - Useful action when clicking on a mail notification 2009-10-20 23:45:01 -04:00
54b282cf4f Make dbus-glib mandatory. 2009-09-04 18:15:52 -04:00
8962868ff9 Relax the EBinding API to reduce GObject casting.
Also make it more fault-tolerant by warning about non-existent
property names instead of just crashing.
2009-09-01 21:12:44 -04:00
0f7f4cfe38 Coding style and whitespace cleanup. 2009-08-30 00:48:57 -04:00
32f545cdf0 Simplify EPlugin loading at startup.
- 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.
2009-08-29 17:23:20 -04:00
0221ae1e0e Cleanup mail-notification configuration page. 2009-08-23 09:53:56 -04:00
ff7084ffe4 Bug 571488 - Migrate from deprecated gnome_sound to libcanberra 2009-08-23 08:31:14 -04:00
364f041ccd Bug #573919 - [Mail-Notification] Check for 'actions' capability 2009-08-10 16:39:15 -04:00
1e0b252fc7 Bug 588018 – NetworkManager & DBUS build check rewrite 2009-07-13 14:06:19 -04:00
0274669179 Fix excessive whitespace. 2009-07-12 23:33:07 -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
71c5738707 Only #include specific libgnome[ui] headers; easier to track.
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.
2009-04-30 23:30:00 -04:00
c3191ec86b Bump the required GLib and GTK+ versions to latest stable.
We now require GLib >= 2.20 and GTK+ >= 2.16.  Also removed all
GLIB_CHECK_VERSION and GTK_CHECK_VERSION workarounds for older versions.
2009-04-30 15:42:04 -04:00
15b9f361f6 Rats. gtk_status_icon_set_tooltip_text() is only in 2.16.
Define some temporary macros to work around it.

svn path=/trunk/; revision=37292
2009-02-19 03:40:14 +00:00
658c9e0c8f ** Fixes part of bug #572348
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
2009-02-19 03:25:13 +00:00
af0ebad402 Fix compilation error.
2008-11-19  Srinivasa Ragavan  <sragavan@novell.com>

	* mail-notification.c: Fix compilation error.

svn path=/trunk/; revision=36804
2008-11-19 16:12:13 +00:00
31e212934c ** Fix for BNC bug #434320
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
2008-11-19 05:55:21 +00:00
79d878670a License changes from GPL to LGPL
svn path=/trunk/; revision=36344
2008-09-16 10:52:29 +00:00
75bfbd29ee ** Fix for bug #514299
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
2008-09-15 17:40:29 +00:00
434bc25ed6 ** Fixes bug #546892
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
2008-08-11 17:04:32 +00:00
a7fa236775 ** Fix for bug #353927
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
2008-08-01 07:17:26 +00:00
5e4b6fcb89 ** Fix for bug #544022
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
2008-07-22 08:43:06 +00:00
e84757b92e Committing on behalf of Milan Crha <mcrha@redhat.com>
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
2008-07-20 19:19:03 +00:00
abda2bda85 updated novell copyright notices (left others alone)
svn path=/trunk/; revision=35665
2008-06-20 22:26:57 +00:00
a999b463a0 Added proper translator comments for strings
svn path=/trunk/; revision=34917
2008-01-28 09:58:09 +00:00
6ca6246318 Fix for Bug 504567. Added gettext for plurals in mail-notification plugin.
svn path=/trunk/; revision=34912
2008-01-28 06:28:50 +00:00
77aa984d1b ** Fix for bug #492702
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
2008-01-09 15:10:48 +00:00