1
0
mirror of https://github.com/moparisthebest/FireTray synced 2024-11-15 13:25:04 -05:00
Commit Graph

252 Commits

Author SHA1 Message Date
foudfou
18fb980d49 add gtk version check + revert to gdk_window_get_toplevel() 2012-10-15 13:25:28 +02:00
foudfou
1ec5ccf950 * fix double Messaging init when toggleNotifications() in pref UI
* fix multiple pref UI bugs due to obsolete ref to "pane1"
2012-09-11 23:53:07 +02:00
foudfou
90ee9f834b option to hide only last window (#24) 2012-09-10 15:00:25 +02:00
foudfou
97e488e232 fix comment about gnome-shell/mutter 2012-09-10 14:15:28 +02:00
foudfou
5d9e0b4ef8 fix chat icon blink forever with gnome-shell 3.4.1 (#61) 2012-09-10 13:34:48 +02:00
foudfou
8516409607 * fix TB crash when mail.chat.enabled is false (#58)
* fix item menu titles for Seamonkey
* fix middle-click (activate) to show window when hidden
2012-09-09 01:29:51 +02:00
foudfou
90cd161f3c fix correctMailNotificationType() 2012-09-07 17:20:38 +02:00
foudfou
39f3c20fa8 correct visibility state when hidden application called from command line 2012-09-07 16:47:47 +02:00
foudfou
22de1d3fcc * fix Makefile for including .svg into xpi
* minor fixes
2012-09-07 15:06:01 +02:00
foudfou
126842e5b7 bump version to v0.4.3 2012-09-06 19:21:22 +02:00
foudfou
194894afd4 * convert tabbox/tabpanels to prefpanes (preference UI) (thx Tango for icons!)
* change order of menu items for mail apps
* fix hide chat prefs when non-chat app
2012-09-06 19:07:22 +02:00
foudfou
f91bc8b039 fix icon update when changing icon preferences (continued) 2012-09-06 16:25:24 +02:00
foudfou
23975110a5 * isolate Chat from Messaging
* fix icon update when changing icon preferences
* prevent double observer registration
* add keyboard shortcut for debugging preference window
2012-09-06 16:07:52 +02:00
foudfou
78dc65c77e Merge branch 'ff17-missing-unmap' 2012-09-05 13:54:29 +02:00
foudfou
c7562bdcdf cleaning 2012-09-05 13:48:27 +02:00
foudfou
ee1eac01b3 fix wrong xid provision ("missing UnmapNotify") 2012-09-05 13:45:02 +02:00
foudfou
d0e2259e96 restrict logging to our addon 2012-09-04 17:48:54 +02:00
foudfou
ca39dec2de * add version check in Makefile
* fix openTab() onVersionChange
* cleaning
2012-09-04 14:33:43 +02:00
foudfou
de2a756fc8 enable Chat only in Thunderbird (not Seamonkey!) 2012-09-04 10:50:17 +02:00
foudfou
97237aaffe update chat icon when (re-)initializing chat 2012-09-04 00:28:53 +02:00
foudfou
ae0f41e1e4 Merge branch 'im'
Conflicts:
	src/defaults/preferences/prefs.js
	src/modules/FiretrayHandler.jsm
	src/modules/FiretrayMessaging.jsm
	src/modules/VersionChange.jsm
	src/modules/commons.js
	src/modules/linux/FiretrayStatusIcon.jsm
	src/modules/linux/FiretrayWindow.jsm
2012-09-04 00:25:29 +02:00
foudfou
1e4d51f64f Merge branch 'cybso-favorites'
Conflicts:
	src/chrome/content/options.js
	src/modules/FiretrayMessaging.jsm
2012-09-03 23:05:25 +02:00
foudfou
c7b23ad718 Revert "attempt to asynchronously get addon version from AddonManager"
This reverts commit 747ab637d9.
2012-09-03 16:46:01 +02:00
foudfou
747ab637d9 attempt to asynchronously get addon version from AddonManager 2012-09-03 16:45:57 +02:00
foudfou
29dac883b9 ignore server type 'im' silently for message count 2012-09-03 08:23:37 +02:00
foudfou
ebe8ee37ba address comments from last review by Kris Maglione, mainly:
* rename commande line flag '-showHide' to '-firetray-showHide'
* drop use of AddonLogging.jsm in variable F, and use log4moz instead
* do not remove String.prototype.trim

Regarding String.prototype.trim tough, it's unclear why its fallback definition
should be removed: MDN says it was introduced in JavaScript 1.8.1, but it seems
available in 1.7...
2012-09-03 01:51:32 +02:00
foudfou
934a67f93c * refactor FiretrayMessaging
* add favorites to the "Included accounts" tree in preference UI
2012-08-29 19:20:43 +02:00
foudfou
aaef6a1544 experimental handling of Exquilla accounts 2012-08-29 11:46:12 +02:00
foudfou
693611c994 * add chat_icon_enable pref
* fix globaluserStatus with all IM accounts disconnected
* cleaning
2012-08-25 21:45:00 +02:00
foudfou
06349f15f4 * rename all IM/Chat-related modules consistently with "Chat" keyword
* stopIconBlinkingMaybe() only when acknowledgeOnFocus.must
2012-08-25 19:18:33 +02:00
foudfou
5c12abb1ee * fix non-import of IM stuff in Firefox
* add minimal tooltip for Chat icon
* fix findActiveWindow() — gtk_window_is_active() not reliable
2012-08-25 19:02:14 +02:00
foudfou
9f46ef6343 IM icon blinking when private message or cited in channel 2012-08-21 22:10:56 +02:00
foudfou
9611f1443e cleaning 2012-08-21 15:44:47 +02:00
foudfou
d81c0d51ac fix iconify-after-show trap 2012-08-21 15:40:40 +02:00
foudfou
525fdd96dd radical attempt to fix iconify-after-show trap 2012-08-20 16:07:46 +02:00
foudfou
83a11def65 (failed) attempt to fix iconify-after-show trap 2012-08-17 23:53:26 +02:00
foudfou
3da01428a9 fix some gtk function definitions 2012-08-17 23:51:00 +02:00
foudfou
866bbc1a2e IM icon changes according to IM global status 2012-08-13 12:07:57 +02:00
foudfou
82fae974d1 ctypes libs are tracked by firetray.Handler.
(sub)modules using ctypes libs just need to declare opened libs, which will be
ultimately closed by the Handler. Not only is this fancier, but also useful in
situations where we want to init()/shutdown() modules without closing libs used
by others (ex: IMStatusIcon)
2012-08-07 23:37:32 +02:00
foudfou
ff7bcd4c91 destroy icons when shutting down IMStatusIcon 2012-08-07 22:34:02 +02:00
foudfou
ceba669bcd display IM icon when IM enabled 2012-08-04 16:29:44 +02:00
foudfou
6f95421a2f fix shutdown so ctypes libs are close cleanly + cleaning 2012-08-04 15:22:10 +02:00
foudfou
a9cc299259 extract from StatusIcon to GtkIcons code to share with IMStatusIcon 2012-08-04 14:58:58 +02:00
foudfou
b3869630c2 * observe "account-added", "account-removed", at last ! (see 75636723 and 8d0917ab)
* auto-start InstantMessaging when needed
2012-08-04 14:02:42 +02:00
foudfou
ee86eeed16 ignore 'im' server types for now, we'll be handling them later. 2012-08-03 23:52:38 +02:00
foudfou
c608058971 add 'im' to mail server types and have VersionChange hooks applied synchronously
This forces us to hard code the addon version :(
2012-08-03 15:53:36 +02:00
foudfou
d8448f421b refactor VersionChange handling 2012-08-03 13:53:40 +02:00
foudfou
3c572aa5fc Merge branch 'native-handle' 2012-07-28 15:19:04 +02:00
foudfou
2fe1c2b687 cleaning (Moz Bug 760802, our patch accepted into mainline 9dcd7470dc0b) 2012-07-27 02:15:59 +02:00
foudfou
4fb215ce82 fix start_hidden which was based on 'resize' events.
"Too small window" bug with Lightning installed.

start_hidden is not so easy to achieve since:
- we can't rely on appStarted (window displayed in between)
- we can't rely on 'load' event (window not fully realized - position, size)
- we can't rely on 'resize' event (window displayed/shown/resized a variable
  number of times)
Besides, nsIBaseWindow.visibility remains the surest way to hide windows at
startup.
2012-07-24 02:00:44 +02:00