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
dd617eb4
Commit
dd617eb4
authored
Jan 10, 2003
by
Cyril Deguet
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* fixed previous commit (didn't work everytime)
parent
2eeb62fc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
3 deletions
+24
-3
modules/gui/gtk/open.c
modules/gui/gtk/open.c
+24
-3
No files found.
modules/gui/gtk/open.c
View file @
dd617eb4
...
...
@@ -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.
6 2003/01/10 11:02:21
asmax Exp $
* $Id: open.c,v 1.
7 2003/01/10 12:34:50
asmax Exp $
*
* Authors: Samuel Hocevar <sam@zoy.org>
* Stphane Borel <stef@via.ecp.fr>
...
...
@@ -536,8 +536,29 @@ void GtkOpenOk( GtkButton * button, gpointer user_data )
/* Enable the channel box when network channel is selected */
if
(
GTK_TOGGLE_BUTTON
(
lookup_widget
(
GTK_WIDGET
(
button
),
"network_channel"
)
)
->
active
)
{
p_intf
->
p_sys
->
b_playing
=
1
;
{
GtkWidget
*
p_network_box
;
GtkWidget
*
p_channel
;
GtkWidget
*
p_label
;
p_network_box
=
GTK_WIDGET
(
gtk_object_get_data
(
GTK_OBJECT
(
p_intf
->
p_sys
->
p_window
),
"network_box"
)
);
gtk_widget_show
(
GTK_WIDGET
(
p_network_box
)
);
p_label
=
gtk_object_get_data
(
GTK_OBJECT
(
p_intf
->
p_sys
->
p_window
),
"label_status"
);
gtk_widget_hide
(
GTK_WIDGET
(
p_label
)
);
p_channel
=
GTK_WIDGET
(
gtk_object_get_data
(
GTK_OBJECT
(
p_intf
->
p_sys
->
p_window
),
"network_channel_box"
)
);
if
(
config_GetInt
(
p_intf
,
"network-channel"
)
)
{
gtk_widget_show
(
GTK_WIDGET
(
p_channel
)
);
}
else
{
gtk_widget_hide
(
GTK_WIDGET
(
p_channel
)
);
}
}
}
...
...
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