Re: Gtk_Tree_View, drawing speed

2012-09-27 Thread Vlad Volodin
Hello Arne, Is it really necessary to refresh updates 400 times per second? To be honest, me as a human will not notice all these changes. What do you think about doing updates once or two times per second? (like all task managers do) E.g. you can collect all values that come from the hardware

Re: Gtk_Tree_View, drawing speed

2012-09-27 Thread Arne Pagel
Hello Vlad, an update frequency about 400Hz is absolutely not necessary, and I agree that no human could follow that. My Target is 100ms. This gives an acceptable picture, even if I use later progress bars for visualization. You will defenitliy notice a difference between 100ms and 33ms. If I

Re: g_get_home_dir (), ${HOME}, and getpwuid ()-pw_dir

2012-09-27 Thread Bastien Nocera
Em Thu, 2012-09-27 às 12:42 +0700, Ivan Shmakov escreveu: [This issue is currently being discussed in debian-devel@ [0], and it was suggested to bring it to gtk-devel-list@ as well.] What's the TL;DR? It's a very long mail, weirdly formatted, and I don't understand what you expect

Re: g_get_home_dir (), ${HOME}, and getpwuid ()-pw_dir

2012-09-27 Thread Andre Klapper
On Thu, 2012-09-27 at 13:34 +0200, Bastien Nocera wrote: What's the TL;DR? I don't understand what you expect GLib to do vs. what it does now. First two sections of the email explain it: Abstract It's suggested that g_get_home_dir () be changed to follow the usual Unix convention of

Re: g_get_home_dir (), ${HOME}, and getpwuid ()-pw_dir

2012-09-27 Thread Colin Walters
On Thu, 2012-09-27 at 12:42 +0700, Ivan Shmakov wrote: Gets the current user's home directory as defined in the password database. Note that in contrast to traditional UNIX tools, this function prefers passwd entries over the HOME environment variable. The question to

Re: g_get_home_dir (), ${HOME}, and getpwuid ()-pw_dir

2012-09-27 Thread Ivan Shmakov
Colin Walters walt...@verbum.org writes: On Thu, 2012-09-27 at 12:42 +0700, Ivan Shmakov wrote: Gets the current user's home directory as defined in the password database. Note that in contrast to traditional UNIX tools, this function prefers passwd entries over the HOME environment

Re: g_get_home_dir (), ${HOME}, and getpwuid ()-pw_dir

2012-09-27 Thread Matthias Clasen
On Thu, Sep 27, 2012 at 9:35 AM, Colin Walters walt...@verbum.org wrote: On Thu, 2012-09-27 at 12:42 +0700, Ivan Shmakov wrote: Gets the current user's home directory as defined in the password database. Note that in contrast to traditional UNIX tools, this function prefers

Re: g_get_home_dir (), ${HOME}, and getpwuid ()-pw_dir

2012-09-27 Thread Stef Walter
On 09/27/2012 04:48 PM, Ivan Shmakov wrote: $ HOME=/net/home/jrh emacs Moreover, GNU Bash started under such a Emacs instance will also use /net/home/jrh/.bashrc (instead of /home/jrh/.bashrc), and so will GNU Wget, or Lynx, and a sheer variety of other tools. …

gtk_widget_set_size_request stopped working with GTK3

2012-09-27 Thread Steffen Gutmann
Hi, with GTK2 some applications used to set the minimum size of some widgets using gtk_widget_set_size_request.  E.g. the min size of a GtkImage.  This no longer works with GTK3 and the min size of the GtkImage is that of the underlying image, e.g. a GdkPixbuf. There is also a bug report

Re: gtk_widget_set_size_request stopped working with GTK3

2012-09-27 Thread Tristan Van Berkom
On 09/28/2012 02:16 AM, Steffen Gutmann wrote: Hi, with GTK2 some applications used to set the minimum size of some widgets using gtk_widget_set_size_request. E.g. the min size of a GtkImage. This no longer works with GTK3 and the min size of the GtkImage is that of the underlying image,