[Xfce4-commits] <xfce4-profile-manager:master> Add additional buttons

Stephan Arts noreply at xfce.org
Sun Oct 9 15:30:01 CEST 2011


Updating branch refs/heads/master
         to 73b7d6fc6de0b29f93b6b0377e016228f902d917 (commit)
       from c255e0037201439ca479f49468a5d6b48a97e37f (commit)

commit 73b7d6fc6de0b29f93b6b0377e016228f902d917
Author: Stephan Arts <stephan at xfce.org>
Date:   Sun Oct 9 15:29:20 2011 +0200

    Add additional buttons

 src/main_window.c |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/src/main_window.c b/src/main_window.c
index 35ab005..5b8b4d6 100644
--- a/src/main_window.c
+++ b/src/main_window.c
@@ -308,10 +308,15 @@ xfpm_main_window_init (XfpmMainWindow *dialog)
     
     gtk_widget_show_all (content_area);
 
-    gtk_dialog_add_button (
+    gtk_dialog_add_buttons (
             GTK_DIALOG (dialog),
+            GTK_STOCK_OK,
+            GTK_RESPONSE_OK,
+            GTK_STOCK_APPLY,
+            GTK_RESPONSE_APPLY,
             GTK_STOCK_CLOSE,
-            GTK_RESPONSE_OK );
+            GTK_RESPONSE_CANCEL,
+            NULL );
 }
 
 static void


More information about the Xfce4-commits mailing list