window is too tiny when opening new chatrooms with contact list
Submitted by Nicolò Chieffo
Currently if you open a new channel you get a really tiny chat window with a huge contact list (see the screenshot).
This is caused by these lines of code in empathy-chat.c +1266
/* We are adding the contact list to the chat, we don't want the * chat view to become too small. If the chat view is already * smaller than 250 make sure that size won't change. If the * chat view is bigger the contact list will take some space on * it but we make sure the chat view don't become smaller than * 250. Relax the size request once the resize is done */ min_width = MIN (priv->vbox_left->allocation.width, 250); gtk_widget_set_size_request (priv->vbox_left, min_width, -1);
while this works when the window is bigger than 250, it does not when it is smaller.
Looking at the gtk_widget_set_size_request doc, we can see: "Sets the minimum size of a widget" which is exactly what we want (from the comment). In my opinion we should remove those lines, and set a minimum width and height request directly in the .ui file