Mercurial > audlegacy-plugins
changeset 1896:946de0b91bdc
Use GTK+ Stock buttons for everything.
author | William Pitcock <nenolod@atheme.org> |
---|---|
date | Wed, 26 Sep 2007 12:34:39 -0500 |
parents | 0df996944097 |
children | 65717457fcab |
files | src/paranormal/cfg.c |
diffstat | 1 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/src/paranormal/cfg.c Wed Sep 26 12:32:31 2007 -0500 +++ b/src/paranormal/cfg.c Wed Sep 26 12:34:39 2007 -0500 @@ -556,7 +556,7 @@ 0, 2, 0, 1, GTK_EXPAND | GTK_SHRINK | GTK_FILL, 0, 3, 3); - actuator_add_button = gtk_button_new_with_label ("Add"); + actuator_add_button = gtk_button_new_from_stock(GTK_STOCK_ADD); gtk_widget_show (actuator_add_button); gtk_signal_connect (GTK_OBJECT (actuator_add_button), "clicked", GTK_SIGNAL_FUNC (add_actuator_cb), NULL); @@ -564,7 +564,7 @@ 0, 1, 1, 2, GTK_EXPAND | GTK_SHRINK | GTK_FILL, 0, 3, 3); - actuator_remove_button = gtk_button_new_with_label ("Remove"); + actuator_remove_button = gtk_button_new_from_stock(GTK_STOCK_REMOVE); gtk_widget_set_sensitive (actuator_remove_button, FALSE); gtk_widget_show (actuator_remove_button); gtk_signal_connect (GTK_OBJECT (actuator_remove_button), "clicked", @@ -573,7 +573,7 @@ 1, 2, 1, 2, GTK_EXPAND | GTK_SHRINK | GTK_FILL, 0, 3, 3); - button = gtk_button_new_with_label ("Load"); + button = gtk_button_new_from_stock(GTK_STOCK_OPEN); gtk_widget_show (button); gtk_signal_connect (GTK_OBJECT (button), "clicked", GTK_SIGNAL_FUNC (load_button_cb), NULL); @@ -581,7 +581,7 @@ 0, 1, 2, 3, GTK_EXPAND | GTK_SHRINK | GTK_FILL, 0, 3, 3); - button = gtk_button_new_with_label ("Save"); + button = gtk_button_new_from_stock(GTK_STOCK_SAVE); gtk_widget_show (button); gtk_signal_connect (GTK_OBJECT (button), "clicked", GTK_SIGNAL_FUNC (save_button_cb), NULL);