gnokii-users
[Top][All Lists]
Advanced

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

Two GUI problems in xgnokii


From: Daniele Forsi
Subject: Two GUI problems in xgnokii
Date: Thu, 12 Jan 2006 23:25:31 +0100
User-agent: Mozilla Thunderbird 1.0.7 (X11/20050923)

First, when I choose "Read from phone" in Contacts I get a warning on the terminal, the progress dialog remain small and the progress bars aren't visible (it worked in 0.6.5)

it is at line 2120 of xgnokii_contacts.c function CreateProgressDialog()

2120 gtk_container_add(GTK_CONTAINER(progressDialog.dialog), vbox);
(gdb)

(xgnokii:5265): Gtk-WARNING **: Attempting to add a widget with type GtkVBox to a GtkDialog, but as a GtkBin subclass a GtkDialog can only contain one widget at a time; it already contains a widget of type GtkVBox
2122            gtk_widget_show(vbox);
(gdb)


Second, when I open the Net Monitor window, xgnokii dies silently in

#0  0x407d1a3f in XftGlyphSpecRender () from /usr/X11R6/lib/libXft.so.2

This happens in xgnokii_netmon.c at line 95, RefreshDisplay() if the string to put in displayData.label has a \n inside, which is always the case
to fix this I commented out line 296 inside ExposeDisplay()

// gtk_widget_draw(displayData.label, &rec);

so I can see Netmonitor data, but then calling ExposeDisplay() is useless

values of r and rec seem reasonable in gdb backtrace

#134 0x0806b4d3 in ExposeDisplay (widget=0x81bded8, event=0x8336a24) at xgnokii_netmon.c:296
        rec = {x = 15, y = 27, width = 81, height = 68}
        r = {width = 81, height = 68}

--
Daniele




reply via email to

[Prev in Thread] Current Thread [Next in Thread]