GtkList + GtkScrolledWindow not scrolling properly with keyboard



Hi

This is the problem
http://bugzilla.gnome.org/show_bug.cgi?id=2473

I don't know how to fix, it should work from what I see in source and
my knowledge :(

The code: (capplets/theme-switcher/gui.c)

  theme_list = gtk_list_new();
  gtk_list_set_selection_mode(GTK_LIST(theme_list),
GTK_SELECTION_BROWSE);
  sw = gtk_scrolled_window_new(NULL, NULL);
  gtk_scrolled_window_add_with_viewport(GTK_SCROLLED_WINDOW(sw),
theme_list);
  gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(sw),
GTK_POLICY_AUTOMATIC,
                                 GTK_POLICY_AUTOMATIC);
  gtk_widget_set_usize (sw, 120, -1);

  gtk_box_pack_start(GTK_BOX(hbox2), sw, TRUE, TRUE, 0);

I have gtk+-1.2.9-4, if this is a gtk+ issue.

Marius Andreiana
--
Earth is the cradle of mankind, but man cannot live in the cradle forver




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