1
0
mirror of https://github.com/moparisthebest/FireTray synced 2024-08-13 15:53:47 -04:00
Commit Graph

404 Commits

Author SHA1 Message Date
foudfou
1c76f1c1f9 * update preferences-system.svg for DFSG-compatibility
* add check for loglevel in Makefile
2013-11-06 22:23:36 +01:00
foudfou
402eb46c38 deprecation cleaning 2013-11-04 21:23:50 +01:00
foudfou
0f28d23f71 * add mail_urgency_hint pref
* fix options' window size
2013-11-03 15:38:15 +01:00
foudfou
ee7e691dae update it fr locales (thx Underpass!) 2013-11-03 11:46:57 +01:00
foudfou
595dcf42b7 bump version to 0.4.8 2013-11-03 03:12:24 +01:00
foudfou
088f7f56e4 cleaner observer for accountmanager.accounts
We also need to start observing the mail.accountmanager.accounts pref *after*
it's fully built.
2013-11-03 02:09:07 +01:00
foudfou
6d2bd81053 fix bogus import in Firefox 2013-11-01 15:28:06 +01:00
foudfou
eda4302ba5 * remove calls to old/deprecated interfaces (reported by AMO)
* reset logging level
2013-10-27 23:05:25 +01:00
foudfou
1fc3b93bd7 fix Accounts() generator (bug introduced in 65d175) 2013-10-27 18:35:33 +01:00
foudfou
590c257788 inject scm revision into built install.rdf 2013-10-27 16:09:09 +01:00
foudfou
05a9d401b1 bump version to 0.4.7 2013-10-27 15:23:06 +01:00
foudfou
65d17531ec * fix detection of account deletion/addition (see b3869630)
* cleaning (use fixIterator on MailServices.accounts)

thx mailInstrumentation !
2013-10-26 02:21:31 +02:00
foudfou
30772d56de add locales for preferences item in popup menu 2013-10-26 01:49:58 +02:00
foudfou
c96ff01ebd add preferences item to popup menu 2013-10-25 17:49:01 +02:00
foudfou
80b0384397 new es-AR fr it nl zh-TW locales
thx BabelZillians profediego, Goofy, Jojaba, nico, Underpass, markh,
Velociraptor !
2013-10-25 16:51:42 +02:00
foudfou
8d8395b946 better remember_desktop.label string 2013-10-10 22:24:42 +02:00
foudfou
28c0932e57 comment on restoring minimized windows when hides_on_minimize 2013-10-10 22:16:19 +02:00
foudfou
4bbb66cde8 broader detection of the iconify event
Revert using getXWindowStates() instead of gdk_window_get_state(). Xfce only
sets_NET_WM_STATE_HIDDEN after iconify.
2013-10-10 22:01:29 +02:00
foudfou
6459bc6e4f * revert to using setVisibility() instead of baseWin.visibility=false on
* startupHide cleaning

It looks like setting baseWin.visibility=false removes the possibility to
restore the app by calling it from the command line. This is why we use
setVisibility() instead if start_hidden.
2013-10-07 21:44:34 +02:00
foudfou
ef30cd16e2 * fix: correct launch of app-started event in Thunderbird when windows not
actually mapped (or "mapped" to another desktop)
* check app started if -firetrayShowHide or -firetrayPresent

We can't base the app-started event solely on MapNotify, at least because the
app could be started on another desktop (not mapped). The app-started event in
Thunderbird is not based on mail-startup-done events. We might have to consider
implementing a watchdog for unexpected cases...
2013-10-07 00:24:29 +02:00
foudfou
d8536d8127 fix error catching when accounts not yet initialized 2013-09-19 16:49:07 +02:00
foudfou
f6508616e6 Merge branch 'urgency'
Conflicts:
	src/modules/FiretrayChat.jsm
	src/modules/linux/FiretrayChatStatusIcon.jsm
2013-07-24 15:46:12 +02:00
foudfou
2749816a4d Merge branch 'fade'
Conflicts:
	src/modules/linux/FiretrayChatStatusIcon.jsm
