Commit Graph

3521 Commits

Author SHA1 Message Date
Jakub Steiner
a7df1a3d77 popup-menu: Tweak submenu style
Tone down the background color and use an inset shadow to give the
subsection some depth.

Expander menu item is always highlighted when open.

https://bugzilla.gnome.org/show_bug.cgi?id=646001
2011-04-04 15:53:12 -04:00
Owen W. Taylor
50951d15ea popupMenu: make submenus scrollable if needed
Right now, the network menu will overflow the screen if More...
is selected with many access points. As a short-term workaround
for this, add a scrollbar for submenus of panel dropdown menus
if they would cause the toplevel menu to overflow the screen.

- Put the actors in a PopupSubMenu in a StScrollView so we get
  a scrollbar if the allocated space is smaller than the height
  of the menu. Expand animation is turned off in the scrolled case
  to avoid weirdness.
- When we pop up a panel menu, set a max-height style property
  on the panel menu to limit it to the height of the screen.
- Hack event handling while the scrollbar is dragged to make
  the scrollbar work properly.

https://bugzilla.gnome.org/show_bug.cgi?id=646001
2011-04-04 15:46:46 -04:00
Rudolfs Mazurs
30076884ae Updated Latvian translation. 2011-04-04 19:57:01 +03:00
OKANO Takayoshi
1eff22a90b Updated Japanese translation 2011-04-04 23:17:08 +09:00
Chao-Hsiung Liao
41bdbc203d Updated Traditional Chinese translation(Hong Kong and Taiwan) 2011-04-04 22:08:33 +08:00
Dan Winship
7932585656 network: fix alignment of secure vs insecure wireless icons
Since the icon area is end-aligned, the signal strength icon for
insecure networks was ending up aligned with the lock icon for secure
networks. Fix that by always including a _secureIcon, but having it be
blank for the insecure networks.

https://bugzilla.gnome.org/show_bug.cgi?id=646121
2011-04-04 09:30:53 -04:00
Kiyotaka NISHIBORI
68bf4e7b70 Updated Japanese translation 2011-04-04 22:28:24 +09:00
Colin Walters
92f09a60f6 Add shell_get_file_contents_utf8_sync(), use it instead of gio temporarily
Adding correct annotations to Gio.File.load_contents revealed that gjs
doesn't actually support array+length combinations.  For 3.0 this would
be invasive to fix, so add a method to ShellGlobal which does what
we need.

https://bugzilla.gnome.org/show_bug.cgi?id=646333
2011-04-04 09:08:33 -04:00
Chao-Hsiung Liao
d19f2bb6d2 Updated Traditional Chinese translation(Hong Kong and Taiwan) 2011-04-04 20:55:10 +08:00
Takayuki KUSANO
b06dce5bf8 Updated Japanese translation 2011-04-04 21:31:01 +09:00
Owen W. Taylor
82e2ab89c5 Fix expand animation for submenus
Figuring out the size of an unmapped actor is not completely
reliable because styles aren't fully assigned until an actor
is mapped. So show the submenu before computing the size we
want to tween to.

https://bugzilla.gnome.org/show_bug.cgi?id=645949
2011-04-04 08:23:37 -04:00
Jamil Ahmed
db198b183c New Bengali translation 2011-04-04 16:37:51 +06:00
Petr Kovar
90bab650e2 Update Czech translation 2011-04-04 04:19:53 +02:00
Wouter Bolsterlee
fa1cc556f9 Updated Dutch translation by Wouter Bolsterlee 2011-04-04 01:12:51 +02:00
Jordi Serratosa
69b23b0e48 [l10n]Fixes on Catalan translation 2011-04-03 23:19:44 +02:00
Florian Müllner
af69945e5b end-session-dialog: Show default icon if user icon is unset
If the user has not configured a user icon, the logout dialog will
display an empty rectangle. Show a default picture instead.

https://bugzilla.gnome.org/show_bug.cgi?id=646032
2011-04-03 22:48:37 +02:00
Wolfgang Stöggl
f36f7644c8 [l10n] Updated German translation, umlauts fixed 2011-04-03 21:08:58 +02:00
Giovanni Campagna
20f1457d15 NetworkStatus: ignore invalid and unsupported connection types
Some connection types (like wimax) are not supported by the menu, and
should be ignored instead of throwing exceptions. Also, NetworkManager
had a bug that sent connections with invalid settings. This should not
happen, but in case it does, we will not blow up, but just log a warning
and continue silently.

https://bugzilla.gnome.org/show_bug.cgi?id=646355
2011-04-03 14:24:58 +02:00
Giovanni Campagna
38bcd52065 NetworkMenu: keep the connection list visible when connecting...
When a device is connecting, we can continue showing available
connections and access points, as well as the active one with the dot.
(Hiding was a remnant of when the device status was on a different
menu item than the title)

https://bugzilla.gnome.org/show_bug.cgi?id=646381
2011-04-03 14:22:27 +02:00
Luca Ferretti
38219fec99 Updated Italian translation 2011-04-03 10:35:14 +02:00
Owen W. Taylor
6c3300bc2f network: fix logic bug in checking whether to activate or deactive
A cosmetic change recommended in review of the patch to fix the
VPN Connections switch ended up introducing a logic error that
made the switch not work properly. Fix.

https://bugzilla.gnome.org/show_bug.cgi?id=646380
2011-04-02 21:58:45 -04:00
Giovanni Campagna
d1a110d4ca NetworkMenu: fix VPN connection state
It was always reporting true, even if disconnected. At the same time,
add a signal that is emitted when state changes and update the UI
accordingly.
In the future (with another libnm-glib API break) we should use the
NMVPNConnection object to track the connection state, so that we can
show if we're connecting or we need authentication.

