[vino] Get rid of SexyUrlLabel



commit e28852878f160b82674d27a72db2f13de20eac46
Author: Jonh Wendell <jwendell gnome org>
Date:   Mon Jun 21 17:29:19 2010 -0300

    Get rid of SexyUrlLabel

 capplet/Makefile.am        |    1 -
 capplet/sexy-url-label.c   |  869 --------------------------------------------
 capplet/sexy-url-label.h   |   73 ----
 capplet/vino-message-box.c |    7 +-
 4 files changed, 3 insertions(+), 947 deletions(-)
---
diff --git a/capplet/Makefile.am b/capplet/Makefile.am
index 991ef9c..546d817 100644
--- a/capplet/Makefile.am
+++ b/capplet/Makefile.am
@@ -16,7 +16,6 @@ bin_PROGRAMS = vino-preferences
 vino_preferences_SOURCES = \
 	vino-preferences.c \
 	vino-message-box.h vino-message-box.c \
-	sexy-url-label.h sexy-url-label.c \
 	vino-url-webservice.h vino-url-webservice.c \
 	$(NULL)
 vino_preferences_LDADD = \
diff --git a/capplet/vino-message-box.c b/capplet/vino-message-box.c
index 41cc986..9bf44a0 100644
--- a/capplet/vino-message-box.c
+++ b/capplet/vino-message-box.c
@@ -18,7 +18,6 @@
  */
 
 #include <glib/gi18n.h>
-#include <sexy-url-label.h>
 #include "vino-message-box.h"
 
 struct _VinoMessageBoxPrivate
@@ -79,12 +78,12 @@ vino_message_box_init (VinoMessageBox *box)
   box->priv->main_hbox = gtk_info_bar_get_content_area (GTK_INFO_BAR (box));
   box->priv->image = NULL;
 
-  box->priv->label = sexy_url_label_new ();
+  box->priv->label = gtk_label_new (NULL);
   gtk_misc_set_alignment (GTK_MISC (box->priv->label), 0.0, 0.0);
   gtk_label_set_line_wrap (GTK_LABEL (box->priv->label), TRUE);
   gtk_label_set_selectable (GTK_LABEL (box->priv->label), TRUE);
   g_signal_connect (box->priv->label,
-                    "url_activated",
+                    "activate-link",
                     G_CALLBACK (url_activated_cb),
                     NULL);
 
@@ -121,7 +120,7 @@ vino_message_box_set_label (VinoMessageBox *box, const gchar *label)
 {
   g_return_if_fail (VINO_IS_MESSAGE_BOX (box));
 
-  sexy_url_label_set_markup (SEXY_URL_LABEL (box->priv->label), label);
+  gtk_label_set_markup (GTK_LABEL (box->priv->label), label);
 }
 
 void



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]