if test "x$enable_moblin" != "xno"; then
PKG_CHECK_MODULES(MOBLIN,
[
- nbtk-gtk-1.2
+ mx-gtk-1.0
], have_moblin="yes", have_moblin="no")
if test "x$have_moblin" = "xyes"; then
#include <glib/gi18n-lib.h>
#ifdef HAVE_MOBLIN
-#include <nbtk/nbtk-gtk.h>
+#include <mx/mx-gtk.h>
#endif
#include <libempathy/empathy-utils.h>
enabled_checked =
#ifdef HAVE_MOBLIN
- nbtk_gtk_light_switch_get_active (
- NBTK_GTK_LIGHT_SWITCH (priv->enabled_checkbox));
+ mx_gtk_light_switch_get_active (
+ MX_GTK_LIGHT_SWITCH (priv->enabled_checkbox));
#else
gtk_toggle_button_get_active (
GTK_TOGGLE_BUTTON (priv->enabled_checkbox));
if (priv->enabled_checkbox != NULL)
{
#ifdef HAVE_MOBLIN
- nbtk_gtk_light_switch_set_active (
- NBTK_GTK_LIGHT_SWITCH (priv->enabled_checkbox),
+ mx_gtk_light_switch_set_active (
+ MX_GTK_LIGHT_SWITCH (priv->enabled_checkbox),
enabled);
#else
gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (priv->enabled_checkbox),
static void
#ifdef HAVE_MOBLIN
-account_widget_switch_flipped_cb (NbtkGtkLightSwitch *sw,
+account_widget_switch_flipped_cb (MxGtkLightSwitch *sw,
gboolean state,
gpointer user_data)
#else
w = gtk_label_new (_("Account:"));
gtk_misc_set_alignment (GTK_MISC (w), 0, 0.5);
- priv->enabled_checkbox = nbtk_gtk_light_switch_new ();
+ priv->enabled_checkbox = mx_gtk_light_switch_new ();
- nbtk_gtk_light_switch_set_active (
- NBTK_GTK_LIGHT_SWITCH (priv->enabled_checkbox), is_enabled);
+ mx_gtk_light_switch_set_active (
+ MX_GTK_LIGHT_SWITCH (priv->enabled_checkbox), is_enabled);
gtk_widget_show (w);
#else