Commit Graph

3276 Commits

Author SHA1 Message Date
Owen W. Taylor
3bbdecc6b3 popupMenu: round spacing to an integer
StThemeNode.get_length() doesn't necessarily return an integer pixel
value, and our code produces non-integer positions in that case. So
round the spacing.

https://bugzilla.gnome.org/show_bug.cgi?id=645647
2011-03-25 18:55:40 -04:00
Dan Winship
00fc4a2eb7 gnome-shell.css: fix padding/alignment of menu toggle switches
We do not support scaling background-images, so setting the
toggle-switch size to anything other than the natural size of the
image just results in it getting padding, which makes it look
improperly aligned.

https://bugzilla.gnome.org/show_bug.cgi?id=645647
2011-03-25 18:55:06 -04:00
Dan Winship
924b31233b popupMenu: fix relayout after submenu open/close
Because of the GtkSizeGroup-like trickiness we're doing with
PopupMenuItems, we need to force Clutter to discard its cached size
requests for them any time the menu itself changes size.

https://bugzilla.gnome.org/show_bug.cgi?id=645647
2011-03-25 18:55:06 -04:00
Dan Winship
475161f716 boxpointer: reposition after a size change
If the BoxPointer changes size (eg, when opening the "More" section of
the network menu), reposition it to make sure it's still aligned
correctly and still completely on-screen.

This is not the right fix for this problem (and causes the menu to be
drawn in the wrong position for one frame). The right fix would
involve a ClutterConstraint, but that would be more invasive, and can
happen post-3.0.0.

https://bugzilla.gnome.org/show_bug.cgi?id=645647
2011-03-25 18:55:06 -04:00
Dan Winship
31b12635d1 messageTray: fix clicking on links again
The change to make Notification an StButton (06d2c0af, bug 642978)
broke links, because the link actor would ignore the
button-press-event, allowing the notification actor to receive it and
get a pointer grab, and so the link actor would never see the
button-release-event. Fix that by accepting and discarding the
button-press-event.

https://bugzilla.gnome.org/show_bug.cgi?id=645613
2011-03-25 18:49:27 -04:00
Dan Winship
d2de0865bf telepathyClient: fix duplicate copy of first message in a chat
The chat-history-fill-in code had logic to avoid appending two
messages when a message appeared in both the log and the pending
messages. But it wasn't working because of an incorrect object field
name.

Additionally, the code was previously keeping the copy of the message
from the log, and suppressing the copy from pending. But that meant
that once the previous bug was fixed, it would think it had only shown
old messages, and so it would create a source but not notify it. So
fix it to suppress the log message and show the pending message.

https://bugzilla.gnome.org/show_bug.cgi?id=645612
2011-03-25 18:47:01 -04:00
Daniel Nylander
9b4dbd0e83 Updated Swedish translation 2011-03-25 22:15:24 +01:00
Jorge González
4577cd7497 Updated Spanish translation 2011-03-25 21:36:39 +01:00
Giovanni Campagna
4ebf07c725 NetworkStatus: hide the only connection for wired devices
For wired devices (actually, ethernet devices), hide the connection
list when there is only one connection (either automatic or stored).
The device can be operated with the associated switch.
2011-03-25 20:58:37 +01:00
Giovanni Campagna
da852a94bd NetworkStatus: show "firmware missing" when firmware is not available
Since device state Unavailable is generic and has substates, instead
of using an hack for carrier, introduce some code that checks both
for carrier and firmware-missing when in that device state, and updates
the UI accordingly.
2011-03-25 20:58:37 +01:00
Jorge González
9b51ff7241 Updated Spanish translation 2011-03-25 19:11:59 +01:00
Luca Ferretti
aa0137e7ce Use /org/gnome as starting path for schemas 2011-03-25 12:53:03 -04:00
Rodrigo Padula de Oliveira
3889ae7627 Updated Brazilian Portuguese translation 2011-03-25 11:54:56 -03:00
Colin Walters
c97a8602a1 ShellAppSystem: Only search gnomecc.menu for preferences
settings.menu was removed in gnome-menus commit
b68bcd27f44ce2c494f6e3cd9695890b9c02af04; gnomecc.menu is the intended
replacement.

(On Red Hat Linux derived systems, settings.menu continues to exist)

