I am working on a GTK+ client to GMPP(Generic Music Player Project) and
have encountered what i believe is a small bug, can anyone verify this?

        handlebox = gtk_handle_box_new();
        gtk_box_pack_start(GTK_BOX(vbox), handlebox, TRUE, TRUE, 0);
        gtk_widget_show(handlebox);

        toolbar = gtk_toolbar_new(GTK_ORIENTATION_HORIZONTAL,
                GTK_TOOLBAR_ICONS);
        gtk_toolbar_set_button_relief(GTK_TOOLBAR(toolbar), GTK_RELIEF_NONE);
        gtk_container_add(GTK_CONTAINER(handlebox), toolbar);
        gtk_widget_show(toolbar);

                /* exit button */
        make_button(gtkgmpp.window, exit_xpm, mm_exit, toolbar, "Exit", "Exit");

                /* gap to try avoid accidental exiting */
        gtk_toolbar_append_space(GTK_TOOLBAR(toolbar));

                /* about button */
        make_button(gtkgmpp.window, about_xpm, about_win, toolbar, "About", "About");
        ...

make_button() appends pixmaps onto said toolbar, the code isnt relevant.

The problem is, the toolbar is too thin to show the beveled edge on the top and
bottom of the toolbar, but the edge is apparent in the gaps where the space
was put in and the excess on the end beyond all the buttons.

If I make the window larger, the toolbar grows a bit and the beveled edge is
apparent throughout the toolbar.

Here are some urls to screenshots of the problem:

http://www.gnugeneration.com/stuff/gtkgmpp-1.jpg
http://www.gnugeneration.com/stuff/gtkgmpp-2.jpg

I am not setting the widget size of the window, or anything involved here,
shouldnt the toolbar be setting a sane size for itself automatically, one
which doesnt obscure the beveled edges?

Please cc me directly in your replies (or only reply to me), I am not subscribed
to the gtk-list.

- Vito Caputo
  [EMAIL PROTECTED]
  GNU Generation
  www.gnugeneration.com

_______________________________________________
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list

Reply via email to