~motumedia/xine-ui/ubuntu

« back to all changes in this revision

Viewing changes to src/xitk/menus.c

  • Committer: Reinhard Tartler
  • Date: 2007-01-30 10:33:18 UTC
  • mfrom: (2541.1.34 xine-ui.0.99.4+cvs)
  • Revision ID: siretart@tauware.de-20070130103318-evmro8n4ydtj3cwb
merge debian changes

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/* 
2
 
 * Copyright (C) 2000-2004 the xine project
 
2
 * Copyright (C) 2000-2006 the xine project
3
3
 * 
4
4
 * This file is part of xine, a unix video player.
5
5
 * 
17
17
 * along with this program; if not, write to the Free Software
18
18
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA
19
19
 *
20
 
 * $Id: menus.c,v 1.63 2006/02/11 01:53:04 fsck-p Exp $
 
20
 * $Id: menus.c,v 1.65 2006/11/06 00:23:33 fsck-p Exp $
21
21
 *
22
22
 */
23
23
#ifdef HAVE_CONFIG_H
797
797
  menu.parent_wlist      = wl;
798
798
  menu.skin_element_name = NULL;
799
799
  
800
 
  w = xitk_noskin_menu_create(wl, &menu, x + 1, y + 1);
 
800
  w = xitk_noskin_menu_create(wl, &menu, x, y);
801
801
 
802
802
  cur_entry = &menu_entries[0];
803
803
  while(cur_entry->menu) {
1044
1044
  xitk_widget_t       *w;
1045
1045
  xitk_menu_entry_t    menu_entries[] = {
1046
1046
    { NULL , NULL, "<title>",      NULL, NULL },
1047
 
    { "SEP", NULL, "<separator>",  NULL, NULL },
1048
1047
    { NULL,  NULL, NULL,           NULL, NULL }
1049
1048
  };
1050
1049
 
1120
1119
  xitk_widget_t       *w;
1121
1120
  xitk_menu_entry_t    menu_entries[] = {
1122
1121
    { NULL , NULL, "<title>",      NULL, NULL },
1123
 
    { "SEP", NULL, "<separator>",  NULL, NULL },
1124
1122
    { NULL,  NULL, NULL,           NULL, NULL }
1125
1123
  };
1126
1124
 
1195
1193
  char                 buffer[2048];
1196
1194
  xitk_menu_entry_t    menu_entries_nosel[] = {
1197
1195
    { NULL ,           NULL,          "<title>",     NULL,                         NULL                    },
1198
 
    { "SEP",           NULL,          "<separator>", NULL,                         NULL                    },
1199
1196
    { _("Scan"),       menu_get_shortcut("ScanPlaylistInfo"),
1200
1197
                                      NULL,          menu_scan_infos,              NULL                    },
1201
1198
    { _("Add"),        NULL,          NULL,          menu_open_mrlbrowser,         NULL                    },
1203
1200
  };
1204
1201
  xitk_menu_entry_t    menu_entries_sel[] = {
1205
1202
    { NULL ,           NULL,          "<title>",     NULL,                         NULL                    },
1206
 
    { "SEP",           NULL,          "<separator>", NULL,                         NULL                    },
1207
1203
    { _("Play"),       NULL,          NULL,          menu_playlist_play_current,   NULL                    },
1208
1204
    { "SEP",           NULL,          "<separator>", NULL,                         NULL                    },
1209
1205
    { _("Scan"),       NULL,          NULL,          menu_scan_infos_selected,     NULL                    },
1262
1258
  char                 buffer[2048];
1263
1259
  xitk_menu_entry_t    menu_entries[] = {
1264
1260
    { NULL ,           NULL,          "<title>",     NULL,                         NULL                    },
1265
 
    { "SEP",           NULL,          "<separator>", NULL,                         NULL                    },
1266
1261
    { _("Reset video settings"),   
1267
1262
                       NULL,          NULL,          menu_control_reset,           NULL                    },
1268
1263
    { NULL,            NULL,          NULL,          NULL,                         NULL                    }