diff -ur src/functions.c src-dev/functions.c --- src/functions.c 2013-02-07 02:31:13.398946411 +0100 +++ src-dev/functions.c 2013-02-07 02:01:28.382290818 +0100 @@ -524,6 +524,20 @@ return(framebox); } +GtkWidget *orage_create_custom_stock_button(const gchar *stock_id, const gchar *label_text) { + GtkWidget *button; + GtkWidget *image; + + /* An ugly way to add margin between image and label */ + label_text = g_strconcat(" ", label_text); + + image = gtk_image_new_from_stock(stock_id, GTK_ICON_SIZE_BUTTON); + button = gtk_button_new_with_label(label_text); + gtk_button_set_image((GtkButton*)button, image); + + return button; +} + /******************************************************* * time convert and manipulation functions *******************************************************/ diff -ur src/functions.h src-dev/functions.h --- src/functions.h 2013-02-07 02:31:13.398946411 +0100 +++ src-dev/functions.h 2013-02-07 01:36:12.875632209 +0100 @@ -91,6 +91,7 @@ , GtkWidget *spin_dd, GtkWidget *dd_label , GtkWidget *spin_hh, GtkWidget *hh_label , GtkWidget *spin_mm, GtkWidget *mm_label); +GtkWidget *orage_create_custom_stock_button(const gchar *stock_id, const gchar *label_text); struct tm *orage_localtime(); char *orage_localdate_i18(); Only in src-dev/: Makefile Only in src-dev/: Makefile.in diff -ur src/reminder.c src-dev/reminder.c --- src/reminder.c 2013-02-07 02:31:13.398946411 +0100 +++ src-dev/reminder.c 2013-02-07 02:02:51.715623709 +0100 @@ -799,7 +799,7 @@ G_CALLBACK(on_btStopNoiseReminder_clicked), l_alarm); } - btRecreateReminder = gtk_button_new_from_stock("gtk-execute"); + btRecreateReminder = orage_create_custom_stock_button("gtk-ok", "Postspone"); gtk_widget_set_tooltip_text(btRecreateReminder , _("Remind me again after the specified time")); gtk_dialog_add_action_widget(GTK_DIALOG(wReminder)