-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Move away from GtkStatusIcon? #81
Comments
I really have no idea of an alternative. It seems gtk upstream is ignorant enough to completely drop this feature? |
I looked a little bit into that, read a few posts... Some projects drop Here is what I bookmarked some time ago: |
On my system (Debian unstable), I have two apps that switched to |
The question now is if it provides it's own implementation/symbols instead of the gtk one. Otherwise it's the same story for us. |
It just uses the deprecated stuff from Gtk3. So it's doesn't solve the problem, just hides it. |
Sounds like someone will have to copy-paste/fork the gtk code that has GtkStatusIcon support into a separate library. |
Yeah, I looked into this a little as well. One other big issue is that interaction with libappindicator icons is very limited. Basically you can only show a menu, so pnmixer would be completely crippled. I think the options are to stay with GtkStatusIcon, or write our own implementation compliant with the XDG spec (http://standards.freedesktop.org/systemtray-spec/systemtray-spec-0.3.html), unless someone else has written a stand-alone library. |
While trying to fix a few deprecation warnings ( There is an alternative, called efl which is the library behind enlightenment, but seems to be a generic GUI library. I haven't had a deep enough look on it yet to say whether it would be a good idea to use it. It would ofc involve a major rewrite. |
Well Glade will probably catch up with the changes in Gtk+, sooner or later. I like to think that Gtk helps me to improve my self-control, my ability to keep cool.... This is how I take it, and it's not only true with Gtk, most of the open-source world challenges my coolness everyday 😆 |
I doubt it. They said that the glade IDE will not support all possible widget combinations. So to me it is broken. |
https://github.com/encharm/libsystemtray could be an alternative, but has no gtk+ backend yet |
just tested pnmixer on gtk+-4... GtkStatusIcon is removed ...so, have fun |
@hasufell Is GTK+-4 released? |
It's coming quickly. From now on they will release major versions much more often than before. Take a look here: https://blogs.gnome.org/desrt/2016/06/13/gtk-4-0-is-not-gtk-4/ It's no surprise that everything marked deprecated disappear in the new major version. But as it's said on this article, if we don't need new features, there's no need to switch to a new major version. |
I suggest that we seriously consider to rewrite (lol, again) pnmixer for a different GUI framework. |
:) Yeah I think I understand how you feel. I personally don't mind so much anymore. As long as we stick to Gtk+3, we keep on using the GtkStatusIcon. I can live with that, and I think a lot of people will stick to Gtk+3 for a while anyway. So there's no rush. Plus, I don't have free time anymore... |
:-) |
Those functions are removed now, not deprecated. |
Yeah, me neither. And I think, if I find the free time, I'd not write it in C anyway, so it might as well be a "fork". |
Gtk3 is starting to throw deprecation warnings about it. With
-Werror
I get:Also see https://bugzilla.gnome.org/show_bug.cgi?id=734826
Does libnotify allow us to do tray icons? https://developer.gnome.org/libnotify/
The text was updated successfully, but these errors were encountered: