gnome-desktop r5186 - trunk/libgnome-desktop
- From: federico svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-desktop r5186 - trunk/libgnome-desktop
- Date: Sat, 16 Aug 2008 01:47:16 +0000 (UTC)
Author: federico
Date: Sat Aug 16 01:47:16 2008
New Revision: 5186
URL: http://svn.gnome.org/viewvc/gnome-desktop?rev=5186&view=rev
Log:
Make the output label bold
2008-08-14 Federico Mena Quintero <federico novell com>
* gnome-rr-labeler.c (create_label_window): Make the label bold,
for consistency with the tray icon's menu in gnome-settings-daemon.
Signed-off-by: Federico Mena Quintero <federico novell com>
Modified:
trunk/libgnome-desktop/ChangeLog
trunk/libgnome-desktop/gnome-rr-labeler.c
Modified: trunk/libgnome-desktop/gnome-rr-labeler.c
==============================================================================
--- trunk/libgnome-desktop/gnome-rr-labeler.c (original)
+++ trunk/libgnome-desktop/gnome-rr-labeler.c Sat Aug 16 01:47:16 2008
@@ -256,6 +256,7 @@
{
GtkWidget *window;
GtkWidget *widget;
+ char *str;
window = gtk_window_new (GTK_WINDOW_POPUP);
GTK_WIDGET_SET_FLAGS (window, GTK_APP_PAINTABLE);
@@ -271,7 +272,10 @@
g_signal_connect (window, "expose-event",
G_CALLBACK (label_window_expose_event_cb), labeler);
- widget = gtk_label_new (output->display_name);
+ str = g_strdup_printf ("<b>%s</b>", output->display_name);
+ widget = gtk_label_new (NULL);
+ gtk_label_set_markup (GTK_LABEL (widget), str);
+ g_free (str);
gtk_container_add (GTK_CONTAINER (window), widget);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]