2013-07-24 15:38:17 +02:00
foudfou
6615219f95 use 'focus-in' event for unsetting urgency hint
Unsetting urgency hint can't be base on MapNotify when working on a single
desktop.
2013-07-23 23:35:21 +02:00
foudfou
419ac2d0f0 set urgency hint on all windows for new messages 2013-07-22 17:23:33 +02:00
foudfou
91792afe0b tune pref tooltip for mail_change_trigger 2013-07-22 11:40:42 +02:00
foudfou
35ed1efb6f * handle chat_icon_blink and chat_icon_enable prefs properly
* better use of ChatStatusIcon timers
2013-06-23 21:45:15 +02:00
foudfou
2875aaa7ba remove experimental fade feature for AMO review 2013-06-18 22:48:23 +02:00
foudfou
7070794fcd cleaning 2013-06-18 09:55:40 +02:00
foudfou
8aaf2cfda7 fix: add long-living references to timers for ChatStatusIcon blinking 2013-06-17 23:45:38 +02:00
foudfou
97ef0cb65f fix ChatStatusIcon blinking 2013-05-31 15:43:34 +02:00
foudfou
9b190f20bd attempt to address the the compatibility warning "Some JS modules were moved
from resource:/// and resource://gre/ to resource://app/"

https://blog.mozilla.org/addons/2013/04/26/compatibility-for-firefox-21/
2013-05-30 23:15:32 +02:00
foudfou
5ddf23a59d * fix merge: ChatStatusIcon.stopCrossFading() was defined twice
* fix: ChatStatusIcon.dropPixBuf() at right time
* cleaning
2013-05-30 22:52:01 +02:00
foudfou
9472fe22a2 Merge branch 'cross-fade' into v0.4.6rc2
Conflicts:
	src/modules/FiretrayChat.jsm
	src/modules/linux/FiretrayChatStatusIcon.jsm
2013-05-30 22:22:08 +02:00
foudfou
08bd79a1c9 * add chat_icon_blink, chat_icon_blink_style options
* fix MailChatPrefListener unregistering
* use GDK_INTERP_BILINEAR for gdk_pixbuf_composite
2013-05-10 15:33:50 +02:00
foudfou
c439efb036 Merge branch 'startup' into v0.4.6rc2 2013-05-01 15:45:35 +02:00
foudfou
2e064cae99 use |yield| in addition to nested timers for ChatStatusIcon fading
http://syzygy.st/javascript-coroutines/ is worth mentioning
2013-05-01 15:44:52 +02:00
foudfou
5882e3b9c5 use nested timers to mimic sleep()
thread.processNextEvent() is prohibited in Firefox (though used in
mozmill/util.js). Nested timers are a bit twisted and ugly. Need to check
|yield| and generators: http://unixpapa.com/js/sleep.html, dactyl/base.jsm
(K. Maglione)
2013-04-29 02:10:04 +02:00
foudfou
08828ce825 for Thunderbird, base startup event on the last restored window's map.
Unfortunately there is not equivalent "sessionstore-windows-restored" in TB
yet.  Many events related to windows are issued before windows are fully
realized. "mail-startup-done"/"mail-tabs-session-restored" are issued by *each*
window. "console-api-log-event" is not reliable and can be issued at relatively
early stage on heavy configs. So that the best solution is probably to count
restored windows ourselves...
2013-04-21 14:17:29 +02:00
foudfou
c4c5a3425b address compatibility warnings from AMO
https://addons.mozilla.org/en-US/developers/addon/firetray/file/203468/validation.
Not sure if we should not just drop compatibility...  We should be able to
support back to Gecko 4.0 but ctypes-utils.jsm uses features introduced in 7.0.
2013-04-19 22:09:40 +02:00
foudfou
55bd8ce670 bump version to 0.4.6 2013-04-14 16:07:36 +02:00
foudfou
2c5a99c159 fix start_hidden by hiding only when app not started
base startup event on "sessionstore-windows-restored" and
"console-api-log-event", instead of the first "before-first-paint", reverting
some of 29de64e5
2013-04-14 15:55:20 +02:00
foudfou
31149d40ad bump Zotero version to 4.* 2013-04-08 00:46:38 +02:00
foudfou
d43e992ed4 * use a pool of conversations for handling attention calling
* ignore messages from self (can be sent from other application)
2013-04-08 00:42:51 +02:00
foudfou
837901c301 Merge branch 'twitter-blink' into icon-blink
Conflicts:
	src/modules/FiretrayChat.jsm
2013-04-07 21:50:57 +02:00
foudfou
7af80d0119 handle blinking on new messages for twitter accounts
No 'new-directed-incoming-message' event is issued on new messages for twitter
accounts, which seem to be considered chatrooms (instead of private
conversations).
2013-04-07 16:45:17 +02:00
foudfou
208db6f906 implement experimental cross-fading for blinking chat icon 2013-04-01 02:58:15 +02:00
foudfou
4360e3f499 cleaning 2013-03-30 14:27:05 +01:00
foudfou
f3a988444e do chat icon blinking ourselves
gtk_status_icon_set_blinking() deprecated deprecated since version 2.22,
removed in GTK+ 3
2013-03-30 12:29:38 +01:00
foudfou
3aca4f64f1 support urgency hint 2013-03-30 01:12:35 +01:00