launchpad integration installed multiple times

Bug #136848 reported by c7d2f5c8667d26fffd5e7772d632c76d
0
Affects Status Importance Assigned to Milestone
gedit (Ubuntu)
Medium
Ubuntu Desktop Bugs

Bug Description

Binary package hint: gedit

For each gedit window opened, the launchpad integration GtkActionGroup and its associated UI merge is installed many times (54 here), once for each language. The problem is that the ubuntu patch adds the launchpad_integration_add_ui() call in the wrong place, in create_language_menu_item instead of in create_menu_and_toolbars.

#0 g_log (log_domain=0xb79ef477 "Gtk", log_level=G_LOG_LEVEL_WARNING,
    format=0xb7a9e5e4 "Inserting action group '%s' into UI manager which already has a group (n=%d) with that name\n") at gmessages.c:516
#1 0xb79a247c in gtk_ui_manager_insert_action_group (self=0x80f1d90, action_group=0x8150860, pos=-1) at gtkuimanager.c:716
#2 0xb7da977e in launchpad_integration_add_ui (ui=0x80f1d90, path=0x80d5450 "ui/MenuBar/HelpMenu/LaunchpadItems") at ../../lib/launchpad-integration.c:192
#3 0x08096c48 in gedit_window_init (window=0x8145008) at gedit-window.c:917
#4 0xb7466dba in g_type_create_instance (type=135489280) at gtype.c:1569
#5 0xb744b6b2 in g_object_constructor (type=135489280, n_construct_properties=2, construct_params=0x8144848) at gobject.c:1046
#6 0xb744be8b in g_object_newv (object_type=135489280, n_parameters=0, parameters=0x0) at gobject.c:937
#7 0xb744ca6f in g_object_new_valist (object_type=135489280, first_property_name=0x0, var_args=<value optimized out>) at gobject.c:986
#8 0xb744cc20 in g_object_new (object_type=135489280, first_property_name=0x0) at gobject.c:795
#9 0x0806b0b7 in gedit_app_create_window_real (app=0x8121500, set_geometry=1, role=0x0) at gedit-app.c:255
#10 0x0806b27c in gedit_app_create_window (app=0x8121500, screen=0x0) at gedit-app.c:337
#11 0x08069bc7 in main (argc=3, argv=0xbfc9a174) at gedit.c:542

Related branches

Revision history for this message
Pedro Villavicencio (pedro) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. A desktop dev may take a look to it , thanks a lot.

Changed in gedit:
assignee: nobody → desktop-bugs
importance: Undecided → Medium
status: New → Triaged
Revision history for this message
Sebastien Bacher (seb128) wrote :

gedit (2.19.91-0ubuntu2) gutsy; urgency=low

  * debian/patches/01_lpi.patch:
    - initialize correctly the launchpad integration items (LP: #136848)

 -- Sebastien Bacher <email address hidden> Fri, 07 Sep 2007 11:54:53 +0200

Changed in gedit:
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers