Re: gtk_widget_modify_bg - does not work

2013-10-16 Thread kuba
In function main: int main(int argc, char** argv) { gtk_init(argc,argv); return 0; } what am I doing wrong in Following Code GtkWidget *button1; void click_button1(GtkWidget *widget, gpointer data) { GdkColor color; color.red = 27000; color.green = 30325;

Directional Images

2013-10-16 Thread fr33domlover
Hello Gtk+ developers, My native language is an RTL language. I've been examining several RTL problems in GNOME software recently, and I noticed some recurring patterns. Some of them are related to text alignment and fonts, which I won't talk about this time because I haven't found a universal

Re: Directional Images

2013-10-16 Thread Dov Grobgeld
No, I don't think it is universally reasonable. Because in general an icon may have a style that is broken when the image is flipped. Imagine e.g. if the buttons in some style contains arrows that were drawn with an elliptical pen slanted at 45 degrees to the right. In such a case the left and the

Re: Directional Images

2013-10-16 Thread fr33domlover
You're right, drop shadows don't work well when flipped. But I have three suggestions: 1. When widgets do enable perfect clean flipping, use it 2. When an app has two directional matching widgets, e.g. left and right arrows, simply switch between then instead of fliping. This will probably

Re: Directional Images

2013-10-16 Thread Jasper St. Pierre
I think the thing that we'd want is to have a separate RTL icon theme that inherits from the LTR icon theme, but overrides some icons with flipped icons. This can be done with a few tweaks to the icon-theme specification, and in GTK+. On Wed, Oct 16, 2013 at 5:42 PM, fr33domlover

Re: Directional Images

2013-10-16 Thread Krzysztof Kosiński
2013/10/17 Jasper St. Pierre jstpie...@mecheye.net: I think the thing that we'd want is to have a separate RTL icon theme that inherits from the LTR icon theme, but overrides some icons with flipped icons. This can be done with a few tweaks to the icon-theme specification, and in GTK+. I

Re: Removal of icons in buttons/menus

2013-10-16 Thread Krzysztof Kosiński
2013/10/15 Ryan Lortie de...@desrt.ca: Any icon that comes before a menu item’s text should be laid out as if it is the beginning of the text... and In particular, icons of this sort should not go inside the margin... (...) GtkImageMenuItem puts its icon in the margin. We don't