Commit Graph

23 Commits

Author SHA1 Message Date
Simon Schampijer
9d21fd7511 Update window title when the activity title changes - OLPC #10978
The patch updates the window title when the user changes
the title in the toolbar or in the Journal.

Signed-of-by: Gonzalo Odiard <gonzalo@laptop.org>
Acked-By: Simon Schampijer <simon@laptop.org>
2011-07-24 18:42:48 +02:00
Simon Schampijer
7a0d5d9398 Use 'focus-out' event instead of 'changed' event for title entry OLPC #10956, SL #2608
To determine if the title has changed we use the 'focus-out'
event now instead of the 'changed' signal of the gtk.Entry. This
removes races we had before.

Signed-off-by: Daniel Drake <dsd@laptop.org>
Acked-By: Simon Schampijer <simon@laptop.org>
Acked-By: Sascha Silbe <silbe@activitycentral.com>
2011-06-20 17:48:51 +02:00
Gonzalo Odiard
35cb4e3881 The activity icon does not handle the case of a activity without metadata.
If the activity is initiated with create_object=False

Acked-by: Sascha Silbe <silbe@activitycentral.com>
2011-04-03 17:19:54 +02:00
Tomeu Vizoso
bd3a4ca747 Take into account the "private" property when updating the scope toolbutton 2010-08-20 15:33:53 +02:00
Bernie Innocenti
e90fccfd37 Use set_toolbar_box() in example code.
The set_toolbox() method is obsolete, so let's not advertise it.

Signed-off-by: Bernie Innocenti <bernie@codewiz.org>
2010-07-01 09:12:51 -04:00
Bernie Innocenti
e2ab351b36 Set default accelerators for Copy and Paste buttons 2010-07-01 09:12:51 -04:00
Aleksey Lim
845d2534e6 Reset timeout delay on every TitleEntry change #1948 2010-06-02 14:56:28 +00:00
Aleksey Lim
acdbae5d4c _Typo Color of sugar.activity.widgets.ActivityButton is owners all time despite of 'icon-color' metadata property #1368 2009-09-18 15:11:24 +00:00
Aleksey Lim
9f981bb5dc Color of sugar.activity.widgets.ActivityButton is owners all time despite of 'icon-color' metadata property #1368 2009-09-18 15:09:03 +00:00
Tomeu Vizoso
db77ed8ab3 Put back <Ctrl>Z as the Undo accelerator #1287 2009-09-14 18:19:09 +02:00
Sascha Silbe
c9e63eb8ea PEP8 white space and long line fixes 2009-08-25 21:12:40 +02:00
Simon Schampijer
2e780d624c Align widgets to the left 2009-08-17 18:22:36 +02:00
Simon Schampijer
b34f5d7164 Fix typo 2009-08-17 14:47:51 +02:00
Simon Schampijer
296f4e500c Add ActivityButton for simple activities
Contains only a palette showing the title
2009-08-17 14:46:47 +02:00
Simon Schampijer
10b5a30bc9 Make the share button insensitive when max_participants is set to 1 2009-08-12 11:26:26 +02:00
Aleksey Lim
d02ab6bb9a Set labels for toolbuttons 2009-08-07 08:12:25 +00:00
Aleksey Lim
d0485cb515 Set STATE_INSENSITIVE for toolbarbox pages 2009-08-07 08:12:25 +00:00
Aleksey Lim
f5f8c807d3 Fix pylint/pep8 warnings 2009-08-01 11:27:56 +00:00
Aleksey Lim
6e724c3d8d Set background color for activity.widgets.TitleEntry 2009-08-01 11:23:20 +00:00
Aleksey Lim
4d6a2cc9bd Fix review issues 2009-07-31 10:25:01 +00:00
Aleksey Lim
353564f12c Fix review issues 2009-07-31 03:49:05 +00:00
Aleksey Lim
61ab4110fa Rename toolbar.py to toolbarbox.py 2009-07-30 15:25:30 +00:00
Aleksey Lim
b43aa43114 Move activity related widgets to sugar.activity.widgets 2009-07-30 15:08:55 +00:00