! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Adapt thunar's context menu structure
Status:
RESOLVED: FIXED
Product:
Xfdesktop
Component:
General

Comments

Description Thaddaeus Tintenfisch editbugs 2015-02-15 22:02:13 CET
Some small tweaks to make the context menu look more like the one in thunar.
Comment 1 Thaddaeus Tintenfisch editbugs 2015-02-15 22:04:13 CET
Created attachment 5944 
patch
Comment 2 Thaddaeus Tintenfisch editbugs 2015-02-16 00:48:46 CET
Created attachment 5945 
additional context menu changes
Comment 3 Thaddaeus Tintenfisch editbugs 2015-02-16 00:57:05 CET
TODO:
- add "Send To" submenu
- add "Paste Into Folder" menu entry
Comment 4 Eric Koegel editbugs 2015-02-16 06:44:24 CET
Pushed both patches, thanks! I also fixed a crash and changed the
Open With submenu to open when there's 3 items because Thunar does
it that way.

commit fb9550e7b571b2c8f57268940dbf2429a142af56
Author: Eric Koegel <eric.koegel@gmail.com>
Date:   Mon Feb 16 08:29:28 2015 +0300

    'Open With' context submenu at 3 items
    
    Signed-off-by: Eric Koegel <eric.koegel@gmail.com>
http://git.xfce.org/xfce/xfdesktop/commit/?id=fb9550e7b571b2c8f57268940dbf2429a142af56

commit 50cf8a47a2354b60ba1f868b4fe84f77bdabbd31
Author: Eric Koegel <eric.koegel@gmail.com>
Date:   Mon Feb 16 08:25:37 2015 +0300

    Fix a crash in the context menu
    
    Signed-off-by: Eric Koegel <eric.koegel@gmail.com>
http://git.xfce.org/xfce/xfdesktop/commit/?id=50cf8a47a2354b60ba1f868b4fe84f77bdabbd31

commit 0eae2195dd82303630b6b260e4cd80535a87fcbf
Author: Thaddaeus Tintenfisch <thad.fisch@gmail.com>
Date:   Mon Feb 16 00:46:18 2015 +0100

    Additional context menu changes (thunar look and feel)
    
    Signed-off-by: Eric Koegel <eric.koegel@gmail.com>
http://git.xfce.org/xfce/xfdesktop/commit/?id=0eae2195dd82303630b6b260e4cd80535a87fcbf

commit b5aae87bd4a2168807483c120c8e3a516f2dc191
Author: Thaddaeus Tintenfisch <thad.fisch@gmail.com>
Date:   Sun Feb 15 21:57:42 2015 +0100

    Adapt thunar's context menu structure (Bug #11542)
    
    Signed-off-by: Eric Koegel <eric.koegel@gmail.com>
http://git.xfce.org/xfce/xfdesktop/commit/?id=b5aae87bd4a2168807483c120c8e3a516f2dc191
Comment 5 Thaddaeus Tintenfisch editbugs 2015-02-17 12:00:15 CET
Created attachment 5953 
Show 'No templates installed' when no templates are found

Works fine. Thanks.

I noticed that one more small change is needed to make the template menu behave properly.
Currently it shows the "No templates installed" entry only if XDG_TEMPLATES_DIR is not configured properly.
Comment 6 Thaddaeus Tintenfisch editbugs 2015-02-17 23:19:52 CET
Created attachment 5958 
Show 'No templates installed' when no templates are found (version 2)

Bug #11542

Reported by:
Thaddaeus Tintenfisch
Reported on: 2015-02-15
Last modified on: 2015-02-23

People

Assignee:
Eric Koegel
CC List:
1 user

Version

Version:
Unspecified

Attachments

patch (10.75 KB, patch)
2015-02-15 22:04 CET , Thaddaeus Tintenfisch
no flags
additional context menu changes (3.34 KB, patch)
2015-02-16 00:48 CET , Thaddaeus Tintenfisch
no flags
Show 'No templates installed' when no templates are found (1.04 KB, patch)
2015-02-17 12:00 CET , Thaddaeus Tintenfisch
no flags
Show 'No templates installed' when no templates are found (version 2) (1.53 KB, patch)
2015-02-17 23:19 CET , Thaddaeus Tintenfisch
no flags

Additional information