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

252 Commits

Author SHA1 Message Date
foudfou
13a76686f6 refactor firetray.PopupMenu.init() 2012-06-01 13:01:54 +02:00
foudfou
8c362f89f2 cleaning 2012-05-25 08:04:18 +02:00
foudfou
de08f67324 * refactor SeniorSpielbergo's work
* keep only one mail trigger on msg count change
* refactor FiretrayMessaging.jsm
* cleaning
2012-05-25 01:18:28 +02:00
foudfou
5a591834cc Merge branch 'master' of https://github.com/SeniorSpielbergo/FireTray into SeniorSpielbergo-master 2012-05-24 19:21:38 +02:00
foudfou
701796855f nsIPrefBranch2 to be removed 2012-05-14 12:07:27 +02:00
David Wille
8cdb609369 run "no new script only" if old msg count > 0 2012-05-14 07:35:31 +02:00
David Wille
51edcf4377 added functions to run scripts on new / no new mail... should be working 2012-05-13 21:35:42 +02:00
David Wille
496dce296c added default values and prefs are stored and restored 2012-05-13 20:15:08 +02:00
David Wille
7834f1013a added new textboxes for new / no new mail scripts and functions stubs for update methods 2012-05-13 19:53:35 +02:00
foudfou
b95f645653 fix Makefile 2012-05-13 17:44:11 +02:00
foudfou
89566bc9b6 fix cmd-line handler 2012-05-13 17:05:50 +02:00
foudfou
33a78716b4 remove hard-coded keyboard shortcut for hiding windows 2012-05-13 16:39:46 +02:00
foudfou
dd4770a632 Merge branch 'cmd-line'
Conflicts:
	README.md
2012-05-13 16:24:47 +02:00
foudfou
16fce35c9a update README 2012-05-13 16:23:43 +02:00
foudfou
137e6896ac complete command-line handling (show/hide windows) 2012-05-13 16:18:52 +02:00
foudfou
f443116088 if all windows visible, middle click on the tray icon activates last registered
window, shows all windows otherwise.

reverts 97dcbc8c
2012-05-13 16:01:41 +02:00
foudfou
767f9487d0 cleaning 2012-05-12 16:45:04 +02:00
foudfou
620abcb924 fix link in testing/ 2012-05-12 16:38:52 +02:00
foudfou
97dcbc8ca5 when clicking on the tray icon, if all windows visible, activate last
registered window
2012-05-12 16:36:51 +02:00
foudfou
776d3acddf bump to v0.4.2 2012-05-12 15:42:55 +02:00
foudfou
2b2ce871a0 fix start_hidden bug introduced in f86a3ac 2012-05-12 15:24:14 +02:00
foudfou
4174095780 Merge branch 'minimize-detect'
Conflicts:
	src/modules/linux/FiretrayWindow.jsm
2012-04-30 22:25:06 +03:00
foudfou
f86a3ac794 use Gtk gtk_widget_show/hide instead of Moz BaseWindow.visibility. This ensures
Thunderbird to be shown, when launched from the command line, while already
running.

NOTE: gdk_window_show/hide also works, but we'd lose the ability to resize and
move the windows before showing it when restoring.
2012-04-23 00:32:01 +02:00
foudfou
8d0917ab62 fix cleanExcludedAccounts() 2012-04-21 16:15:43 +02:00
foudfou
a1f0980b2a check window's event-masks with XGetWindowAttributes.
NOTE: if we'd need to *set* event-masks, it should be safer to do it with
gdk.gdk_window_set_events() to preserve the gdkWindow's state.
2012-04-21 15:27:36 +02:00
foudfou
31881fa3f5 make sure window is subscribed to mandatory event-masks
TODO: we should do this with xlib.
2012-04-18 00:51:50 +02:00
foudfou
229fd20b5e catch minimize event with PropertyNotify also.
TODO: maybe this is not needed, and we just need to be sure windows are
subscribed to StructureNotifyMask (UnmapNotify)
2012-04-11 11:50:25 +02:00
foudfou
b2f270687d attempt to catch minimize event that would be issued in Ubuntu 11.10 2012-04-10 22:42:06 +02:00
foudfou
b8346e36c3 update README.md 2012-04-09 01:58:21 +02:00
foudfou
1f480af971 * fix pref UI: disable themed icon names if not selected
* refactoring
2012-04-09 01:01:01 +02:00
foudfou
e679619f19 Merge branch 'themable-icons'
Conflicts:
	src/chrome/content/options.js
	src/chrome/content/options.xul
	src/modules/FiretrayHandler.jsm
	src/modules/commons.js
	src/modules/linux/FiretrayStatusIcon.jsm
