After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 705594 - drop libgd
drop libgd
Status: RESOLVED FIXED
Product: gnome-maps
Classification: Applications
Component: general
3.9.x
Other Linux
: Normal normal
: ---
Assigned To: gnome-maps-maint
gnome-maps-maint
Depends on:
Blocks:
 
 
Reported: 2013-08-07 00:22 UTC by Yosef Or Boczko
Modified: 2013-08-07 15:55 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
sidebar: Port to GtkRevealer and GtkButton (3.09 KB, patch)
2013-08-07 01:18 UTC, Yosef Or Boczko
needs-work Details | Review
MainWindow: Port to GtkButton, GtkSearchEntry and GtkHeaderBar (5.11 KB, patch)
2013-08-07 01:19 UTC, Yosef Or Boczko
needs-work Details | Review
Remove libgd submodule (2.65 KB, patch)
2013-08-07 01:19 UTC, Yosef Or Boczko
none Details | Review
sidebar: Port to GtkRevealer and GtkButton (3.10 KB, patch)
2013-08-07 10:40 UTC, Yosef Or Boczko
committed Details | Review
MainWindow: Don't use libgd widgets (5.06 KB, patch)
2013-08-07 10:59 UTC, Yosef Or Boczko
none Details | Review
Remove libgd submodule (2.65 KB, patch)
2013-08-07 11:07 UTC, Yosef Or Boczko
committed Details | Review
Screenshot (715.61 KB, image/png)
2013-08-07 12:27 UTC, Yosef Or Boczko
  Details
MainWindow: Don't use libgd widgets (4.99 KB, patch)
2013-08-07 14:05 UTC, Yosef Or Boczko
none Details | Review
MainWindow: Don't use libgd widgets (4.98 KB, patch)
2013-08-07 14:43 UTC, Yosef Or Boczko
committed Details | Review
Screenshot (757.53 KB, image/png)
2013-08-07 15:46 UTC, Yosef Or Boczko
  Details

Description Yosef Or Boczko 2013-08-07 00:22:57 UTC
See patches.
Comment 1 Yosef Or Boczko 2013-08-07 01:18:47 UTC
Created attachment 251012 [details] [review]
sidebar: Port to GtkRevealer and GtkButton
Comment 2 Yosef Or Boczko 2013-08-07 01:19:07 UTC
Created attachment 251013 [details] [review]
MainWindow: Port to GtkButton, GtkSearchEntry and GtkHeaderBar
Comment 3 Yosef Or Boczko 2013-08-07 01:19:22 UTC
Created attachment 251014 [details] [review]
Remove libgd submodule
Comment 4 Zeeshan Ali 2013-08-07 10:10:03 UTC
Thanks for this work but Mattias was already doing this (bug#703978) so now I must look at both branches and decide on one. :(
Comment 5 Zeeshan Ali 2013-08-07 10:32:33 UTC
Review of attachment 251012 [details] [review]:

Looks really good otherwise.

::: src/sidebar.js
@@ +50,2 @@
         // create the button
+        let revealButton = new Gtk.Button({ child: new Gtk.Image ({ icon_name: prevIconName,

please separate out the Image instantiation in a separate line:

let image = new Gtk.Image...
Comment 6 Yosef Or Boczko 2013-08-07 10:40:22 UTC
Created attachment 251052 [details] [review]
sidebar: Port to GtkRevealer and GtkButton
Comment 7 Zeeshan Ali 2013-08-07 10:50:01 UTC
Review of attachment 251013 [details] [review]:

First some nitpicks on commit log:

* Please try to fit the summary in 50 columns/characters so just write "MainWindow: Don't use libgd widgets" in summary.
* Details section can use bullets:

* Gd*Button -> GtkButton
* GdTaggedEntry -> ...

* You'll have to rebase this patch on top of latest git master.

Looks very good otherwise.
Comment 8 Yosef Or Boczko 2013-08-07 10:59:52 UTC
Created attachment 251053 [details] [review]
MainWindow: Don't use libgd widgets
Comment 9 Yosef Or Boczko 2013-08-07 11:07:24 UTC
Created attachment 251054 [details] [review]
Remove libgd submodule
Comment 10 Zeeshan Ali 2013-08-07 12:05:08 UTC
Thanks for quickly rebasing but I get this error:

(gnome-maps:12302): Gtk-WARNING **: Unknown property: GtkHeaderBar.show-close-button

(gnome-maps:12302): Gtk-WARNING **: Unknown property: GtkHeaderBar.show-close-button

And buttons look broken with your patches.
Comment 11 Yosef Or Boczko 2013-08-07 12:06:07 UTC
You have gtk+ from master (3.9.11)?
Comment 12 Yosef Or Boczko 2013-08-07 12:27:10 UTC
Created attachment 251065 [details]
Screenshot
Comment 13 Yosef Or Boczko 2013-08-07 14:05:13 UTC
Created attachment 251072 [details] [review]
MainWindow: Don't use libgd widgets
Comment 14 Yosef Or Boczko 2013-08-07 14:43:23 UTC
Created attachment 251076 [details] [review]
MainWindow: Don't use libgd widgets
Comment 15 Yosef Or Boczko 2013-08-07 15:46:48 UTC
Created attachment 251082 [details]
Screenshot

The new style in gtk+.
Comment 16 Zeeshan Ali 2013-08-07 15:52:17 UTC
Attachment 251052 [details] pushed as 6b1db29 - sidebar: Port to GtkRevealer and GtkButton
Attachment 251054 [details] pushed as 28865ed - Remove libgd submodule
Attachment 251076 [details] pushed as 9a41b7d - MainWindow: Don't use libgd widgets

I took the liberty of temporarilly removing the 'titlebar' style class as a) it was messing-up theme at least on my machine and b) It seems unclear whether we should be using this.