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 592649 - [PATCH] Open with list should be in sync with nautilus
[PATCH] Open with list should be in sync with nautilus
Status: RESOLVED FIXED
Product: eog
Classification: Core
Component: general
2.27.x
Other Linux
: Normal enhancement
: ---
Assigned To: EOG Maintainers
EOG Maintainers
Depends on:
Blocks:
 
 
Reported: 2009-08-22 00:42 UTC by Marcus Carlson
Modified: 2009-08-24 16:08 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Add icons to open with menu and remove "open with" prefix (2.43 KB, patch)
2009-08-22 00:42 UTC, Marcus Carlson
accepted-commit_after_freeze Details | Review
Screenshot showing icons in the menu (69.40 KB, image/png)
2009-08-22 00:43 UTC, Marcus Carlson
  Details

Description Marcus Carlson 2009-08-22 00:42:43 UTC
Created attachment 141380 [details] [review]
Add icons to open with menu and remove "open with" prefix

The "Open with" sub menu should be more like nautilus, use application icons
and remove redundant "Open with" in front of the application. See [1] and [2]
for more information.

[1] http://bugzilla.gnome.org/show_bug.cgi?id=587533
[2] http://bugzilla.gnome.org/show_bug.cgi?id=546916
Comment 1 Marcus Carlson 2009-08-22 00:43:18 UTC
Created attachment 141381 [details]
Screenshot showing icons in the menu
Comment 2 Felix Riemann 2009-08-22 09:35:40 UTC
Comment on attachment 141380 [details] [review]
Add icons to open with menu and remove "open with" prefix

Generally this looks good. Optimization can happen later. Unfortunately it might be too late for 2.28 as we are already in UI freeze, and I doubt we can get freeze break approval on this one.
Lucas, can you comment on this?

*hope I didn't break anything. new bugzilla changed ui for setting patch status*
Comment 3 Marcus Carlson 2009-08-22 10:16:35 UTC
Just for curiosity (as I'm new to C and GTK programming) - what kind of optimizations are you talking about? The duplicity of menu paths? Or better handling of always icon as in [1]?

Hope it can make it for 2.28 :)

[1] http://bugzilla.gnome.org/show_bug.cgi?id=589842
Comment 4 Felix Riemann 2009-08-22 10:44:03 UTC
Yes, I meant the menu paths. I was thinking about looping over the paths (or at least the changing first part). But as it's (hopefully) only temporary until bug 589842 lands in gtk+ (thanks for the hint), it's not really important. It's likely slower anyway.
Comment 5 Felix Riemann 2009-08-24 16:03:52 UTC
Okay, we got the freeze break approved. So, it's in for 2.28. Thanks for the patch, Marcus. :-)

commit 7bba45892744820d252fd981029ee93a22fec21e
Author: Marcus Carlson <>
Date:   Mon Aug 24 17:47:15 2009 +0200

    Make "Open with" menu look similar to Nautilus's
    
    Removes the duplicate "Open with..," prefix for menu entries and
    displays the application icon if available. This will make the menu look
    more like the "Open with" list in nautilus (not identical though).
    
    Closes: http://bugzilla.gnome.org/show_bug.cgi?id=592649 (bgo#592649).

Btw, I added a follow-up commit that fixes critical warnings that could appear when no icon was available.
Comment 6 Marcus Carlson 2009-08-24 16:08:18 UTC
> Okay, we got the freeze break approved. So, it's in for 2.28. Thanks for the
> patch, Marcus. :-)

Great, np :)

> Btw, I added a follow-up commit that fixes critical warnings that could appear
> when no icon was available.

Oh, sorry about that, I should have done more testing. I'll do better next time :)