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
49ec7385
Commit
49ec7385
authored
May 18, 2002
by
Olivier Teulière
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* Fixed my previous commit
parent
224ebd8d
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
28 additions
and
32 deletions
+28
-32
plugins/gtk/gtk.glade
plugins/gtk/gtk.glade
+4
-4
plugins/gtk/gtk_interface.c
plugins/gtk/gtk_interface.c
+19
-23
plugins/gtk/gtk_interface.h
plugins/gtk/gtk_interface.h
+1
-1
plugins/gtk/gtk_support.c
plugins/gtk/gtk_support.c
+2
-2
plugins/gtk/gtk_support.h
plugins/gtk/gtk_support.h
+2
-2
No files found.
plugins/gtk/gtk.glade
View file @
49ec7385
...
@@ -2223,7 +2223,8 @@ http://www.videolan.org/</label>
...
@@ -2223,7 +2223,8 @@ http://www.videolan.org/</label>
<widget>
<widget>
<class>
GtkCombo
</class>
<class>
GtkCombo
</class>
<name>
combo1
</name>
<name>
network_multicast_address_combo
</name>
<sensitive>
False
</sensitive>
<value_in_list>
False
</value_in_list>
<value_in_list>
False
</value_in_list>
<ok_if_empty>
True
</ok_if_empty>
<ok_if_empty>
True
</ok_if_empty>
<case_sensitive>
False
</case_sensitive>
<case_sensitive>
False
</case_sensitive>
...
@@ -2249,7 +2250,6 @@ http://www.videolan.org/</label>
...
@@ -2249,7 +2250,6 @@ http://www.videolan.org/</label>
<class>
GtkEntry
</class>
<class>
GtkEntry
</class>
<child_name>
GtkCombo:entry
</child_name>
<child_name>
GtkCombo:entry
</child_name>
<name>
network_multicast_address
</name>
<name>
network_multicast_address
</name>
<sensitive>
False
</sensitive>
<can_focus>
True
</can_focus>
<can_focus>
True
</can_focus>
<editable>
True
</editable>
<editable>
True
</editable>
<text_visible>
True
</text_visible>
<text_visible>
True
</text_visible>
...
@@ -2293,7 +2293,8 @@ http://www.videolan.org/</label>
...
@@ -2293,7 +2293,8 @@ http://www.videolan.org/</label>
<widget>
<widget>
<class>
GtkCombo
</class>
<class>
GtkCombo
</class>
<name>
combo2
</name>
<name>
network_channel_address_combo
</name>
<sensitive>
False
</sensitive>
<value_in_list>
False
</value_in_list>
<value_in_list>
False
</value_in_list>
<ok_if_empty>
True
</ok_if_empty>
<ok_if_empty>
True
</ok_if_empty>
<case_sensitive>
False
</case_sensitive>
<case_sensitive>
False
</case_sensitive>
...
@@ -2319,7 +2320,6 @@ http://www.videolan.org/</label>
...
@@ -2319,7 +2320,6 @@ http://www.videolan.org/</label>
<class>
GtkEntry
</class>
<class>
GtkEntry
</class>
<child_name>
GtkCombo:entry
</child_name>
<child_name>
GtkCombo:entry
</child_name>
<name>
network_channel_address
</name>
<name>
network_channel_address
</name>
<sensitive>
False
</sensitive>
<can_focus>
True
</can_focus>
<can_focus>
True
</can_focus>
<editable>
True
</editable>
<editable>
True
</editable>
<text_visible>
True
</text_visible>
<text_visible>
True
</text_visible>
...
...
plugins/gtk/gtk_interface.c
View file @
49ec7385
/*
/* This file was created automatically by glade and fixed by fixfiles.sh */
* NE PAS DITER CE FICHIER - il est gnr par Glade.
*/
#ifdef HAVE_CONFIG_H
#include <videolan/vlc.h>
# include <config.h>
#endif
#include <sys/types.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <sys/stat.h>
...
@@ -1596,7 +1592,7 @@ create_intf_disc (void)
...
@@ -1596,7 +1592,7 @@ create_intf_disc (void)
(
GtkDestroyNotify
)
gtk_widget_unref
);
(
GtkDestroyNotify
)
gtk_widget_unref
);
gtk_widget_show
(
disc_name
);
gtk_widget_show
(
disc_name
);
gtk_box_pack_start
(
GTK_BOX
(
hbox2
),
disc_name
,
TRUE
,
TRUE
,
0
);
gtk_box_pack_start
(
GTK_BOX
(
hbox2
),
disc_name
,
TRUE
,
TRUE
,
0
);
gtk_entry_set_text
(
GTK_ENTRY
(
disc_name
),
_
(
"/dev/dvd"
));
gtk_entry_set_text
(
GTK_ENTRY
(
disc_name
),
config_GetPszVariable
(
"dvd"
));
dialog_action_area1
=
GTK_DIALOG
(
intf_disc
)
->
action_area
;
dialog_action_area1
=
GTK_DIALOG
(
intf_disc
)
->
action_area
;
gtk_object_set_data
(
GTK_OBJECT
(
intf_disc
),
"dialog_action_area1"
,
dialog_action_area1
);
gtk_object_set_data
(
GTK_OBJECT
(
intf_disc
),
"dialog_action_area1"
,
dialog_action_area1
);
...
@@ -1657,11 +1653,11 @@ create_intf_network (void)
...
@@ -1657,11 +1653,11 @@ create_intf_network (void)
GtkWidget
*
network_multicast_address_label
;
GtkWidget
*
network_multicast_address_label
;
GtkWidget
*
network_channel_address_label
;
GtkWidget
*
network_channel_address_label
;
GtkWidget
*
network_http_url_label
;
GtkWidget
*
network_http_url_label
;
GtkWidget
*
combo1
;
GtkWidget
*
network_multicast_address_combo
;
GtkWidget
*
network_multicast_address
;
GtkWidget
*
network_multicast_address
;
GtkObject
*
network_udp_port_adj
;
GtkObject
*
network_udp_port_adj
;
GtkWidget
*
network_udp_port
;
GtkWidget
*
network_udp_port
;
GtkWidget
*
combo2
;
GtkWidget
*
network_channel_address_combo
;
GtkWidget
*
network_channel_address
;
GtkWidget
*
network_channel_address
;
GtkWidget
*
network_multicast_port_label
;
GtkWidget
*
network_multicast_port_label
;
GtkWidget
*
network_channel_port_label
;
GtkWidget
*
network_channel_port_label
;
...
@@ -1794,21 +1790,21 @@ create_intf_network (void)
...
@@ -1794,21 +1790,21 @@ create_intf_network (void)
gtk_widget_set_sensitive
(
network_http_url_label
,
FALSE
);
gtk_widget_set_sensitive
(
network_http_url_label
,
FALSE
);
gtk_misc_set_alignment
(
GTK_MISC
(
network_http_url_label
),
1
,
0
.
5
);
gtk_misc_set_alignment
(
GTK_MISC
(
network_http_url_label
),
1
,
0
.
5
);
combo1
=
gtk_combo_new
();
network_multicast_address_combo
=
gtk_combo_new
();
gtk_widget_ref
(
combo1
);
gtk_widget_ref
(
network_multicast_address_combo
);
gtk_object_set_data_full
(
GTK_OBJECT
(
intf_network
),
"
combo1"
,
combo1
,
gtk_object_set_data_full
(
GTK_OBJECT
(
intf_network
),
"
network_multicast_address_combo"
,
network_multicast_address_combo
,
(
GtkDestroyNotify
)
gtk_widget_unref
);
(
GtkDestroyNotify
)
gtk_widget_unref
);
gtk_widget_show
(
combo1
);
gtk_widget_show
(
network_multicast_address_combo
);
gtk_table_attach
(
GTK_TABLE
(
table4
),
combo1
,
2
,
4
,
1
,
2
,
gtk_table_attach
(
GTK_TABLE
(
table4
),
network_multicast_address_combo
,
2
,
4
,
1
,
2
,
(
GtkAttachOptions
)
(
GTK_EXPAND
|
GTK_FILL
),
(
GtkAttachOptions
)
(
GTK_EXPAND
|
GTK_FILL
),
(
GtkAttachOptions
)
(
0
),
0
,
0
);
(
GtkAttachOptions
)
(
0
),
0
,
0
);
gtk_widget_set_sensitive
(
network_multicast_address_combo
,
FALSE
);
network_multicast_address
=
GTK_COMBO
(
combo1
)
->
entry
;
network_multicast_address
=
GTK_COMBO
(
network_multicast_address_combo
)
->
entry
;
gtk_widget_ref
(
network_multicast_address
);
gtk_widget_ref
(
network_multicast_address
);
gtk_object_set_data_full
(
GTK_OBJECT
(
intf_network
),
"network_multicast_address"
,
network_multicast_address
,
gtk_object_set_data_full
(
GTK_OBJECT
(
intf_network
),
"network_multicast_address"
,
network_multicast_address
,
(
GtkDestroyNotify
)
gtk_widget_unref
);
(
GtkDestroyNotify
)
gtk_widget_unref
);
gtk_widget_show
(
network_multicast_address
);
gtk_widget_show
(
network_multicast_address
);
gtk_widget_set_sensitive
(
network_multicast_address
,
FALSE
);
network_udp_port_adj
=
gtk_adjustment_new
(
1234
,
0
,
65535
,
1
,
10
,
10
);
network_udp_port_adj
=
gtk_adjustment_new
(
1234
,
0
,
65535
,
1
,
10
,
10
);
network_udp_port
=
gtk_spin_button_new
(
GTK_ADJUSTMENT
(
network_udp_port_adj
),
1
,
0
);
network_udp_port
=
gtk_spin_button_new
(
GTK_ADJUSTMENT
(
network_udp_port_adj
),
1
,
0
);
...
@@ -1821,21 +1817,21 @@ create_intf_network (void)
...
@@ -1821,21 +1817,21 @@ create_intf_network (void)
(
GtkAttachOptions
)
(
0
),
0
,
0
);
(
GtkAttachOptions
)
(
0
),
0
,
0
);
gtk_widget_set_usize
(
network_udp_port
,
1
,
-
2
);
gtk_widget_set_usize
(
network_udp_port
,
1
,
-
2
);
combo2
=
gtk_combo_new
();
network_channel_address_combo
=
gtk_combo_new
();
gtk_widget_ref
(
combo2
);
gtk_widget_ref
(
network_channel_address_combo
);
gtk_object_set_data_full
(
GTK_OBJECT
(
intf_network
),
"
combo2"
,
combo2
,
gtk_object_set_data_full
(
GTK_OBJECT
(
intf_network
),
"
network_channel_address_combo"
,
network_channel_address_combo
,
(
GtkDestroyNotify
)
gtk_widget_unref
);
(
GtkDestroyNotify
)
gtk_widget_unref
);
gtk_widget_show
(
combo2
);
gtk_widget_show
(
network_channel_address_combo
);
gtk_table_attach
(
GTK_TABLE
(
table4
),
combo2
,
2
,
4
,
2
,
3
,
gtk_table_attach
(
GTK_TABLE
(
table4
),
network_channel_address_combo
,
2
,
4
,
2
,
3
,
(
GtkAttachOptions
)
(
GTK_EXPAND
|
GTK_FILL
),
(
GtkAttachOptions
)
(
GTK_EXPAND
|
GTK_FILL
),
(
GtkAttachOptions
)
(
0
),
0
,
0
);
(
GtkAttachOptions
)
(
0
),
0
,
0
);
gtk_widget_set_sensitive
(
network_channel_address_combo
,
FALSE
);
network_channel_address
=
GTK_COMBO
(
combo2
)
->
entry
;
network_channel_address
=
GTK_COMBO
(
network_channel_address_combo
)
->
entry
;
gtk_widget_ref
(
network_channel_address
);
gtk_widget_ref
(
network_channel_address
);
gtk_object_set_data_full
(
GTK_OBJECT
(
intf_network
),
"network_channel_address"
,
network_channel_address
,
gtk_object_set_data_full
(
GTK_OBJECT
(
intf_network
),
"network_channel_address"
,
network_channel_address
,
(
GtkDestroyNotify
)
gtk_widget_unref
);
(
GtkDestroyNotify
)
gtk_widget_unref
);
gtk_widget_show
(
network_channel_address
);
gtk_widget_show
(
network_channel_address
);
gtk_widget_set_sensitive
(
network_channel_address
,
FALSE
);
network_multicast_port_label
=
gtk_label_new
(
_
(
"Port"
));
network_multicast_port_label
=
gtk_label_new
(
_
(
"Port"
));
gtk_widget_ref
(
network_multicast_port_label
);
gtk_widget_ref
(
network_multicast_port_label
);
...
...
plugins/gtk/gtk_interface.h
View file @
49ec7385
/*
/*
*
NE PAS DITER CE FICHIER - il est gnr par
Glade.
*
DO NOT EDIT THIS FILE - it is generated by
Glade.
*/
*/
GtkWidget
*
create_intf_window
(
void
);
GtkWidget
*
create_intf_window
(
void
);
...
...
plugins/gtk/gtk_support.c
View file @
49ec7385
/*
/*
*
NE PAS DITER CE FICHIER - il est gnr par
Glade.
*
DO NOT EDIT THIS FILE - it is generated by
Glade.
*/
*/
#ifdef HAVE_CONFIG_H
#ifdef HAVE_CONFIG_H
...
@@ -139,7 +139,7 @@ create_pixmap (GtkWidget *widget,
...
@@ -139,7 +139,7 @@ create_pixmap (GtkWidget *widget,
}
}
/* This is an internally used function to check if a pixmap file exists. */
/* This is an internally used function to check if a pixmap file exists. */
static
gchar
*
gchar
*
check_file_exists
(
const
gchar
*
directory
,
check_file_exists
(
const
gchar
*
directory
,
const
gchar
*
filename
)
const
gchar
*
filename
)
{
{
...
...
plugins/gtk/gtk_support.h
View file @
49ec7385
/*
/*
*
NE PAS DITER CE FICHIER - il est gnr par Glade.
*
This file was created automatically by glade and fixed by fixfiles.sh
*/
*/
#ifdef HAVE_CONFIG_H
#ifdef HAVE_CONFIG_H
...
@@ -11,7 +11,7 @@
...
@@ -11,7 +11,7 @@
/*
/*
* Standard gettext macros.
* Standard gettext macros.
*/
*/
#if
def ENABLE_NLS
#if
defined( ENABLE_NLS ) && defined ( HAVE_GETTEXT )
# include <libintl.h>
# include <libintl.h>
# undef _
# undef _
# define _(String) dgettext (PACKAGE, String)
# define _(String) dgettext (PACKAGE, String)
...
...
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