Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
3756ff50
Commit
3756ff50
authored
Dec 12, 2003
by
Rocky Bernstein
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Disable Chapter button for CD-DA.
parent
618ae596
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
modules/gui/gtk/open.c
modules/gui/gtk/open.c
+5
-3
No files found.
modules/gui/gtk/open.c
View file @
3756ff50
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* gtk_open.c : functions to handle file/disc/network open widgets.
* gtk_open.c : functions to handle file/disc/network open widgets.
*****************************************************************************
*****************************************************************************
* Copyright (C) 2000, 2001, 2003 VideoLAN
* Copyright (C) 2000, 2001, 2003 VideoLAN
* $Id: open.c,v 1.1
7 2003/12/12 18:34:30 gbazin
Exp $
* $Id: open.c,v 1.1
8 2003/12/12 22:41:31 rocky
Exp $
*
*
* Authors: Samuel Hocevar <sam@zoy.org>
* Authors: Samuel Hocevar <sam@zoy.org>
* Stphane Borel <stef@via.ecp.fr>
* Stphane Borel <stef@via.ecp.fr>
...
@@ -206,6 +206,7 @@ static void GtkDiscOpenChanged( GtkWidget * button, gpointer user_data )
...
@@ -206,6 +206,7 @@ static void GtkDiscOpenChanged( GtkWidget * button, gpointer user_data )
GString
*
p_target
=
g_string_new
(
""
);
GString
*
p_target
=
g_string_new
(
""
);
GtkWidget
*
p_open
;
GtkWidget
*
p_open
;
vlc_bool_t
b_menus
=
VLC_FALSE
;
vlc_bool_t
b_menus
=
VLC_FALSE
;
vlc_bool_t
b_chapter_menu
=
VLC_TRUE
;
p_open
=
gtk_widget_get_toplevel
(
GTK_WIDGET
(
button
)
);
p_open
=
gtk_widget_get_toplevel
(
GTK_WIDGET
(
button
)
);
...
@@ -296,6 +297,7 @@ static void GtkDiscOpenChanged( GtkWidget * button, gpointer user_data )
...
@@ -296,6 +297,7 @@ static void GtkDiscOpenChanged( GtkWidget * button, gpointer user_data )
GTK_SPIN_BUTTON
(
lookup_widget
(
GTK_SPIN_BUTTON
(
lookup_widget
(
GTK_WIDGET
(
button
),
"disc_title"
)
)
)
);
GTK_WIDGET
(
button
),
"disc_title"
)
)
)
);
#endif
#endif
b_chapter_menu
=
VLC_FALSE
;
}
}
gtk_widget_set_sensitive
(
gtk_object_get_data
(
GTK_OBJECT
(
p_open
),
gtk_widget_set_sensitive
(
gtk_object_get_data
(
GTK_OBJECT
(
p_open
),
...
@@ -303,9 +305,9 @@ static void GtkDiscOpenChanged( GtkWidget * button, gpointer user_data )
...
@@ -303,9 +305,9 @@ static void GtkDiscOpenChanged( GtkWidget * button, gpointer user_data )
gtk_widget_set_sensitive
(
gtk_object_get_data
(
GTK_OBJECT
(
p_open
),
gtk_widget_set_sensitive
(
gtk_object_get_data
(
GTK_OBJECT
(
p_open
),
"disc_title"
),
!
b_menus
);
"disc_title"
),
!
b_menus
);
gtk_widget_set_sensitive
(
gtk_object_get_data
(
GTK_OBJECT
(
p_open
),
gtk_widget_set_sensitive
(
gtk_object_get_data
(
GTK_OBJECT
(
p_open
),
"disc_chapter_label"
),
!
b_menus
);
"disc_chapter_label"
),
b_chapter_menu
&
!
b_menus
);
gtk_widget_set_sensitive
(
gtk_object_get_data
(
GTK_OBJECT
(
p_open
),
gtk_widget_set_sensitive
(
gtk_object_get_data
(
GTK_OBJECT
(
p_open
),
"disc_chapter"
),
!
b_menus
);
"disc_chapter"
),
b_chapter_menu
&
!
b_menus
);
gtk_entry_set_text
(
GTK_ENTRY
(
lookup_widget
(
gtk_entry_set_text
(
GTK_ENTRY
(
lookup_widget
(
GTK_WIDGET
(
button
),
"entry_open"
)
),
GTK_WIDGET
(
button
),
"entry_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