CVS: sylpheed-claws/src/gtk gtkutils.c,1.5.2.25,1.5.2.26
Paul Mangan <[email protected]>
| Newsgroups | gmane.mail.sylpheed.claws.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/sylpheed-claws/sylpheed-claws/src/gtk
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17694/src/gtk
Modified Files:
Tag: gtk2
gtkutils.c
Log Message:
2006-04-27 [paul] 2.1.1cvs37
* src/prefs_account.c
improve privacy labels
* src/prefs_msg_colors.c
change some strings for translators' convenience
* src/gtk/gtkutils.c
don't underline the link button text
Index: gtkutils.c
===================================================================
RCS file: /cvsroot/sylpheed-claws/sylpheed-claws/src/gtk/gtkutils.c,v
retrieving revision 1.5.2.25
retrieving revision 1.5.2.26
diff -u -r1.5.2.25 -r1.5.2.26
--- gtkutils.c 6 Apr 2006 10:50:29 -0000 1.5.2.25
+++ gtkutils.c 27 Apr 2006 09:13:40 -0000 1.5.2.26
@@ -1186,7 +1186,7 @@
gdk_window_set_cursor(window->window, hand_cursor);
gtk_button_set_relief(button, GTK_RELIEF_NONE);
- gtk_widget_set_state(GTK_WIDGET(button), GTK_STATE_NORMAL);
+ gtk_widget_set_state(GTK_WIDGET(button), GTK_STATE_PRELIGHT);
}
@@ -1236,7 +1236,6 @@
GdkColormap *cmap;
GdkColor uri_color[2] = {{0, 0, 0, 0xffff}, {0, 0xffff, 0, 0}};
gboolean success[2];
- gchar *underlined = NULL;
gchar *local_url = NULL;
if (!url)
return NULL;
@@ -1246,12 +1245,9 @@
gtkut_convert_int_to_gdk_color(prefs_common.uri_col,
&uri_color[1]);
- underlined = g_markup_printf_escaped("<u>%s</u>", label?label:url);
- btn = gtk_button_new_with_label(underlined);
- g_free(underlined);
+ btn = gtk_button_new_with_label(label?label:url);
gtk_button_set_relief(GTK_BUTTON(btn), GTK_RELIEF_NONE);
btn_label = GTK_BIN(btn)->child;
- gtk_label_set_use_markup(GTK_LABEL(btn_label), TRUE);
cmap = gdk_drawable_get_colormap(window->window);
gdk_colormap_alloc_colors(cmap, uri_color, 2, FALSE, TRUE, success);
if (success[0] == TRUE && success[1] == TRUE) {
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642