=]] I'll sure add it to the main source tonight!! (with proper credits) Seems my code is not THAAT bad then.. lol! Thanks! Like this:
.........snip......... gtk_window_resize (GTK_WINDOW (self), (int)(SIZE_WIDTH_ALL*0.118), SIZE_HEIGHT_LINE); g_timeout_add (500, (GSourceFunc)desktop_cmd_exec_resize_hack, self);........snip.........gboolean desktop_cmd_exec_resize_hack(DesktopCmdExec *self){// g_warning("HACK"); if(self->priv->widgetID != NULL) { desktop_cmd_exec_read_settings (self); desktop_cmd_exec_update_content (self);//g_warning("W %d H %d",(int)(SIZE_WIDTH_ALL*self->priv->widthRatio),(int)(SIZE_HEIGHT_LINE*self->priv->heightRatio));//AP// gtk_widget_set_size_request (GTK_WIDGET (self), (int)(SIZE_WIDTH_ALL*self->priv->widthRatio), SIZE_HEIGHT_LINE);//AP// gtk_window_resize (GTK_WINDOW (self), (int)(SIZE_WIDTH_ALL*self->priv->widthRatio), SIZE_HEIGHT_LINE);//AP gtk_widget_set_size_request (GTK_WIDGET (self), (int)(SIZE_WIDTH_ALL*self->priv->widthRatio), (int)(SIZE_HEIGHT_LINE*self->priv->heightRatio));//AP gtk_window_resize (GTK_WINDOW (self), (int)(SIZE_WIDTH_ALL*self->priv->widthRatio), (int)(SIZE_HEIGHT_LINE*self->priv->heightRatio));//AP }// else// {// g_warning("HACK unsuccessful");// } return FALSE;}.........snip.........