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

26 Commits

Author SHA1 Message Date
foudfou
4646612fae * options: fix Order preference sync
* options: display server types according to Order
* cleaning
2011-11-03 02:51:43 +01:00
foudfou
903f99f006 options: finished interaction btw. mail server types and accounts 2011-11-03 01:32:46 +01:00
foudfou
5ad5b3c3d4 * re-introduce dumpObj() useful for DOM elements
* merge server_types and excluded_accounts into one mail_accounts pref

This is visually more intuitive. So do we use the same tree for both. But we
store them into 2 different "branches" of the corresponding preference
object. We need to keep track of them separately because of account
creation/deletion.
2011-11-02 01:48:41 +01:00
foudfou
4d4c21b9f9 * drop dumpObj() in favour of LOG(JSON.stringify())
* UIoptions: add accounts to server types tree. WORK IN PROGRESS
2011-11-01 01:42:30 +01:00
foudfou
aa9e13a366 refactoring + make server_type a preference 2011-10-29 22:27:55 +02:00
foudfou
69746ffc86 option panel rework (trees...) WORK IN PROGRESS 2011-10-03 10:39:25 +02:00
foudfou
9f324d18ff * add QueryInterfaces() helper
* add roadmap details in TODO
2011-09-26 10:02:51 +02:00
foudfou
d3b07c348d FireTray v0.4.0a2 2011-09-24 12:00:31 +02:00
foudfou
0ccfb11cfc finish text icon implementation for displaying unread messages count in mail
applications
2011-09-19 18:33:45 +02:00
foudfou
0afe494dbf really fix icon path (xpi needs to be unpacked) 2011-09-08 01:49:33 +02:00
foudfou
11a238f21b fix icon path (retrieved from chrome-registery) 2011-09-08 00:55:34 +02:00
foudfou
25644e0a88 * rewrite LibGtkStatusIcon.jsm with XPCOMUtils (will need to watch for
xpcom-shutdown for closing libs !)
* icon handling moved to MoztIconLinux.jsm
* tray icon changes (icon+tooltip) according to unreadMsgCount
* strings (localization) provided by commons.js
2011-09-07 23:50:18 +02:00
foudfou
8986ca9cf7 add unread messages counting facility (messaging-related) 2011-09-07 16:24:14 +02:00
foudfou
8ab870aadb * add Quit functionallity to item in popupMenu
* fix Makefile for stripping LOG() calls
2011-09-03 01:07:14 +02:00
foudfou
4d19bb51d3 * dropped mozt.Debug in favour of AddonLogging.jsm
* start l10n
2011-09-02 22:41:03 +02:00
foudfou
ef190af251 singleton tray icon handler (avoid creation of multiple icons when new windows
created)

https://developer.mozilla.org/en/Using_JavaScript_code_modules
http://stackoverflow.com/questions/2275882/setting-a-preference-at-startup-in-firefox/2276772#2276772
2011-08-08 04:32:52 +02:00
foudfou
98ee40353e use Services.jsm and renamed modules to .jsm 2011-08-08 03:41:18 +02:00
foudfou
e9321f534b * enable show/hide from tray icon ! thx Neil !!
* fix Makefile
* use closures for GCallback_t

BUG: windows aren't restored at the same position, or with the same z-order
https://developer.mozilla.org/en/nsIWindowMediator#getZOrderXULWindowEnumerator%28%29

BUG: new window creates a new tray icon
2011-07-25 02:27:30 +02:00
foudfou
f2245d1ca0 * add LibC for logging to stderr
* try different approaches for hiding windows:
  - gather toplevel windows from nsIWindowMediator, but then unable to get
    NativeParentWindow (GdkWindow) in order to apply gdk_window_hide - damn it !
  - gather toplevel GdkWindows, but don't know exactly how to find out which
    belong to the application...
  - gather toplevel GtkWindows, but seem to get too many windows from
    gtk_window_list_toplevels()...
* problems understanding js-ctypes:
  - arguments passed to callbacks (see FunctionType), for ex: implementation of
    GFunc
  - definition of recursive structures, for ex: GtkWidget
2011-07-18 00:58:03 +02:00
foudfou
1b68487af8 add debug() facility to print to terminal stderr 2011-07-13 01:23:58 +02:00
foudfou
fded2c2a31 try supporting more applications (Firefox, Thunderbird for now)
export 'Cc' and 'Ci' in common.js module. This helps managing the different
behaviours in FF and TB: TB requires Ci and Cc to be defined explicitly in
overlay.js, and FF fails to load overlay.js silently when Ci and Cc are defined
explicitly (const defined twice ?)...
2011-07-06 02:43:16 +02:00
foudfou
0d25df1d17 * use 'mozt' namespace in .js files
* style: '_' prefix for private attributes (common.js)
2011-07-06 02:14:17 +02:00
foudfou
ddf1763b9a cleaning 2011-07-06 01:41:28 +02:00
foudfou
56015e3744 refactor: rename "mozt" to "moztray" 2011-07-06 01:32:36 +02:00
foudfou
f6f906efa7 "skipCertError" changed to "moztray" 2011-07-05 11:46:55 +02:00
foudfou
f5e6b887bc Initial commit (skeleton extension derived from SkipCertError) 2011-07-03 20:05:40 +02:00