https://bugzilla.gnome.org/show_bug.cgi?id=645063
2011-03-25 10:35:38 -04:00
Changwoo Ryu
affc9f9058 Updated Korean translation 2011-03-25 21:57:01 +09:00
A S Alam
1582819259 update tranlation for Punjabi by A S Alam 2011-03-25 08:17:30 +05:30
Daniel Korostil
05e8ae33dc Uploaded Ukranian 2011-03-25 00:19:36 +02:00
Daniel Nylander
219d5fb66b Updated Swedish translation 2011-03-24 23:04:46 +01:00
Daniel Nylander
92ff57c0ea Updated Swedish translation 2011-03-24 23:04:46 +01:00
Luca Ferretti
5233429b6f Updated Italian translation 2011-03-24 22:58:22 +01:00
Micro Cai
475cf7179e Add gettext macro to message to enable translation. 2011-03-25 02:16:10 +08:00
Nguyễn Thái Ngọc Duy
f608c65962 Updated Vietnamese translation 2011-03-25 00:31:36 +07:00
Nguyễn Thái Ngọc Duy
6cf0a35b4c po/vi.po: import from damned lies 2011-03-25 00:21:48 +07:00
Bruno Brouard
bac006ebc1 Updated French translation 2011-03-24 13:56:49 +01:00
Bruno Brouard
be5f74e37f Updated French Translation
Contributed by :
Cyril Arnaud, Frédéric Peters, Bruno Brouard
2011-03-24 13:54:58 +01:00
Fran Diéguez
5c29bff23d Updated Galician translations 2011-03-24 09:51:53 +01:00
Aron Xu
68968d2b40 Update Simplified Chinese translation. 2011-03-24 16:09:59 +08:00
Kjartan Maraas
038f4e8bde Updated Norwegian bokmål translation 2011-03-24 09:03:20 +01:00
Kjartan Maraas
f8874fec0f Add file to POTFILES.in 2011-03-24 09:03:19 +01:00
Kjartan Maraas
ee6693e6e3 Don't translate empty string 2011-03-24 09:03:19 +01:00
Kjartan Maraas
bfba97647e Mark strings for translation in the right way 2011-03-24 09:03:19 +01:00
Daniel Nylander
82d5194afe Updated Swedish translation 2011-03-24 08:04:06 +01:00
Luca Ferretti
bf449b9f61 Updated Italian translation 2011-03-24 01:13:58 +01:00
Giovanni Campagna
9530048867 NotificationDaemon: fix typo in dealing with TrayIcon
Source was failing to determine if it was a tray icon, destroying
itself when the associated application was closed.

https://bugzilla.gnome.org/show_bug.cgi?id=645625
2011-03-23 22:58:28 +01:00
Colin Walters
090d54516e main: Allow replacement of org.gnome.Shell name
This was an oversight in the previous commit; if we don't
do this, then we just can't --replace.

https://bugzilla.gnome.org/show_bug.cgi?id=645593
2011-03-23 17:23:47 -04:00
Colin Walters
c91b716a63 main: Use --replace semantics for org.gnome.Shell DBus name
Previously (because I suck) we were ignoring the return value of
RequestName, and so we'd totally ignore the fact that we failed
to acquire the DBus name.

Make this consistent by using meta_get_replace_current_wm() and
if we're in --replace, actually replace immediately.

https://bugzilla.gnome.org/show_bug.cgi?id=645593
2011-03-23 16:13:51 -04:00
Daniel Mustieles
80cdb0dc4e Updated Spanish translation 2011-03-23 20:36:13 +01:00
Jorge González
aaa6b54673 Updated Spanish translation 2011-03-23 18:49:19 +01:00
Aron Xu
a3b61ec8c8 Complete Simplified Chinese translation. 2011-03-23 23:58:48 +08:00
Runa Bhattacharjee
6c41d6b66a Updated Bengali India Translation 2011-03-23 20:58:20 +05:30
Daniel Korostil
1838ab1412 Uploaded Ukranian 2011-03-23 16:10:44 +02:00
Aron Xu
72e8d38586 Update Simplified Chinese translation. 2011-03-23 21:39:20 +08:00
Runa Bhattacharjee
9259e2221d Added Bengali India file, translation to start 2011-03-23 12:36:36 +05:30
Runa Bhattacharjee
42ea979b06 Added Bengali India to the list of languages 2011-03-23 12:35:13 +05:30
Runa Bhattacharjee
46824adb97 Added Bengali India file, translation to start 2011-03-23 12:35:00 +05:30
Owen W. Taylor
3758f4952e Bump version to 2.91.92 2011-03-22 18:52:39 -04:00
Dan Winship
8fdbbe78f4 MessageTray: keep notification focused through update()
If a notification was updated while one of its widgets was focused,
it would lose the grab when that widget was destroyed. Fix that by
moving the focus to a safe place before destroying the old widgets.

https://bugzilla.gnome.org/show_bug.cgi?id=643687
2011-03-22 18:20:33 -04:00
Hellyna Ng
5a86b0f9e3 MessageTray: never show summary and a new notification at the same time
We want to minimize focus stealing from the user. If a non-urgent notification
comes in while the user is interacting with the tray, we add it to the tray
and only show it after the user is done interacting with the tray. If an
urgent notification comes in while the user is interacting with the tray,
we hide the tray and show the urgent notification.

https://bugzilla.gnome.org/show_bug.cgi?id=636838
2011-03-22 18:18:11 -04:00
Marina Zhurakhinskaya
604722b775 MessageTray: use single scrollbar for summary notification stacks
We want to allow the user to scroll through all notifications from
source by using a single scrollbar. We suppress the individual
scrollbars inside the notifications.

As one exception, we keep the original scrollbar for chat notifications
because it has a distinct look, ending above the text entry box.

https://bugzilla.gnome.org/show_bug.cgi?id=611611
2011-03-22 18:18:11 -04:00
Marina Zhurakhinskaya
812812d817 MessageTray: show multiple notifications per source
Add an ability to show multple notifications per source, so that
the user doesn't miss seeing any notifications.

https://bugzilla.gnome.org/show_bug.cgi?id=611611
2011-03-22 18:18:11 -04:00