/b-gtk/fix-viz

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/b-gtk/fix-viz

« back to all changes in this revision

Viewing changes to cmenu.ui

  • Committer: Szilveszter Farkas (Phanatic)
  • Date: 2006-08-02 20:35:25 UTC
  • mto: (0.14.1 main) (93.1.1 win32.bialix)
  • mto: This revision was merged to the branch mainline in revision 83.
  • Revision ID: Szilveszter.Farkas@gmail.com-20060802203525-9cb57147463c2672
Implemented context menu for the file list.

2006-08-02  Szilveszter Farkas <Szilveszter.Farkas@gmail.com>

    * cmenu.ui: context menu UIManager description added
    * setup.py: install cmenu.ui to the appropriate place
    * olive/frontend/gtk/menu.py: implement the context menus
    * olive/frontend/gtk/__init__.py: added button_press_event for file list
    * olive/frontend/gtk/handler.py: handling that even (show popup menu)

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
    <popup name="context_right">
3
3
        <menuitem name="add" action="add" />
4
4
        <menuitem name="remove" action="remove" />
5
 
        <menuitem name="open" action="open" />
6
5
        <separator />
7
6
        <menuitem name="commit" action="commit" />
8
7
        <separator />
9
8
        <menuitem name="diff" action="diff" />
10
 
        <separator />
11
 
        <menuitem name="bookmark" action="bookmark" />
12
 
    </popup>
13
 
    <popup name="context_left">
14
 
        <menuitem name="edit_bookmark" action="edit_bookmark" />
15
 
        <menuitem name="remove_bookmark" action="remove_bookmark" />
16
 
        <separator />
17
 
        <menuitem name="open_folder" action="open_folder" />
18
 
    </popup>
19
 
    <popup name="toolbar_diff">
20
 
        <menuitem name="diff_selected" action="diff_selected" />
21
 
        <menuitem name="diff_all" action="diff_all" />
 
9
        <menuitem name="log" action="log" />
22
10
    </popup>
23
11
</ui>