Commit Graph

178 Commits

Author SHA1 Message Date
Marco Pesenti Gritti
0b355dcbb9 First go at support of focusable widgets inside the palette.
Not enabled yet because focus confuses our deactivation logic
but it seem to work otherwise.
2007-08-08 03:07:00 +02:00
Marco Pesenti Gritti
d8faf0ba04 Get rid of some of the obsolete units usage. 2007-07-31 14:56:05 +02:00
Marco Pesenti Gritti
d7f7271cfe Use menu->toplevel rather than getting the parent. 2007-07-31 11:30:14 +02:00
Marco Pesenti Gritti
b23b63cdd5 Split the UI part of sugarext out to his own module to avoid
dragging gtk inside services.
2007-07-27 20:15:31 +02:00
Marco Pesenti Gritti
66760a173e Use selection grey for progress in the address entry. 2007-07-19 11:19:01 +02:00
Marco Pesenti Gritti
739dbafa97 Improve tooltips sizing 2007-07-06 15:21:50 +02:00
Marco Pesenti Gritti
3eaeebc60e Lots of palette refactoring. 2007-06-26 14:55:16 +02:00
Marco Pesenti Gritti
cae4e52b7c More LGPL headers 2007-06-24 14:57:57 +02:00
Marco Pesenti Gritti
9ca299e749 Fix copyright years 2007-06-24 14:46:14 +02:00
Marco Pesenti Gritti
3dd5ecddee Check also C files 2007-06-24 12:36:50 +02:00
Marco Pesenti Gritti
c91bbd18cc Move SugarKeyGrabber in the lib. Keep it private.
We can't install libraries in datadir.
2007-06-20 15:22:12 +02:00
Marco Pesenti Gritti
7aec99a2ec Should actually use STRING atom 2007-06-19 21:28:13 +02:00
Marco Pesenti Gritti
1f432a1236 Use a string atom 2007-06-19 21:10:52 +02:00
Marco Pesenti Gritti
3c66cb899f Evil hack to keep the entry context menu working with our
title/address behavior.
2007-06-13 20:19:28 +02:00
Marco Pesenti Gritti
ceff7d71a2 Improve address/title logic 2007-06-13 11:27:04 +02:00
Marco Pesenti Gritti
5cc9a8c424 Bindings to set activity_id and bundle_id hints 2007-06-01 20:38:30 +02:00
Marco Pesenti Gritti
c202b6be43 Import xdgmime and start hooking it up 2007-05-23 11:55:21 +02:00
Marco Pesenti Gritti
0ddbf7e9ab Add the AddressEntry object to sugar 2007-05-21 17:36:08 +02:00
Marco Pesenti Gritti
5343752c35 Make browser a modules inside sugar library 2007-04-07 13:17:36 +02:00
Marco Pesenti Gritti
4828870afd Use gtk to detect dpi. 2007-04-07 03:42:51 +02:00
Marco Pesenti Gritti
e3cf7aa1d3 Unused 2007-04-07 00:22:03 +02:00
Marco Pesenti Gritti
60557533a7 Remove,unused 2007-04-07 00:21:13 +02:00
Marco Pesenti Gritti
2d08ff0163 Move private extensions out of the lib, inside the shell. 2007-04-07 00:08:54 +02:00
Marco Pesenti Gritti
c9c1117872 Remove the threadframe stuff which went unused. 2007-04-06 20:13:37 +02:00
Marco Pesenti Gritti
66d0a402e1 Remove the unused push scroller code. 2007-04-06 15:52:49 +02:00
Marco Pesenti Gritti
c2b0b2ae98 Move data in the lib to the toplevel dir. 2007-04-06 15:36:52 +02:00
Marco Pesenti Gritti
29d518eb55 Do not abort on X errors 2007-04-04 14:11:38 +02:00
Tomeu
164df7bf85 Add XSetErrorHandler for not crashing on X errors caused by Gecko plugins. 2007-04-03 20:17:30 +02:00
Marco Pesenti Gritti
ba08492778 Fix problem with back/forward and frames 2007-03-31 11:47:58 +02:00
Tomeu
6dc536058b Deactivate extension based type checking for Gecko 1.8. 2007-03-30 16:41:51 +02:00
Tomeu
891624888f If we receive an application/octet-stream, check the mime type by looking at its extension. 2007-03-30 14:32:07 +02:00
Tomeu Vizoso
9d5fa10868 Add constants to _sugar. 2007-03-28 19:36:21 +02:00
Marco Pesenti Gritti
da7606e681 Fix conversion from uri to file 2007-03-23 20:02:25 +01:00
Marco Pesenti Gritti
01056ee823 Handle abw files 2007-03-22 18:22:37 +01:00
Marco Pesenti Gritti
1f61c5f65e Hook up etoys projects 2007-03-22 15:34:05 +01:00
Tomeu Vizoso
8840122a22 Don't show the progress bar when focused and round more the progress bar. 2007-03-21 17:06:08 +01:00
Tomeu Vizoso
e3d6245e18 Let pango/fontconfig to choose the concrete font. 2007-03-21 17:03:44 +01:00
Marco Pesenti Gritti
5eb4f4fab3 Tweak dpi and font size 2007-03-20 22:24:52 +01:00
Marco Pesenti Gritti
3fd29884f9 Pass the post data to the Persist 2007-03-18 02:56:57 +01:00
Tomeu Vizoso
ebe043a4d2 Refactored global key handling and frame logic. 2007-03-17 14:30:23 +01:00
Marco Pesenti Gritti
30ee6768a2 Add document metadata property. Expose the filename. 2007-03-17 14:26:10 +01:00
Marco Pesenti Gritti
d6a9f16ca8 Improve image name detection 2007-03-17 12:02:35 +01:00
Marco Pesenti Gritti
0280539a5e Image name property, fetch content-disposition from the cache. 2007-03-17 03:52:26 +01:00
Marco Pesenti Gritti
94214ba6e7 Add button to event info 2007-03-16 15:05:44 +01:00
Marco Pesenti Gritti
5ecb53176d Fix compilation with firefox 2007-03-15 11:11:44 +01:00
Dan Williams
b35e6b6f2b Respect suggested name when downloading files 2007-03-14 13:15:39 -04:00
Tomeu Vizoso
ca5ff6974e Return TRUE on success. 2007-03-14 16:42:07 +01:00
Marco Pesenti Gritti
1650ff3111 Use nsIWebBrowser conditionally, so that people don't need to patch mozilla. 2007-03-14 14:19:31 +01:00
Marco Pesenti Gritti
9d8fa7d42a Implement save_document 2007-03-13 17:12:09 +01:00
Marco Pesenti Gritti
c9bdd4418c Implement save_uri. Add boolean return arguments. 2007-03-13 14:07:03 +01:00
Marco Pesenti Gritti
49ef39ac7c Add saving API, unimplemented. 2007-03-13 12:59:58 +01:00
Marco Pesenti Gritti
6b14d9e883 Get the image uri from the DOM 2007-03-13 12:51:15 +01:00
Marco Pesenti Gritti
e05313c152 First go at adding events support to Browser 2007-03-13 11:41:27 +01:00
Marco Pesenti Gritti
d389933b77 Remove the old timeline 2007-03-12 18:13:01 +01:00
Tomeu Vizoso
08e6546489 Fix for keyboard focus bug when <alt>f. 2007-03-07 22:23:11 +01:00
Marco Pesenti Gritti
d47d882bce Port the whole dpi check from mozilla 2007-02-28 12:38:29 +01:00
Marco Pesenti Gritti
81e2e9ed8d Get rid of the old nm applet 2007-02-25 13:40:24 +01:00
Tomeu Vizoso
1d02002719 Add default for X servers that return DPI 0 and round the result as does Mozilla. 2007-02-22 12:07:20 +01:00
Marco Pesenti Gritti
3353881920 Forgot to add these 2007-02-15 16:46:26 +01:00
Marco Pesenti Gritti
e08ad4baf5 Add some infrastructure for font sizes. 2007-02-15 15:09:38 +01:00
Marco Pesenti Gritti
451c65b8f0 Actually enable the new method on xulrunner 1.9 2007-02-13 11:53:33 +01:00
Marco Pesenti Gritti
ac23b66059 Compile the new method only if we are on 1.9 2007-02-12 23:47:03 +01:00
Tomeu Vizoso
6267b79811 Fix a missing method in a Gecko interface. 2007-02-12 23:00:30 +01:00
Marco Pesenti Gritti
7034e1d36f Fix for mozilla built with system nspr 2007-02-08 13:00:12 +01:00
Marco Pesenti Gritti
4384cc3f5b Remove useless nspr flags 2007-02-05 22:01:06 +01:00
Marco Pesenti Gritti
15c4843bbb Make sure to compile against system nspr too 2007-02-03 15:41:19 -05:00
Tomeu Vizoso
f196eb264e Reverted mistake on last commit. 2007-01-29 20:44:17 +01:00
Tomeu Vizoso
4016f12d86 Indentation stuff 2007-01-29 20:41:15 +01:00
Tomeu Vizoso
54b7420ef0 Updated doc downloading to gecko 1.9 2007-01-29 18:36:10 +01:00
Marco Pesenti Gritti
8a0728b169 Setup plugins path 2007-01-26 11:44:08 +01:00
Marco Pesenti Gritti
400fe4733b Missing config.h 2007-01-24 02:22:57 +01:00
Marco Pesenti Gritti
ffb25bb3e8 Forgot to add these 2007-01-23 23:16:03 +01:00
Marco Pesenti Gritti
997a90d7cc Actually make it work on 1.9. Had to disable some stuff, temporarily. 2007-01-23 23:14:22 +01:00
Marco Pesenti Gritti
94d7f94534 Add support for mozilla 1.9, needs work 2007-01-23 22:35:59 +01:00
Marco Pesenti Gritti
2d6cbf47e7 Some more cleanups in preparation to 1.9 support 2007-01-23 22:24:52 +01:00
Marco Pesenti Gritti
e392cbc650 Some cleanups 2007-01-23 22:13:03 +01:00
Marco Pesenti Gritti
1d6f0a11c4 Cut and paste the mozembed bindings instead of depending on the
external ones. This is necessary to be able to support 1.9.
2007-01-23 20:33:56 +01:00
Tomeu Vizoso
0d4e7cdb0a Set some fonts in gecko to 9 points. 2007-01-22 18:14:58 +01:00
Marco Pesenti Gritti
0d350b4fd1 Support also firefox 1.5 2007-01-22 15:40:05 +01:00
Marco Pesenti Gritti
e210a16d31 Revert "Use mozilla-config.h when necessary."
This reverts commit a07eef0ab0.
2007-01-21 23:02:09 +01:00
Marco Pesenti Gritti
cfd1be127c Revert "Use gecko.m4 from epiphany, which has 1.9 compatibility."
This reverts commit ade9ede1ae.
2007-01-21 23:01:54 +01:00
Marco Pesenti Gritti
a07eef0ab0 Use mozilla-config.h when necessary. 2007-01-21 21:58:05 +01:00
Marco Pesenti Gritti
ade9ede1ae Use gecko.m4 from epiphany, which has 1.9 compatibility. 2007-01-21 20:30:42 +01:00
Dan Williams
0265f06b3e Add a _sugar.cairo_surface_from_gdk_pixbuf() function
generic function to create a surface from a gdk pixbuf
2007-01-07 01:20:42 -05:00
Marco Pesenti Gritti
62eada2ee0 Implement audio controls 2007-01-05 03:21:55 +01:00
Marco Pesenti Gritti
dda100fca6 Stub volume control code 2007-01-05 02:19:52 +01:00
Dan Williams
af889e2b89 Add function to set the 'image' property of a HippoCanvasImage 2006-12-21 02:09:05 -05:00
Tomeu Vizoso
59d57a03d9 First implementation of ClipboardService. Implement pdf viewing and downloading via ClipboardService. 2006-11-15 13:56:19 +01:00
Tomeu Vizoso
61f24de748 Reverting clipboard changes pushed by mistake. These are commits 23565cfd48 and a7e4092b0e. 2006-11-10 14:14:15 +01:00
Tomeu Vizoso
028bf526f2 Merge branch 'master' of git://dev.laptop.org/sugar 2006-11-10 11:58:11 +01:00
Marco Pesenti Gritti
6260647eda Fix compilation issue, using function name already defined in gtk 2006-11-09 17:21:46 +01:00
Tomeu Vizoso
a7e4092b0e Created SugarDownloadManager and ClipboardService's wrapper. Show and hide the frame when adding an object to the clipboard. 2006-11-05 19:52:46 +01:00
Tomeu Vizoso
23565cfd48 First version of the ClipboardService. Added support for showing the progress of a pdf download in the clipboard. 2006-11-01 19:43:59 +01:00
Tomeu Vizoso
f1949d4672 Various fixes and code clean up. 2006-10-27 15:39:29 +02:00
Tomeu Vizoso
2e65e2ca1d Registered a nsITransfer for opening documents after downloading. 2006-10-26 22:21:26 +02:00
Marco Pesenti Gritti
dbd6fcaf3e Some style fixes 2006-10-26 16:43:22 +02:00
Marco Pesenti Gritti
1cc46c315d Fix makefile screwup 2006-10-26 16:01:29 +02:00
Tomeu Vizoso
dade0fbabc Created SugarBrowserChandler, for signaling when the browser has downloaded a file that cannot handle himself. 2006-10-26 15:47:57 +02:00
Marco Pesenti Gritti
60fd7fb810 Add families for arabic fonts 2006-10-26 12:18:03 +02:00
Marco Pesenti Gritti
22cecec21e Add some comments, add some prefs from epiphany configuration 2006-10-25 22:40:57 +02:00