* src/textview.[ch]
authorAlfons Hoogervorst <alfons@proteus.demon.nl>
Thu, 11 Mar 2004 20:03:58 +0000 (20:03 +0000)
committerAlfons Hoogervorst <alfons@proteus.demon.nl>
Thu, 11 Mar 2004 20:03:58 +0000 (20:03 +0000)
remove dead code that at one time controlled display of
URIs in status bar

ChangeLog.claws
configure.ac
src/textview.c
src/textview.h

index ce7da98..ec448b9 100644 (file)
@@ -1,3 +1,9 @@
+2004-03-11 [alfons]    0.9.10claws3
+
+       * src/textview.[ch]
+               remove dead code that at one time controlled display of
+               URIs in status bar
+
 2004-03-10 [paul]      0.9.10claws2
 
        * po/it.po
index 24330a3..6040bd7 100644 (file)
@@ -11,7 +11,7 @@ MINOR_VERSION=9
 MICRO_VERSION=10
 INTERFACE_AGE=0
 BINARY_AGE=0
-EXTRA_VERSION=2
+EXTRA_VERSION=3
 if test $EXTRA_VERSION -eq 0; then
     VERSION=${MAJOR_VERSION}.${MINOR_VERSION}.${MICRO_VERSION}claws
 else
index aac21cf..8ae0346 100644 (file)
@@ -292,7 +292,6 @@ TextView *textview_create(void)
        textview->cur_pos          = 0;
        textview->show_all_headers = FALSE;
        textview->last_buttonpress = GDK_NOTHING;
-       textview->show_url_msgid   = 0;
 
        return textview;
 }
@@ -1868,15 +1867,11 @@ static gint textview_button_released(GtkWidget *widget, GdkEventButton *event,
                                /* single click: display url in statusbar */
                                if (event->button == 1 && textview->last_buttonpress != GDK_2BUTTON_PRESS) {
                                        if (textview->messageview->mainwin) {
-                                               if (textview->show_url_msgid) {
-                                                       TEXTVIEW_STATUSBAR_POP(textview);
-                                                       textview->show_url_msgid = 0;
-                                               }
-                                                       TEXTVIEW_STATUSBAR_PUSH(textview, trimmed_uri);
-                                                       textview->show_url_timeout_tag = gtk_timeout_add( 4000, show_url_timeout_cb, textview );
+                                               TEXTVIEW_STATUSBAR_PUSH(textview, trimmed_uri);
+                                               textview->show_url_timeout_tag = gtk_timeout_add
+                                                       (4000, show_url_timeout_cb, textview);
                                        }
-                               } else
-                               if (!g_strncasecmp(uri->uri, "mailto:", 7)) {
+                               } else if (!g_strncasecmp(uri->uri, "mailto:", 7)) {
                                        if (event->button == 3) {
                                                gchar *fromname, *fromaddress;
                                                
index 9425980..ec881e1 100644 (file)
@@ -60,7 +60,6 @@ struct _TextView
 
        MessageView *messageview;
        gint last_buttonpress;
-       gint show_url_msgid;
        gint show_url_timeout_tag;
 };