Author: espectador
Date: Sun Nov 30 06:18:57 2014
New Revision: 38216
URL: http://svn.gna.org/viewcvs/gnustep?rev=38216&view=rev
Log:
Fix problem with tabs.
Modified:
plugins/themes/Gtk/ChangeLog
plugins/themes/Gtk/NSTabView+Gnome.m
Modified: plugins/themes/Gtk/ChangeLog
URL:
http://svn.gna.org/viewcvs/gnustep/plugins/themes/Gtk/ChangeLog?rev=38216&r1=38215&r2=38216&view=diff
==============================================================================
--- plugins/themes/Gtk/ChangeLog (original)
+++ plugins/themes/Gtk/ChangeLog Sun Nov 30 06:18:57 2014
@@ -1,3 +1,8 @@
+2014-11-29 German Arias <[email protected]>
+
+ * NSTabView+Gnome.m: Fix problem where top tabs are drawn as bottom
+ tabs and vice versa.
+
2014-01-15 Niels Grewe <[email protected]>
* GGnomeTheme.m: Load the DBusMenu bundle and use the remote menu
Modified: plugins/themes/Gtk/NSTabView+Gnome.m
URL:
http://svn.gna.org/viewcvs/gnustep/plugins/themes/Gtk/NSTabView%2BGnome.m?rev=38216&r1=38215&r2=38216&view=diff
==============================================================================
--- plugins/themes/Gtk/NSTabView+Gnome.m (original)
+++ plugins/themes/Gtk/NSTabView+Gnome.m Sun Nov 30 06:18:57 2014
@@ -119,14 +119,14 @@
NSPoint iP;
GtkPositionType position;
float labelYCorrection;
- if (type == NSBottomTabsBezelBorder)
+ if (type == NSTopTabsBezelBorder)
{
iP.x = bounds.origin.x;
iP.y = bounds.origin.y;
position = GTK_POS_TOP; // sic!
labelYCorrection = 1.0;
}
- else if (type == NSTopTabsBezelBorder)
+ else if (type == NSBottomTabsBezelBorder)
{
iP.x = bounds.origin.x;
iP.y = bounds.size.height - 16;
_______________________________________________
Gnustep-cvs mailing list
[email protected]
https://mail.gna.org/listinfo/gnustep-cvs