Merge lp://qastaging/~indicator-applet-developers/indicator-messages/consolidate into lp://qastaging/~indicator-applet-developers/indicator-messages/trunk.13.10

Proposed by Pete Woods
Status: Merged
Approved by: Sebastien Bacher
Approved revision: 425
Merged at revision: 356
Proposed branch: lp://qastaging/~indicator-applet-developers/indicator-messages/consolidate
Merge into: lp://qastaging/~indicator-applet-developers/indicator-messages/trunk.13.10
Diff against target: 10261 lines (+5533/-3772)
54 files modified
COPYING.GPLv3 (+674/-0)
Makefile.am (+1/-0)
autogen.sh (+11/-5)
common/Makefile.am (+32/-0)
common/com.canonical.indicator.messages.application.xml (+39/-0)
configure.ac (+22/-27)
data/Makefile.am (+4/-1)
data/com.canonical.indicator.messages (+10/-0)
debian/control (+7/-7)
debian/indicator-messages.install (+1/-1)
debian/libmessaging-menu-dev.install (+1/-0)
debian/libmessaging-menu0.symbols (+15/-0)
debian/source/format (+1/-0)
doc/reference/Makefile.am (+1/-2)
doc/reference/messaging-menu-docs.xml.in (+2/-1)
libmessaging-menu/Makefile.am (+33/-22)
libmessaging-menu/gtupleaction.c (+0/-354)
libmessaging-menu/gtupleaction.h (+0/-40)
libmessaging-menu/messaging-menu-app.c (+503/-270)
libmessaging-menu/messaging-menu-app.h (+17/-2)
libmessaging-menu/messaging-menu-message.c (+547/-0)
libmessaging-menu/messaging-menu-message.h (+70/-0)
libmessaging-menu/messaging-menu.h (+25/-0)
po/POTFILES.in (+13/-1)
po/indicator-messages.pot (+0/-46)
src/Makefile.am (+13/-60)
src/app-section.c (+279/-175)
src/dbus-data.h (+16/-1)
src/gactionmuxer.c (+8/-0)
src/gactionmuxer.h (+3/-0)
src/gmenuutils.c (+1/-1)
src/ido-detail-label.c (+0/-401)
src/ido-detail-label.h (+0/-59)
src/ido-menu-item.c (+0/-439)
src/ido-menu-item.h (+0/-54)
src/im-app-menu-item.c (+0/-354)
src/im-app-menu-item.h (+0/-54)
src/im-application-list.c (+1237/-0)
src/im-application-list.h (+62/-0)
src/im-desktop-menu.c (+303/-0)
src/im-desktop-menu.h (+35/-0)
src/im-menu.c (+198/-0)
src/im-menu.h (+64/-0)
src/im-phone-menu.c (+318/-0)
src/im-phone-menu.h (+68/-0)
src/im-source-menu-item.c (+0/-407)
src/im-source-menu-item.h (+0/-54)
src/indicator-desktop-shortcuts.c (+680/-0)
src/indicator-desktop-shortcuts.h (+80/-0)
src/indicator-messages.c (+0/-382)
src/messages-service.c (+98/-550)
test/Makefile.am (+3/-2)
test/indicator-messages-service-activate.c (+4/-0)
test/test-gactionmuxer.cpp (+34/-0)
To merge this branch: bzr merge lp://qastaging/~indicator-applet-developers/indicator-messages/consolidate
Reviewer Review Type Date Requested Status
Sebastien Bacher Approve
PS Jenkins bot (community) continuous-integration Approve
Review via email: mp+181006@code.qastaging.launchpad.net

Commit message

Re-merge the consolidate branch, but with additional bugfix

Description of the change

Re-merge the consolidate branch, but with additional bugfix

To post a comment you must log in.
Revision history for this message
Sebastien Bacher (seb128) wrote :

Thanks Pete, there is a merge conflict in src/im-desktop-menu.c there though. Would it also be possible to have the previous branch re-used? e.g show the fix as a different commit, would make things easier to review

review: Needs Fixing
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
412. By Pete Woods

Merge trunk

Revision history for this message
Pete Woods (pete-woods) wrote :

> Thanks Pete, there is a merge conflict in src/im-desktop-menu.c there though.
> Would it also be possible to have the previous branch re-used? e.g show the
> fix as a different commit, would make things easier to review

Hi Sebastien, I thought I did reuse the existing branch? (lp:~indicator-applet-developers/indicator-messages/consolidate)

I've fixed the merge-conflict now, too.

Revision history for this message
Pete Woods (pete-woods) wrote :

> > Thanks Pete, there is a merge conflict in src/im-desktop-menu.c there
> though.
> > Would it also be possible to have the previous branch re-used? e.g show the
> > fix as a different commit, would make things easier to review
>
> Hi Sebastien, I thought I did reuse the existing branch? (lp:~indicator-
> applet-developers/indicator-messages/consolidate)
>
i.e. commit 411, below. Perhaps I am misunderstanding here...

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)
Revision history for this message
Sebastien Bacher (seb128) wrote :

> Hi Sebastien, I thought I did reuse the existing branch? (lp:~indicator-applet-developers/indicator-messages/consolidate)

