rev |
line source |
slaxemulator@6864
|
1 diff -Nur libquicktime-1.1.5.orig/utils/gtk/libquicktime_config.c libquicktime-1.1.5/utils/gtk/libquicktime_config.c
|
slaxemulator@6864
|
2 --- libquicktime-1.1.5.orig/utils/gtk/libquicktime_config.c 2008-12-30 08:05:36.000000000 -0800
|
slaxemulator@6864
|
3 +++ libquicktime-1.1.5/utils/gtk/libquicktime_config.c 2010-10-15 05:46:21.956697112 -0700
|
slaxemulator@6864
|
4 @@ -112,9 +112,9 @@
|
slaxemulator@6864
|
5 G_CALLBACK(main_window_button_callback),
|
slaxemulator@6864
|
6 (gpointer)ret);
|
slaxemulator@6864
|
7
|
slaxemulator@6864
|
8 - GTK_WIDGET_SET_FLAGS (ret->close_button, GTK_CAN_DEFAULT);
|
slaxemulator@6864
|
9 - GTK_WIDGET_SET_FLAGS (ret->save_button, GTK_CAN_DEFAULT);
|
slaxemulator@6864
|
10 -
|
slaxemulator@6864
|
11 + gtk_widget_set_can_default(GTK_WIDGET(ret->close_button), TRUE);
|
slaxemulator@6864
|
12 + gtk_widget_set_can_default(GTK_WIDGET(ret->save_button), TRUE);
|
slaxemulator@6864
|
13 +
|
slaxemulator@6864
|
14 gtk_widget_show(ret->close_button);
|
slaxemulator@6864
|
15 gtk_widget_show(ret->save_button);
|
slaxemulator@6864
|
16
|
slaxemulator@6864
|
17 diff -Nur libquicktime-1.1.5.orig/utils/gtk/lqt_gtk.c libquicktime-1.1.5/utils/gtk/lqt_gtk.c
|
slaxemulator@6864
|
18 --- libquicktime-1.1.5.orig/utils/gtk/lqt_gtk.c 2009-03-11 07:25:50.000000000 -0700
|
slaxemulator@6864
|
19 +++ libquicktime-1.1.5/utils/gtk/lqt_gtk.c 2010-10-15 05:47:14.720013265 -0700
|
slaxemulator@6864
|
20 @@ -941,9 +941,9 @@
|
slaxemulator@6864
|
21 G_CALLBACK(codec_config_window_button_callback),
|
slaxemulator@6864
|
22 (gpointer)ret);
|
slaxemulator@6864
|
23
|
slaxemulator@6864
|
24 - GTK_WIDGET_SET_FLAGS (ret->apply_button, GTK_CAN_DEFAULT);
|
slaxemulator@6864
|
25 - GTK_WIDGET_SET_FLAGS (ret->close_button, GTK_CAN_DEFAULT);
|
slaxemulator@6864
|
26 - GTK_WIDGET_SET_FLAGS (ret->restore_button, GTK_CAN_DEFAULT);
|
slaxemulator@6864
|
27 + gtk_widget_set_can_default(GTK_WIDGET(ret->apply_button), TRUE);
|
slaxemulator@6864
|
28 + gtk_widget_set_can_default(GTK_WIDGET(ret->close_button), TRUE);
|
slaxemulator@6864
|
29 + gtk_widget_set_can_default(GTK_WIDGET(ret->restore_button), TRUE);
|
slaxemulator@6864
|
30
|
slaxemulator@6864
|
31 gtk_widget_show(ret->apply_button);
|
slaxemulator@6864
|
32 gtk_widget_show(ret->close_button);
|
slaxemulator@6864
|
33 @@ -1240,7 +1240,7 @@
|
slaxemulator@6864
|
34 ret->mainbox = gtk_vbox_new(0, 10);
|
slaxemulator@6864
|
35
|
slaxemulator@6864
|
36 ret->close_button = gtk_button_new_from_stock(GTK_STOCK_CLOSE);
|
slaxemulator@6864
|
37 - GTK_WIDGET_SET_FLAGS (ret->close_button, GTK_CAN_DEFAULT);
|
slaxemulator@6864
|
38 + gtk_widget_set_can_default(GTK_WIDGET(ret->close_button), TRUE);
|
slaxemulator@6864
|
39
|
slaxemulator@6864
|
40 g_signal_connect(G_OBJECT(ret->close_button), "clicked",
|
slaxemulator@6864
|
41 G_CALLBACK(codec_info_window_button_callback),
|