[Xfce4-commits] <xfce4-session:jeromeg/libxfce4ui> Use the new API to create mixed buttons.

Jérôme Guelfucci noreply at xfce.org
Fri Jan 22 23:58:06 CET 2010


Updating branch refs/heads/jeromeg/libxfce4ui
         to cbbf1b9e5f90d1bbf4184e80fe8b66a216e46443 (commit)
       from a06da59b94520a5f364e8735b385aac7dc4c3eb8 (commit)

commit cbbf1b9e5f90d1bbf4184e80fe8b66a216e46443
Author: Jérôme Guelfucci <jeromeg at xfce.org>
Date:   Fri Jan 22 23:58:22 2010 +0100

    Use the new API to create mixed buttons.

 xfce4-session/xfsm-chooser.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/xfce4-session/xfsm-chooser.c b/xfce4-session/xfsm-chooser.c
index 1ccea77..7ed0e0a 100644
--- a/xfce4-session/xfsm-chooser.c
+++ b/xfce4-session/xfsm-chooser.c
@@ -236,7 +236,7 @@ xfsm_chooser_init (XfsmChooser *chooser)
   gtk_widget_show (chooser->tree);
 
   /* "Logout" button */
-  button = xfce_create_mixed_button (GTK_STOCK_QUIT, _("Log out"));
+  button = xfce_gtk_button_new_mixed (GTK_STOCK_QUIT, _("Log out"));
   gtk_tooltips_set_tip (chooser->tooltips, button,
                         _("Cancel the login attempt and return to "
                           "the login screen."),
@@ -246,7 +246,7 @@ xfsm_chooser_init (XfsmChooser *chooser)
   gtk_widget_show (button);
 
   /* "New" button */
-  button = xfce_create_mixed_button (GTK_STOCK_NEW, _("New session"));
+  button = xfce_gtk_button_new_mixed (GTK_STOCK_NEW, _("New session"));
   gtk_tooltips_set_tip (chooser->tooltips, button,
                         _("Create a new session."),
                         NULL);



More information about the Xfce4-commits mailing list