After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 514321 - warnings to fix in trunk
warnings to fix in trunk
Status: RESOLVED FIXED
Product: gthumb
Classification: Other
Component: general
2.10.x
Other Linux
: Normal normal
: ---
Assigned To: Paolo Bacchilega
Paolo Bacchilega
Depends on:
Blocks:
 
 
Reported: 2008-02-04 15:24 UTC by Michael Chudobiak
Modified: 2008-08-01 19:02 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Viewer assertions and script menu. (4.57 KB, patch)
2008-02-04 18:11 UTC, manuel braga
committed Details | Review

Description Michael Chudobiak 2008-02-04 15:24:31 UTC
Using File>Open triggers a batch of console warnings:

(gthumb:22069): Gtk-WARNING **: Refusing to add non-unique action 'ImageTransformMenu' to action group 'Actions'
(gthumb:22069): Gtk-WARNING **: Refusing to add non-unique action 'ImageAutoMenu' to action group 'Actions'
(gthumb:22069): Gtk-WARNING **: External_Scripts: missing action External_Scripts
(gthumb:22069): GLib-GObject-CRITICAL **: g_object_set: assertion `G_IS_OBJECT (object)' failed

The first two also occur in gthumb-2-10.

- Mike
Comment 1 manuel braga 2008-02-04 16:19:39 UTC
Should the viewer have the scripts menu?
Comment 2 Michael Chudobiak 2008-02-04 16:22:31 UTC
Yes, it should.

- Mike
Comment 3 manuel braga 2008-02-04 18:11:24 UTC
Created attachment 104417 [details] [review]
Viewer assertions and script menu.
Comment 4 manuel braga 2008-02-04 18:18:02 UTC
There is also the problem in actualizing the scripts menu when editing.
Right now only the browser/viewer instance that was used to call the edit dialog is actualized.
Comment 5 Michael Chudobiak 2008-02-04 18:27:07 UTC
Manuel,

Sorry, I was confused. It doesn't matter to me if the Scripts menu is present in the viewer mode. (Is File>Open the only time the viewer mode is active? I never actually use that mode!)

If it simplifies anything, the Scripts menu can be added or removed from the viewer mode, either way is fine.

There is also a small memory leak that was never fixed (http://code.google.com/p/google-highly-open-participation-gnome/issues/detail?id=104#c40).

- Mike
Comment 6 manuel braga 2008-02-04 18:55:29 UTC
The viewer mode is also called with 'gthumb --viewer path_to_exactly_only_one_image'.

In viewer mode the "script menu" is working as the browser mode.

The problem that was i saying the comment 4, is not "viewer" related, it affects the browser window.
When there is multiples browser windows opened, any change to the scripts menu list in one window, is not reflected to the other browser windows.
Comment 7 Michael Chudobiak 2008-02-04 21:26:18 UTC
Thanks, Manuel! I committed your patch, with some extra code to fix the other viewer warnings (g_object_set: assertion `G_IS_OBJECT (object)' failed).

Do you know how to fix the multiple browser issue? It's not a critical issue - I doubt anyone will notice the problem :-)

- Mike