Commit Graph

194 Commits

Author SHA1 Message Date
Marco Pesenti Gritti
40fc6e2e47 Simplify the API to get icon/description for objects.
Get rid of the service for now, it's not necessary
until we allow activities to extend the
mime type -> generic type mapping (post 1.0)
2007-10-16 17:18:43 +02:00
Benjamin Berg
977c7d4a99 Subtract the palette border from the primary label height. 2007-10-16 17:12:46 +02:00
Tomeu Vizoso
05236c6670 Fix retrieving the activities suitable for resuming a journal entry 2007-10-16 16:56:02 +02:00
Tomeu Vizoso
aed093dbc2 Fix warning. 2007-10-16 16:18:36 +02:00
Simon Schampijer
664e8a636d Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2007-10-16 15:52:05 +02:00
Simon Schampijer
91f55488eb Use double leading underscores for callback names to avoid name collisions
The double underscores invoke Python's name mangling algorithm
2007-10-16 15:51:48 +02:00
Marco Pesenti Gritti
34e2271833 Cast to string, looks like dbus strings confuse pygtk
type checking here.
2007-10-16 14:40:43 +02:00
Marco Pesenti Gritti
cb0cedbc40 Do not use prgname for the bundle id because xulrunner
is messing with it. Some activity launch fixes.
2007-10-16 14:29:38 +02:00
Marco Pesenti Gritti
e425c1d886 Fallback to mime parents if the main one doesn't have matches 2007-10-16 13:32:53 +02:00
Marco Pesenti Gritti
6d2828e54e Use gdk to get/set X11 properties 2007-10-16 11:50:11 +02:00
Marco Pesenti Gritti
c999a3ca80 Fix distcheck 2007-10-16 11:24:10 +02:00
Marco Pesenti Gritti
6240c1cf6f Cleanup the source structure 2007-10-16 11:04:59 +02:00
Marco Pesenti Gritti
68ff71a0cb Split part of the sugar library to sugar-base 2007-10-15 15:39:07 +02:00
Tomeu Vizoso
00b7013de1 Added an entry that can have icons inside: IconEntry. From libsexy. 2007-08-20 13:03:17 +02:00
Marco Pesenti Gritti
dcef110223 Embed/unembed the menu on state changes, keeping it around
cause some weird drawing issues.

Redraw on palette size changes (patch by Benzea).
2007-08-11 12:16:49 +02:00
Marco Pesenti Gritti
a85bc85a82 Fix cflags 2007-08-11 11:58:39 +02:00
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