Commit Graph

4387 Commits

Author SHA1 Message Date
Marco Pesenti Gritti
2ae043c1fe Add option to use the same style values as on the XO.
Useful to test/debug size issues, if you have a screen
that can do 1600x1200.
2007-08-13 01:17:37 +02:00
Simon McVittie
7368429ad6 Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2007-08-11 13:16:13 +01: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
05b0d212a4 Separate libsugar and libsugarui ld flags to not
link libsugar to gtk.
2007-08-11 01:00:53 +02:00
Benjamin Berg
c571993811 Fixed a typo in the palette gap calculation code. 2007-08-10 23:39:12 +02:00
Benjamin Berg
04ae920ad5 Merge branch 'master' of git+ssh://benzea@dev.laptop.org/git/sugar 2007-08-10 23:28:55 +02:00
Benjamin Berg
91d7dbcb08 Ignore grab_notify in the palette menu so that eg. scales work. 2007-08-10 23:21:36 +02:00
John (J5) Palmieri
d2e4e99226 hack to make sure vte does not wrap too early in first instance
* vte does not reflow if you add the widget before its container is realized
    so we hack around this by calling set_size with a high number for width
2007-08-10 13:32:24 -04:00
John (J5) Palmieri
9e87ca718c Merge branch 'master' of git+ssh://j5@dev.laptop.org/git/sugar 2007-08-10 12:59:17 -04:00
John (J5) Palmieri
8ed11b6fee sugar console changes directory to the user's home directory and sets proc title 2007-08-10 12:57:43 -04:00
Benjamin Berg
476189323d Don't draw the invoker rectangle for tooltips. 2007-08-10 18:52:15 +02:00
Benjamin Berg
6573e8c5e6 Draw an invoker rectangle that looks connected to the main palette.
There is one catch though, the menu placement inside the palette seems broken.
(Probably was already broken before.) Not sure what is going on there.
2007-08-10 18:29:28 +02:00
Dan Winship
6aeb95aa46 Install MIME data to map ".xo" files to "application/vnd.olpc-x-sugar" 2007-08-09 18:29:10 -04:00
Tomeu Vizoso
cff8ffc328 Complete move to external bundle registry. 2007-08-09 18:10:16 +02:00
Tomeu Vizoso
f00f3e2f8d Correctly include .mo files in bundles. 2007-08-09 15:26:52 +02:00
Dan Winship
d2aba901c3 Notice when (non-sugar) activity factories fail to launch. #1975
(still need a better shell UI for when this happens)
2007-08-08 18:24:11 -04:00
Dan Winship
985fe6ef35 Make activity icons in frame outline-only. #2668 2007-08-08 18:19:05 -04:00
Dan Winship
a1302ccbb2 Merge branch 'master' of git+ssh://danw@dev.laptop.org/git/sugar 2007-08-08 13:27:10 -04:00
Eduardo Silva
c57e842c04 DevConsole: logviewer now reads Xorg logfile 2007-08-08 13:24:47 -04:00
Dan Winship
bdba2d149e Merge branch 'master' of git+ssh://danw@dev.laptop.org/git/sugar 2007-08-08 13:13:31 -04:00
Tomeu Vizoso
77094c961a Adapt to new palette API. 2007-08-08 18:39:39 +02:00
Tomeu Vizoso
cac6038665 Rename the clipboard service as shell service. 2007-08-08 18:33:10 +02:00
Tomeu Vizoso
fa8bcd2ba5 Move the activity register to the clipboard service. 2007-08-08 18:08:07 +02:00
Dan Winship
b678c537c0 Merge branch 'master' of git+ssh://danw@dev.laptop.org/git/sugar 2007-08-08 09:35:55 -04:00
Eduardo Silva
bfcab6b0b6 Fix objectchooser, replace frame with canvasroundbox module 2007-08-08 09:31:50 -04:00
Dan Winship
7b21f752ad Merge branch 'master' of git+ssh://danw@dev.laptop.org/git/sugar 2007-08-08 09:30:50 -04:00
Dan Winship
c85c89ce83 Make Journal active at startup. #2159
Also distinguish between "active" in the sense of "the user is actually
using this activity" and "active" in the sense of "the activity would
be active *if* the user switched to Activity view". It's the latter sense,
now called "pending" that the Journal is in at startup. Pending is also
used for the next-up activity when you quit the current active activity.
2007-08-08 09:30:45 -04:00
Dan Winship
6ca80a7146 Always get the activity list from the shell view, not sometimes from the model 2007-08-08 09:27:37 -04:00
Marco Pesenti Gritti
670eb981ac Ignore only INFERIOR enter/leave events. 2007-08-08 14:56:43 +02:00
Marco Pesenti Gritti
1145f0f99c Override menu shell deactivate to go through the palette. 2007-08-08 14:41:30 +02:00
Marco Pesenti Gritti
6ae3846415 Expose palette.action_bar 2007-08-08 13:03:09 +02:00
Marco Pesenti Gritti
6dd6b0275b Expose palette.menu rather than wrapping methods. 2007-08-08 12:56:19 +02:00
Marco Pesenti Gritti
ff5edef2bc Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2007-08-08 11:53:41 +02:00
Marco Pesenti Gritti
2c0ad08fcf Call embed after the widget hierarchy is setup so that
we get the right toplevel.
2007-08-08 11:53:41 +02:00
Marco Pesenti Gritti
1d297b3376 Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2007-08-08 11:53:41 +02:00
Marco Pesenti Gritti
3a33e4cedd Enable focus when there is content. Remove the focus
out check on the invoker toplevel, we will have to do
that differently.
2007-08-08 11:53:41 +02:00
Tomeu Vizoso
51ce8abdef Adapt to new color constants. 2007-08-08 10:56:12 +02:00
Tomeu Vizoso
8a6ea5b13f Added missing file in configure.ac 2007-08-08 10:34:11 +02:00
Marco Pesenti Gritti
9c0df1c6c5 Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2007-08-08 03:12:46 +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
Eduardo Silva
26a7e087fa DevConsole: ups! fix Makefile.am 2007-08-07 18:18:15 -04:00
Eduardo Silva
91f68897a6 DevConsole: New referenced memory usage field in Memphis (introduced in kernel 2.6.22) 2007-08-07 18:14:19 -04:00
Eduardo Silva
a3efc1284f DevConsole: Fix Memphis start/stop button 2007-08-07 17:59:38 -04:00
Eduardo Silva
cc745f990f DevConsole: Fix broken procfs parser 2007-08-07 17:56:14 -04:00
Simon McVittie
df3069a931 Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar 2007-08-07 13:43:27 +01:00
Simon McVittie
96023f3e42 Fix regeneration of ./configure from configure.ac when using make
To use an m4 macro library you need three things:

* configure.ac mentions it (OK)
* autogen.sh mentions it (OK)
* Makefile.am mentions it (fixed by this patch)

Omission of the third part means that when you change configure.ac and run
make, ./configure is rebuilt without using the m4 directory, so autoconf
doesn't load python.m4 and the rebuild fails.
2007-08-07 13:13:23 +01:00
Dan Winship
2485e15030 Add a basic palette with "Resume" and "Stop" to activity ring icons. #2028 2007-08-06 15:33:27 -04:00
Dan Winship
56d8e5e748 Don't use gtk.get_current_event_time() as the timestamp for window.activate()
gtk.get_current_event_time() will return 0 if there's no "current
event" (which will happen if this is invoked from a SugarKeyGrabber
callback, because that intercepts events below the gtk level). And
libwnck will g_warn if we pass "0" to window.activate(). Since
matchbox doesn't look at the timestamp anyway, it's simplest to just
always pass "1" there.

(Needed for part of #2159)
2007-08-06 09:25:42 -04:00
Dan Winship
88401d31b4 Make activity ring wedges represent approximate size of the activity. #2030 2007-08-03 11:31:21 -04:00