https://bugzilla.gnome.org/show_bug.cgi?id=646380
2011-04-02 20:40:12 +02:00
Giovanni Campagna
5b61485143 NetworkMenu: fix parameters to _findConnection
NMDevice._findConnection expects an uuid as parameter, but
checkConnection was passing a NMConnection object. This caused
exists to be always false, thus the connection was added again every
time the 'updated' signal was emitted.

https://bugzilla.gnome.org/show_bug.cgi?id=645702
2011-04-02 20:35:46 +02:00
Dan Winship
6b95a357eb gnome-shell.css: fix multiple calendar layout issues
Specifying absolute pixel widths for fields breaks under both font
scaling and translation.

Change all px lengths in the calendar to corresponding pt values, to
fix the layout under larger/smaller font sizes.

Change all "width" specifications to "min-width", for languages with
longer translations. This completely breaks the layout if any field
exceeds the min-width of its column, but that is preferable to
ellipsizing. Needs to be redone using St.Table or the like for 3.0.1.

Also add padding to the right of the calendar popup to match the
padding on the left, since the lack of it becomes more obvious in
layouts where the actual width exceeds the minimum width.

https://bugzilla.gnome.org/show_bug.cgi?id=645693
2011-04-02 07:31:55 -04:00
Changwoo Ryu
60bdc726ce Updated Korean translation 2011-04-02 19:58:17 +09:00
Florian Müllner
429f809b71 search-display: Fix getDragActorSource()/getDragActor()
The 'icon' property in search results' meta info has been replaced
by a 'createIcon' property, adjust to this change.

https://bugzilla.gnome.org/show_bug.cgi?id=645990
2011-04-02 11:13:45 +02:00
Guillaume Desmottes
9396d736f2 notificationDaemon: only ignore 'chat' and 'presence' notifications from Empathy (#645932) 2011-04-02 00:05:10 +02:00
Gintautas Miliauskas
cc9b812466 Updated Lithuanian translation. 2011-04-01 22:30:15 +02:00
Milan Bouchet-Valat
5b0f2dc0cf [jhbuild] Clutter moved to git.gnome.org
Use this new git repository.
2011-04-01 17:21:52 +02:00
Milan Bouchet-Valat
7ffea1606d [jhbuild] Build libxklavier 5.1 from tarball
We had to get it from CVS waiting for 5.1 to be released,
but now we can use the same tarball as the GNOME moduleset.

Stop installing CVS since libxklavier was the only module using it.

https://bugzilla.gnome.org/show_bug.cgi?id=646416
2011-04-01 15:38:30 +02:00
Milan Bouchet-Valat
342bc1e72d [jhbuild] glib-networking depends on gsettings-desktop-schemas
This missing dependency is only noticeable when you remove the
whole $prefix and build everything from scratch, since schemas
are already present in existing installs.

https://bugzilla.gnome.org/show_bug.cgi?id=646416
2011-04-01 15:38:30 +02:00
Sweta Kothari
0127eb5892 Updated Gujarati Translations 2011-04-01 17:23:55 +05:30
Gabor Kelemen
39023269d6 Updated Hungarian translation 2011-04-01 13:44:58 +02:00
Rajesh Ranjan
35e3cd97fe hindi updated 2011-04-01 14:52:29 +05:30
Kjartan Maraas
a63a171ec3 Updated Norwegian bokmål translation 2011-04-01 09:45:14 +02:00
Inaki Larranaga Murgoitio
7f1763f32f Updated Basque language 2011-04-01 09:43:36 +02:00
Inaki Larranaga Murgoitio
2d6326815c Added Basque language 2011-04-01 09:27:53 +02:00
Dr.T.Vasudevan
ee4c8cca8c Updated Tamil translation 2011-04-01 12:17:10 +05:30
Florian Müllner
2104e0f411 build: Add gconf dependency to libgweather 2011-03-31 20:04:33 +02:00
Милош Поповић
84e69f57ea Updated Serbian translation 2011-03-31 11:07:58 +02:00
Mattias Põldaru
aba43125f3 [l10n] Updated Estonian translation 2011-03-31 09:37:56 +03:00
Kris Thomsen
de5fc58fcb Updated Danish translation 2011-03-30 22:40:47 +02:00
Friedel Wolff
4831dde3fb Updated translation for Afrikaans (af) 2011-03-30 19:10:32 +02:00
Bruce Cowan
b5cbfc5e7a Updated British English translation 2011-03-30 14:56:02 +01:00
Kiyotaka NISHIBORI
1124d164ec Updated Japanese translation. 2011-03-30 21:49:55 +09:00
Duarte Loreto
9d9391bd95 Updated Portuguese translation 2011-03-29 23:53:24 +01:00
Friedel Wolff
0121d74b92 Update translation for Afrikaans (af) 2011-03-29 23:41:13 +02:00
Aron Xu
f81af32963 Update Simplified Chinese translation. 2011-03-30 00:38:46 +08:00
Owen W. Taylor
8f5198821e Bump version to 2.91.93 2011-03-28 23:19:36 -04:00
Giovanni Campagna
96c2b5ef32 MessageTray: don't forward click on sources with notifications
When a source has an associated tray icon, we would forward all clicks
to the X11 window, meaning that the summary notification could not
be opened. Instead, restore normal event flow for clicks, when the
source has notifications in the queue.

https://bugzilla.gnome.org/show_bug.cgi?id=645753
2011-03-28 23:05:56 -04:00