2012-04-07 23:06:54 +02:00
foudfou
b313970781 add ability to exclude virtual forlders from message count 2012-04-05 21:34:36 +02:00
foudfou
d07c2a5ee5 bump *minVer* to 7.0
ctypes-utils.jsm was modified to handle Components.utils.unload, introduced in
Gecko 7.0. It would be too costly to try to mainain an addon that would work
for all versions from 4.0 to current. This could be achieved though with
multiple entries in chrome.manifest:
resource firetray modules-4.0/ appversion<7.0
resource firetray modules-7.0/ appversion>=7.0
but would force us to maintain 2 versions of the same files... (preprocessor
pointless)
2012-04-02 13:07:59 +02:00
foudfou
f5e56dab81 * revert a7516e partly:
* support icedove/iceweasel/iceape (appId's are equivalent with FF, TB, SM)
  * have a nice "F" mandatory wrapper object (instead of the long "firetray")
* fix version anchor on the firetray splash page when opening a tab
2012-03-30 23:20:47 +02:00
foudfou
13f9b31ed9 experimental command-line handling
will be useful to have a command for toggling windows that can be linked to the
wm keyboard shortcut mapping.

TODO: find out why helpInfo not working
2012-03-30 14:39:16 +02:00
foudfou
746ab759f7 fix tooltip warning 2012-03-28 19:37:08 +02:00
foudfou
c0479d1683 fix MenuItem initialization 2012-03-28 17:57:02 +02:00
foudfou
439fe3c38d update README with pop3 comments 2012-03-22 18:38:30 +01:00
foudfou
756367230c periodically clean prefs by removing removed accounts from excludedAccounts 2012-03-20 22:06:19 +01:00
foudfou
edab0aab38 update README, TODO 2012-03-16 10:26:25 +01:00
foudfou
e19930b654 * refactoring
* fix consistence in preference UI (filepickers' disabling)

We still need to find out why the order in g_themed_icon_new_from_names is not
respected.
2012-03-15 18:24:38 +01:00
foudfou
2e65e07029 add ui preference functionality for new-mail themed icon
NOTES:
* we need to find out why for ex. ["glade", "mail-message-new"] gives
  "mail-message-new" where "glade" is expected (first in the list).
* we need to handle defaults better (avoid things like
  newMailIconNames.push("mail-unread")).
* be consistent in preference UI when disabling (or not) the filename inputs
  along with their related radio button.
2012-03-13 16:10:23 +01:00
foudfou
43bbfb09b6 fix libgio ABI 2012-03-13 12:57:29 +01:00
foudfou
175f48661e add themable icon names to options 2012-03-13 12:51:40 +01:00
foudfou
f1960bbed8 fix path of emebedded new-mail icon 2012-03-12 01:07:28 +01:00
foudfou
095fa07c0c use themable icons (names still hard-coded) 2012-03-12 01:01:09 +01:00
foudfou
b6b8d5dca0 * refactor appinfo initializations
* fix icon tooltip when unread messages
2012-03-09 13:27:49 +01:00
foudfou
98cfa3eee1 browser.tabs.warnOnClose set to false temporarily 2012-03-09 10:06:04 +01:00
foudfou
d4c1da59fa remove warnings from VersionChange 2012-03-09 00:16:06 +01:00
foudfou
8763567ac3 bump to 0.4.1 2012-03-09 00:01:42 +01:00