| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
As it happens for left scroll events.
|
| |
|
|
|
|
| |
than ICON_SIZE
|
|
|
|
|
|
| |
not higher than IMAGE_SIZE
In this way icons such as the battery one won't be shrunk.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
of the Gdk image
We don't need to fallback to pure pixbuf, unless an indicator provided a custom icon that is
not in the current theme path.
This helps a lot in reducing the Unity7 workload as this decreases the cases where
we need to encode the pixbuf contents, send them via dbus to unity, encode them
back, reload to a new pixbuf...
Also thanks to this, the library clients can load the actual icon, scaled at the value they want.
|
|\ |
|
| | |
|
|/
|
|
|
|
|
|
|
|
| |
Treat "submenu-action" attributes on the root menu item in the same way that
gtk+ does. If that attribute exists, it must reference an action with boolean
state that is set to 'true' whenever a corresponding indicator menu is open.
We need this for root items because they are not handled by gtk's menu tracker.
Nested submenus already get this.
|
| |
|
| |
|
|\
| |
| |
| |
| |
| |
| |
| | |
The 'Position' key in a profile section has precedence over the global 'Position' key, but otherwise the same semantics.
We need this along with lp:~larsu/unity8/per-profile-indicator-positions to enable different positioning on the desktop and phone.
Approved by PS Jenkins bot, Charles Kerr.
|
| |
| |
| |
| |
| |
| | |
The 'Position' key in a profile section has precedence over the global
'Position' key, but otherwise the same semantics.
|
| | |
|
| |
| |
| |
| | |
crashing.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
They used to be created lazily when the root menu item changed to include and
image or a label. However, there is no way to notify a panel that this
happened.
Panels connect to notify signals on these widgets when an entry gets added. If
the widgets don't exist from the very beginning, the panel won't update when
they change.
|
|/ |
|
| |
|
|
|
|
|
|
|
| |
An attribute for the root menu action may contain an action name. If it exists,
the action is activated whenever the middle mouse button is pressed on the
indicator.
|
|
|
|
|
|
|
| |
An attribute that can be set on the root menu item. If it exists, it must point
to an action that is activatable with a int32 parameter. It is activated on
scroll events. The parameter signifies magnitude and direction of the scroll.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
Only implemented in IndicatorNg right now, which gets that information from the
indicator file.
|
|
|
|
| |
parsed as '(u)' rather than 'u'
|
|
|
|
| |
set_accessible. Previously these were only called if the respective fields weren't NULL, which made it impossible to, for example, turn off a label or icon once it had been set.
|
| |
|
|\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
IndicatorNg: update indicator file format
The old file format had some shortcomings:
(1) It was impossible to efficiently reuse a menu for different profiles,
because the profile name was implicit in the object path. The only way to do
this was to export the same menu twice. Now, object paths have to be set
explicitly in the indicator file.
(2) The well-known dbus name of a service and the name of its service file were
similar but slightly different (com.canonical.indicator.test vs
com.canonical.test.indicator), which caused some confusion on when to use
which. Now, the file name *is* the bus name, and the `BusName` key has been
dropped.
The new file format is documented in README.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The old file format had some shortcomings:
(1) It was impossible to efficiently reuse a menu for different profiles,
because the profile name was implicit in the object path. The only way to do
this was to export the same menu twice. Now, object paths have to be set
explicitly in the indicator file.
(2) The well-known dbus name of a service and the name of its service file were
similar but slightly different (com.canonical.indicator.test vs
com.canonical.test.indicator), which caused some confusion on when to use
which. Now, the file name *is* the bus name, and the `BusName` key has been
dropped.
The new file format is documented in README.
|
| |
| |
| |
| |
| | |
This makes the flow a bit more apparent. Also gets rid of a goto.
|
|\ \
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
command-line
Removed the hack that we used to create a .desktop app-info from a locally
generated keyfile, using g_app_info_create_from_commandline instead. Fixes: https://bugs.launchpad.net/bugs/1168373.
Approved by PS Jenkins bot, Ted Gould.
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
command-line
We remove the workaround that we used to create a .desktop app-info from a locally
generated keyfile.
|
| |/
|/| |
|
| | |
|
| | |
|
| | |
|
|/
|
|
|
|
|
|
|
|
|
|
| |
* debian/control:
- Bump GLib to 2.37.
* configure.ac:
- Bump GLib to 2.37.
* libindicator/indicator-image-helper.c:
- Support display of GBytesIcons.
* libindicator/indicator-ng.c:
- Change action state icon type to GVariant.
|
|
|
|
|
|
|
| |
.desktop file
Otherwise GAppInfo won't pass the relevant platform-data to the Application launched.
Plus, fix the docs.
|
| |
|
| |
|
|
|
|
|
|
|
| |
indicator_desktop_shortcuts_nick_exec_with_context
It allows to pass a GAppLaunchContext to pass platform-data when launching
actions.
|
|
|
|
|
|
|
|
|
| |
Hopefully, this is more straightforward to use than (sssb). It's also
extensible.
(sssb) is still supported for backwards compatibility, but I wouldn't recommend
using it anymore.
|
| |
|
|
|
|
|
|
|
|
|
| |
Hopefully, this is more straightforward to use than (sssb). It's also
extensible.
(sssb) is still supported for backwards compatibility, but I wouldn't recommend
using it anymore.
|