Commit Graph

216 Commits

Author SHA1 Message Date
Tomeu Vizoso
f54decf07c Add getter for the current toolbar in Toolbox. 2007-10-23 17:40:40 +02:00
Tomeu Vizoso
3200bad39d Free some icon_info instances. 2007-10-23 17:39:31 +02:00
Marco Pesenti Gritti
7fd05154d3 Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2007-10-23 15:19:34 +02:00
Marco Pesenti Gritti
f300006b76 Move window management keybindings inside sugar.
Add a TakeScreenshot dbus method and have the shell
call it when the activity can safely take a screenshot
to use as a preview.
2007-10-23 15:19:17 +02:00
Morgan Collett
012fc5d23b #4238: Handle double BuddyLeft in handle tracking in sugar.presence 2007-10-22 13:22:32 +01:00
Morgan Collett
06ec3d2b22 #4357: Remove FIXME in activity share(), no longer needed. See ticket for details. 2007-10-22 13:14:22 +01:00
Marco Pesenti Gritti
57402cf309 Fix icon names 2007-10-21 00:27:54 +02:00
Simon Schampijer
7f1450eaa4 fix missing mime type import 2007-10-20 23:04:12 +02:00
Simon Schampijer
34d935b2af Add a keybinding (alt+space) to activity window to hide/show tray 2007-10-19 22:48:21 +02:00
Simon Schampijer
60c746ce5a Add support to be able to remove an alert which is not the top
one on the queue
2007-10-19 16:15:43 +02:00
Simon Schampijer
58f7dca355 Fullscreen support and tray support in activity window
Fullscreen mode hides toolbox and tray
2007-10-18 23:56:58 +02:00
Tomeu Vizoso
02d8dfe795 Fix typo in env.get_bin_path(). 2007-10-18 12:57:04 +02:00
Simon McVittie
ce67563b09 Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2007-10-17 16:10:13 +01:00
Simon Schampijer
8a7ed2da6d Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2007-10-17 15:42:17 +02:00
Simon Schampijer
863af235b4 Refinements on the spacing in the alert
Made the alert 75px wide, and 15px at left and right
2007-10-17 15:40:58 +02:00
Simon McVittie
3227653cd3 Avoid misleading warning every time an activity starts (#4266) 2007-10-17 12:53:24 +01:00
Simon McVittie
4f41f300d8 Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar
Conflicts:

	NEWS
2007-10-17 11:54:33 +01:00
Marco Pesenti Gritti
24fbd1ce1c Fix the object chooser 2007-10-16 23:51:28 +02:00
Simon McVittie
48bc73d0c4 Try to make sugar.presence log messages less misleading (#4027) 2007-10-16 17:51:36 +01:00
Benjamin Berg
fa55b5af09 Changed default spacing to 15px (and fixed the palette to use it) 2007-10-16 18:17:01 +02:00
Benjamin Berg
1c1f736a81 Merge branch 'master' of git://dev.laptop.org/sugar 2007-10-16 17:50:14 +02:00
Tomeu Vizoso
69aaa7145e One more fix for resuming. 2007-10-16 17:39:27 +02:00
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