Begin porting xfce4-notifyd to Gtk3
Simon Steinbeiß
simon at xfce.org
Mon Jul 6 18:51:13 CEST 2015
Hey,
yeah, theming is expected to be broken. Basically the themes have to be redone for Gtk3 completely, there's no compatibility layer or anything.
If you need help on that aspect, I can probably help you to port the existing default themes or do a set of new defaults. All you have to do on the application side is either give the widgets names (which is – from what I remember – what notifyd does in Gtk2) or set classes, which can then be themed. And yeah, you need to load and apply themes dynamically, based on the xfconf value (at least if you want to keep the feature of independent notification themes around – in my opinion this is not that crucial, it'd be fine to just apply the currently-in-use theme to notifications and provide a fallback).
Cheers
Simon
On Mon, 6 Jul 2015 17:07:17 +0200
flo.xfce at gmx-topmail.de wrote:
> Hey,
> I started a port of xfce4-notifyd to Gtk3. It is hosted on Github:
> https://github.com/Flow-It/xfce4-notifyd/tree/flo/gtk3
> I didn't fix deprecations for now, although I started working on that
> locally.
> Unfortunately this port broke the notification themes. I'm not really
> into GtkSytle/GtkStyleContext and the CSS stuff. Theming is quite low on
> my priority list.
>
> Regards
> Flo
> _______________________________________________
> Xfce4-dev mailing list
> Xfce4-dev at xfce.org
> https://mail.xfce.org/mailman/listinfo/xfce4-dev
More information about the Xfce4-dev
mailing list