gtk2: use text rather than image

Require by GTK3
This commit is contained in:
Gregory Hainaut 2014-12-07 23:25:09 +01:00
parent 7fb548d7c5
commit e9233f4698
5 changed files with 11 additions and 22 deletions

View File

@ -185,10 +185,8 @@ bool RunLinuxDialog()
"GSdx Config", "GSdx Config",
NULL, /* parent window*/ NULL, /* parent window*/
(GtkDialogFlags)(GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT), (GtkDialogFlags)(GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT),
GTK_STOCK_OK, "OK", GTK_RESPONSE_ACCEPT,
GTK_RESPONSE_ACCEPT, "Cancel", GTK_RESPONSE_REJECT,
GTK_STOCK_CANCEL,
GTK_RESPONSE_REJECT,
NULL); NULL);
// The main area for the whole dialog box. // The main area for the whole dialog box.

View File

@ -619,12 +619,9 @@ void DisplayDialog()
"OnePAD Config", "OnePAD Config",
NULL, /* parent window*/ NULL, /* parent window*/
(GtkDialogFlags)(GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT), (GtkDialogFlags)(GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT),
GTK_STOCK_OK, "_OK", GTK_RESPONSE_ACCEPT,
GTK_RESPONSE_ACCEPT, "_Apply", GTK_RESPONSE_APPLY,
GTK_STOCK_APPLY, "_Cancel", GTK_RESPONSE_REJECT,
GTK_RESPONSE_APPLY,
GTK_STOCK_CANCEL,
GTK_RESPONSE_REJECT,
NULL); NULL);
notebook = gtk_notebook_new(); notebook = gtk_notebook_new();

View File

@ -207,10 +207,8 @@ void DisplayDialog()
"SPU2-X Config", "SPU2-X Config",
NULL, /* parent window*/ NULL, /* parent window*/
(GtkDialogFlags)(GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT), (GtkDialogFlags)(GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT),
GTK_STOCK_OK, "OK", GTK_RESPONSE_ACCEPT,
GTK_RESPONSE_ACCEPT, "Cancel", GTK_RESPONSE_REJECT,
GTK_STOCK_CANCEL,
GTK_RESPONSE_REJECT,
NULL); NULL);
int_label = gtk_label_new ("Interpolation:"); int_label = gtk_label_new ("Interpolation:");

View File

@ -175,10 +175,8 @@ void DisplayDialog()
"Spu2-X Config", "Spu2-X Config",
NULL, // parent window NULL, // parent window
(GtkDialogFlags)(GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT), (GtkDialogFlags)(GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT),
GTK_STOCK_OK, "OK", GTK_RESPONSE_ACCEPT,
GTK_RESPONSE_ACCEPT, "Cancel", GTK_RESPONSE_REJECT,
GTK_STOCK_CANCEL,
GTK_RESPONSE_REJECT,
NULL); NULL);
main_box = gtk_hbox_new(false, 5); main_box = gtk_hbox_new(false, 5);

View File

@ -94,10 +94,8 @@ namespace SoundtouchCfg
"Advanced Settings", "Advanced Settings",
NULL, /* parent window*/ NULL, /* parent window*/
(GtkDialogFlags)(GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT), (GtkDialogFlags)(GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT),
GTK_STOCK_OK, "OK", GTK_RESPONSE_ACCEPT,
GTK_RESPONSE_ACCEPT, "Cancel", GTK_RESPONSE_REJECT,
GTK_STOCK_CANCEL,
GTK_RESPONSE_REJECT,
NULL); NULL);
main_label = gtk_label_new ("These are advanced configuration options fine tuning time stretching behavior. Larger values are better for slowdown, while smaller values are better for speedup (more then 60 fps.). All options are in microseconds."); main_label = gtk_label_new ("These are advanced configuration options fine tuning time stretching behavior. Larger values are better for slowdown, while smaller values are better for speedup (more then 60 fps.). All options are in microseconds.");