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
f8ebcf98
Commit
f8ebcf98
authored
Mar 26, 2002
by
Loïc Minier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
plugins/gtk/gtk_preferences.c:
. save button (inadvertently suppressed)
parent
9d3112e4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
1 deletion
+16
-1
plugins/gtk/gtk_preferences.c
plugins/gtk/gtk_preferences.c
+16
-1
No files found.
plugins/gtk/gtk_preferences.c
View file @
f8ebcf98
...
...
@@ -2,7 +2,7 @@
* gtk_preferences.c: functions to handle the preferences dialog box.
*****************************************************************************
* Copyright (C) 2000, 2001 VideoLAN
* $Id: gtk_preferences.c,v 1.1
6 2002/03/25 22:38:28
lool Exp $
* $Id: gtk_preferences.c,v 1.1
7 2002/03/26 17:33:37
lool Exp $
*
* Authors: Gildas Bazin <gbazin@netcourrier.com>
*
...
...
@@ -55,6 +55,7 @@ static void GtkCreateConfigDialog( char *, intf_thread_t * );
static
void
GtkConfigOk
(
GtkButton
*
,
gpointer
);
static
void
GtkConfigApply
(
GtkButton
*
,
gpointer
);
static
void
GtkConfigCancel
(
GtkButton
*
,
gpointer
);
static
void
GtkConfigSave
(
GtkButton
*
,
gpointer
);
static
void
GtkConfigDialogDestroyed
(
GtkObject
*
,
gpointer
);
...
...
@@ -136,6 +137,7 @@ static void GtkCreateConfigDialog( char *psz_module_name,
GtkWidget
*
dialog_action_area
;
GtkWidget
*
ok_button
;
GtkWidget
*
apply_button
;
GtkWidget
*
save_button
;
GtkWidget
*
cancel_button
;
GtkWidget
*
item_align
;
...
...
@@ -420,6 +422,10 @@ static void GtkCreateConfigDialog( char *psz_module_name,
gtk_box_pack_start
(
GTK_BOX
(
dialog_action_area
),
apply_button
,
TRUE
,
TRUE
,
0
);
save_button
=
gtk_button_new_with_label
(
_
(
"Save"
)
);
gtk_box_pack_start
(
GTK_BOX
(
dialog_action_area
),
save_button
,
TRUE
,
TRUE
,
0
);
cancel_button
=
gtk_button_new_with_label
(
_
(
"Cancel"
)
);
gtk_box_pack_start
(
GTK_BOX
(
dialog_action_area
),
cancel_button
,
TRUE
,
TRUE
,
0
);
...
...
@@ -430,6 +436,9 @@ static void GtkCreateConfigDialog( char *psz_module_name,
gtk_signal_connect
(
GTK_OBJECT
(
apply_button
),
"clicked"
,
GTK_SIGNAL_FUNC
(
GtkConfigApply
),
config_dialog
);
gtk_signal_connect
(
GTK_OBJECT
(
save_button
),
"clicked"
,
GTK_SIGNAL_FUNC
(
GtkConfigSave
),
config_dialog
);
gtk_signal_connect
(
GTK_OBJECT
(
cancel_button
),
"clicked"
,
GTK_SIGNAL_FUNC
(
GtkConfigCancel
),
config_dialog
);
...
...
@@ -478,6 +487,12 @@ void GtkConfigCancel( GtkButton * button, gpointer user_data )
gtk_widget_hide
(
gtk_widget_get_toplevel
(
GTK_WIDGET
(
button
)
)
);
}
void
GtkConfigSave
(
GtkButton
*
button
,
gpointer
user_data
)
{
GtkConfigApply
(
button
,
user_data
);
config_SaveConfigFile
(
NULL
);
}
/****************************************************************************
* GtkPluginHighlighted: display plugin description when an entry is selected
* in the clist, and activate the configure button if necessary.
...
...
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