Package: screen-message
Version: 0.14-1
Severity: normal
Hi!
Some of your further changes seem to eliminate the posibility to set
the background color of the window. It starts up for a very short while
with the chosen background color but switches to white shortly after.
I'm not too sure but I think the problem might reside in this changes
to the code:
#v+
@@ -220,13 +258,9 @@
gtk_widget_modify_bg(window, GTK_STATE_NORMAL, &white);
gtk_widget_modify_fg(window, GTK_STATE_NORMAL, &black);
- draw = gtk_drawing_area_new();
- gtk_widget_set_events(draw, GDK_BUTTON_PRESS_MASK);
- gtk_widget_set_size_request(draw,400,400);
- gtk_widget_modify_bg(draw, GTK_STATE_NORMAL, &white);
- gtk_widget_modify_fg(draw, GTK_STATE_NORMAL, &black);
- g_signal_connect(G_OBJECT(draw), "realize", G_CALLBACK(realize), NULL);
- g_signal_connect(G_OBJECT(draw), "button-press-event",
G_CALLBACK(text_clicked), NULL);
+ gtk_widget_set_events(window, GDK_BUTTON_PRESS_MASK);
+ g_signal_connect(G_OBJECT(window), "realize", G_CALLBACK(realize),
NULL);
+ g_signal_connect(G_OBJECT(window), "button-press-event",
G_CALLBACK(text_clicked), NULL);
GdkPixmap *pixmap = gdk_pixmap_new(NULL, 1, 1, 1);
GdkColor color;
#v-
The colors are only set for the window but not for the drawing area
within it? Or did the drawing area get removed all together? Maybe my
analysis is wrong, but I don't want this problem to get missing or
forget about it. :)
Thanks for your great work anyway!
Rhonda
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]