Sorry, I got confused by launchpad, it listed only one commit (411) on the mp with a non trivial diff, I guess it's a side effect of the reverts...

The fix in r411 seems fine to me, I'm going to build that branch/run it for a bit and comment back

Revision history for this message
Pete Woods (pete-woods) wrote :

> > Hi Sebastien, I thought I did reuse the existing branch? (lp:~indicator-
> applet-developers/indicator-messages/consolidate)
>
> Sorry, I got confused by launchpad, it listed only one commit (411) on the mp
> with a non trivial diff, I guess it's a side effect of the reverts...
>
> The fix in r411 seems fine to me, I'm going to build that branch/run it for a
> bit and comment back

Yes, reverting the revert was fiddly! :)

Revision history for this message
Sebastien Bacher (seb128) wrote :

Running the new version, it mostly works, some comments:

> g_menu_append (clear_section, "Clear", "indicator.remove-all");

"Clear" should be set as translatable (e.g _("Clear"))

> item = g_menu_item_new ("Clear All", "remove-all");

same

* "Clear" should be disabled if the indicator is not blue

* the ordering of items is wrong, https://wiki.ubuntu.com/MessagingMenu states:

"a section for Ubuntu’s default chat client, if it is registered;
a section for Ubuntu’s default mail client, if it is registered;

a section for any other registered application, sorted alphabetically by the application Name. "

The old codebase lists:
- status
- empathy
- tb
- ...

The new one:
- GMail
- tb
- fb
- xchat-gnome
-...

review: Needs Fixing
413. By Pete Woods

"Clear" and "Clear All" now translatable

Revision history for this message
Pete Woods (pete-woods) wrote :

Well, I've addressed the trivial translatable issue. I think I'll have to leave the rest for Ted.

I can't find a way to enable / disable a GMenu. I'm thinking it must be easy, but there's nothing describing it in the documentation.

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
Sebastien Bacher (seb128) wrote :

> Well, I've addressed the trivial translatable issue.

Thanks

> I think I'll have to leave the rest for Ted.

That makes sense

Some other issues:

- the envelop doesn't turn blue when I receive new emails there (or not always, just got 3, the launcher picked them, the indicator menu has them, but the envelop

- you use g_desktop_app_info_get_action_name () which is new in glib 2.37, you need to bump the glib requirement

- if the glib requirement is bumped you can drop the "#if G_ENCODE_VERSION(GLIB_MAJOR_VERSION, GLIB_MINOR_VERSION) <= GLIB_VERSION_2_34" checks

- the tb entry in the menu is missing the "Compose new message" item it seems

review: Needs Fixing
Revision history for this message
Sebastien Bacher (seb128) wrote :

oh, also xchat-gnome events seem to not be working anymore (e.g query messages don't get listed in the menu)

the service output those errors

"(process:13670): Indicator-Messages-WARNING **: could not fetch the list of sources: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod:interface "com.canonical.indicator.messages.application" doesn't exist for the object /com/canonical/indicator/messages/xchat_gnome_desktop"

(the string is not exact, I translated the french one)

414. By Pete Woods

Compile again

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)
415. By Ted Gould

Track the old draw_attention and look for updates

416. By Ted Gould

Make the accessible name translatable and based on the blue envelope

417. By Ted Gould

Making the base menu item an a{sv} with proper icons and fallbacks

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)
418. By Ted Gould

Stealing the desktop shortcuts from libindicator

419. By Ted Gould

Remove unused struct member

420. By Ted Gould

Building up a shortcuts object to track the shortcuts from the desktop file

421. By Ted Gould

Switch to looking in the shortcuts object to set the actions

422. By Ted Gould

Putting shortcuts into the menu

423. By Ted Gould

Adding in a sigterm handler

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)
Revision history for this message
Ted Gould (ted) wrote :

Okay, so the updates on the branch of things that were done 8/20 by Pete
and myself.

* The action names can now have ':'s in the name.
* "Clear" and "Clear All" were made translatable.
* The accessibility strings were also made translatable and adjust based
on the state of the icon.
* Setting of the alert icon was modified to handle source updates as
well as added and removed sources.
* Desktop file actions are now gotten from the libindicator parser, but
no libindicator (thus GTK) dep was added.
* The Clear menu item is no sensitive based on whether there are items
to clear
* The base action has been updated from (sssb) to the more modern a{sv}

I think that's all the issues that were listed in the comments.

424. By Ted Gould

Enabling and disabling the remove-all action if we have items to remove

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)
425. By Ted Gould

Make it so that we sort based on application name to make the menu more sane

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)
Revision history for this message
Sebastien Bacher (seb128) wrote :

Thanks, that looks better, still some issue:

- the order is still wrong, default im client and mailer should be first

- the libindicate parser copy seems a lot of undeed code, can we do without it?

- the spacing between the icons and status seems wrong, but I guess that's a bug somewhere else in the stack since e.g indicator-bluetooth seems to have the same issue

Revision history for this message
Sebastien Bacher (seb128) :
review: Needs Fixing
Revision history for this message
Sebastien Bacher (seb128) wrote :

let's get that in and resolve those point with following merge requests

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.

Subscribers

People subscribed via source and target branches

to all changes: