GNOME Bugzilla – Bug 703978
Move from libgd-widgets to stable Gtk-widgets
Last modified: 2014-01-05 00:03:17 UTC
A lot of the widgets in libgd has already or are in the process of being mergedd into Gtk+. We should update gnome-maps to use the stable Gtk+ versions when possible. We currently use the following widgets from libgd: - GdHeaderBar (GtkHeaderBar in Gtk+ 3.9) - GdRevealer (GtkRevealer in Gtk+ 3.9) - GdHeaderToggleButton - GdHeaderMenuButton - GdTaggedEntry The last three I don't know much about. Let's keep this bug as a tracker for our progress on moving to stock gtk widgets.
Created attachment 250914 [details] [review] Remove Sidebar This removes the sidebar from master as it isn't used and since I want to update Maps to not use libgd as much without having to update this file. The wip/osrm-routing branch still has it (and I will remove unneeded libgd-references from it before posting patches at bugzilla).
Created attachment 250915 [details] [review] Move from Gd to Gtk+ when possible A lot of functionality from libgd has been merged into Gtk+. This patch removes as much of libgd from Maps as possible.
These patches depend on the patches in https://bugzilla.gnome.org/show_bug.cgi?id=705537
Review of attachment 250914 [details] [review]: So in other words, you'll re-add this sidebar again very soon? I don't see the point of temporarily removing some code.
Review of attachment 250915 [details] [review]: Looks good otherwise but please add the following to the commit log: * GdHeaderBar -> GtkHeaderBar * GdHeaderToggleButton -> GtkToggleButton * GdHeaderMenuButton -> GtkMenuButton
Review of attachment 250915 [details] [review]: Ok sure will do that.
Review of attachment 250914 [details] [review]: The reason would be me not needing to port this twice in two different ways since I've already ported the sidebar to a .ui-file in the osrm-routing branch. Porting the .ui-file is also much easier / faster than porting code.
Created attachment 251005 [details] [review] Move from Gd to Gtk+ when possible A lot of functionality from libgd has been merged into Gtk+. This patch removes as much of libgd from Maps as possible. Specifically: * GdHeaderBar -> GtkHeaderBar * GdHeaderToggleButton -> GtkToggleButton * GdHeaderMenuButton -> GtkMenuButton
This was fixed a while ago.