Patch attached adds compatibility with gtk2hs 0.11.x - i.e. the
cabalized version.
Regards
--
Yi development mailing list
[email protected]
http://groups.google.com/group/yi-devel
1 patch for repository http://code.haskell.org/yi:
Fri Jul 9 16:54:46 CEST 2010 Maciej Piechotka <[email protected]>
* Makes compatible with gtk2hs 0.11.x
New patches:
[Makes compatible with gtk2hs 0.11.x
Maciej Piechotka <[email protected]>**20100709145446
Ignore-this: 73a34f7684d3af48659982030ab2deea
] hunk ./src/Yi/UI/Pango.hs 25
import qualified Data.Rope as Rope
import Graphics.UI.Gtk hiding (on, Region, Window, Action, Point, Style)
+import Graphics.UI.Gtk.Gdk.GC hiding (foreground)
import qualified Graphics.UI.Gtk.Gdk.Events as Gdk.Events
import qualified Graphics.UI.Gtk as Gtk
hunk ./src/Yi/UI/Pango.hs 28
+import qualified Graphics.UI.Gtk.Gdk.GC as Gtk
import System.Glib.GError
import Yi.Prelude
hunk ./src/Yi/UI/Pango.hs 128
windowSetDefaultSize win 900 700
windowSetTitle win "Yi"
ico <- loadIcon "yi+lambda-fat.32.png"
- windowSetIcon win ico
+ windowSetIcon win (Just ico)
onKeyPress win (processEvent ch)
hunk ./src/Yi/UI/Pango/Control.hs 56
(Color(..), PangoRectangle(..), Rectangle(..), selectionDataSetText,
targetString, clipboardSetWithData, clipboardRequestText,
selectionPrimary, clipboardGetForDisplay, widgetGetDisplay,
- onMotionNotify, drawRectangle, drawLine, newGCValues, gcSetValues,
- layoutIndexToPos, layoutGetCursorPos, drawLayout, gcNew,
+ onMotionNotify, drawRectangle, drawLine,
+ layoutIndexToPos, layoutGetCursorPos, drawLayout,
widgetGetDrawWindow, layoutSetAttributes, widgetGrabFocus,
scrolledWindowSetPolicy, scrolledWindowAddWithViewport,
scrolledWindowNew, contextGetMetrics, contextGetLanguage,
hunk ./src/Yi/UI/Pango/Control.hs 70
mainQuit, signalDisconnect, ConnectId(..), PolicyType(..),
StateType(..), EventMask(..), AttrOp(..), Weight(..),
PangoAttribute(..), Underline(..), FontStyle(..))
+import Graphics.UI.Gtk.Gdk.GC as Gtk
+ (newGCValues, gcSetValues, gcNew, foreground)
import qualified Graphics.UI.Gtk as Gtk
import qualified Graphics.UI.Gtk.Gdk.Events as Gdk.Events
import System.Glib.GError
hunk ./yi.cabal 350
cpp-options: -DFRONTEND_VTY
if flag (pango)
- build-depends: gtk==0.10.*
- build-depends: glib==0.10.*
+ build-depends: gtk==0.11.*
+ build-depends: glib==0.11.*
cpp-options: -DFRONTEND_PANGO
other-modules: Yi.UI.Pango.ProjectTree
Yi.UI.Pango.Utils
hunk ./yi.cabal 358
Yi.UI.Pango
if flag(gnome)
- build-depends: gconf==0.10.*
+ build-depends: gconf==0.11.*
cpp-options: -DGNOME_ENABLED
other-modules: Yi.UI.Pango.Gnome
Context:
[TAG 0.6.2.3
[email protected]**20100621070949
Ignore-this: 9aac5852b2d98209ef6ff8b0ff58a978
]
Patch bundle hash:
38bfba3cfad0144a5b8ca0e8098b4036a174fc17