Re: [evolution-patches] filter HIG patch



On Wed, 2004-01-07 at 14:46 -0500, William Jon McCann wrote:-
frame = gtk_frame_new (_("Then"));
+       text = g_strdup_printf ("<b>%s</b>", _("Then"));
+       frame = gtk_frame_new (text);
+       g_free (text);
+       gtk_label_set_use_markup (GTK_LABEL (gtk_frame_get_label_widget
(GTK_FRAME (frame))),
+                                 TRUE);
+       gtk_frame_set_shadow_type (GTK_FRAME (frame), GTK_SHADOW_NONE);
        inframe = gtk_vbox_new (FALSE, 3);


use C casts, and dont wrap the use_markup call.

Same for the similar code in filter-rule.c and score-rule.c


And why is the frame replaced by a vbox in the glade file, rather than
just doing above?






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