Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-1.1
Commits
d2f76771
Commit
d2f76771
authored
Aug 24, 2002
by
Sam Hocevar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* ./modules/gui/gtk/open.c: the Gtk and GNOME interfaces no longer ignore
the "dvd", "frequency" and "symbol-rate" variables.
parent
c21f684a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
31 additions
and
5 deletions
+31
-5
bootstrap.sh
bootstrap.sh
+1
-4
modules/gui/gtk/open.c
modules/gui/gtk/open.c
+30
-1
No files found.
bootstrap.sh
View file @
d2f76771
#! /bin/sh
## bootstrap.sh file for vlc, the VideoLAN Client
## $Id: bootstrap.sh,v 1.1
0 2002/08/07 21:36:55 massiot
Exp $
## $Id: bootstrap.sh,v 1.1
1 2002/08/24 11:57:07 sam
Exp $
##
## Authors: Samuel Hocevar <sam@zoy.org>
...
...
@@ -82,9 +82,6 @@ then
#include <vlc/vlc.h>
EOF
tail
+8 modules/gui/gtk/
$file
\
|
sed
's#DISABLED!!!_("/dev/dvd")#config_GetPsz( "dvd" )#'
\
|
sed
's#DISABLED!!!11954#config_GetInt( "frequency" )#'
\
|
sed
's#DISABLED!!!27500#config_GetInt( "symbol-rate" )#'
\
|
sed
's#_("-:--:--")#"-:--:--"#'
\
|
sed
's#_("---")#"---"#'
\
|
sed
's#_("--")#"--"#'
\
...
...
modules/gui/gtk/open.c
View file @
d2f76771
...
...
@@ -2,7 +2,7 @@
* gtk_open.c : functions to handle file/disc/network open widgets.
*****************************************************************************
* Copyright (C) 2000, 2001 VideoLAN
* $Id: open.c,v 1.
1 2002/08/04 17:23:43
sam Exp $
* $Id: open.c,v 1.
2 2002/08/24 11:57:07
sam Exp $
*
* Authors: Samuel Hocevar <sam@zoy.org>
* Stphane Borel <stef@via.ecp.fr>
...
...
@@ -437,6 +437,16 @@ static void GtkOpenShow( intf_thread_t *p_intf, int i_page )
free
(
psz_var
);
}
/* Disc stuff */
psz_var
=
config_GetPsz
(
p_intf
,
"dvd"
);
if
(
psz_var
)
{
gtk_entry_set_text
(
GTK_ENTRY
(
gtk_object_get_data
(
GTK_OBJECT
(
p_intf
->
p_sys
->
p_open
),
"disc_name"
)
),
psz_var
);
free
(
psz_var
);
}
/* Network stuff */
gtk_spin_button_set_value
(
GTK_SPIN_BUTTON
(
gtk_object_get_data
(
GTK_OBJECT
(
p_intf
->
p_sys
->
p_open
),
"network_udp_port"
)
),
...
...
@@ -459,6 +469,25 @@ static void GtkOpenShow( intf_thread_t *p_intf, int i_page )
GTK_OBJECT
(
p_intf
->
p_sys
->
p_open
),
"network_channel"
),
config_GetInt
(
p_intf
,
"network-channel"
)
);
/* Satellite stuff */
psz_var
=
config_GetPsz
(
p_intf
,
"frequency"
);
if
(
psz_var
)
{
gtk_entry_set_text
(
GTK_ENTRY
(
gtk_object_get_data
(
GTK_OBJECT
(
p_intf
->
p_sys
->
p_open
),
"sat_freq"
)
),
psz_var
);
free
(
psz_var
);
}
psz_var
=
config_GetPsz
(
p_intf
,
"symbol-rate"
);
if
(
psz_var
)
{
gtk_entry_set_text
(
GTK_ENTRY
(
gtk_object_get_data
(
GTK_OBJECT
(
p_intf
->
p_sys
->
p_open
),
"sat_srate"
)
),
psz_var
);
free
(
psz_var
);
}
/* Set the right page */
setpage:
p_notebook
=
lookup_widget
(
GTK_WIDGET
(
p_intf
->
p_sys
->
p_open
),
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment