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 474080 - Port gnome-panel from glade to GtkBuilder
Port gnome-panel from glade to GtkBuilder
Status: RESOLVED FIXED
Product: gnome-panel
Classification: Other
Component: general
git master
Other Linux
: Normal minor
: ---
Assigned To: Panel Maintainers
Panel Maintainers
Depends on:
Blocks: 101596 572883
 
 
Reported: 2007-09-06 00:45 UTC by Luis Medinas
Modified: 2015-03-24 13:01 UTC
See Also:
GNOME target: ---
GNOME version: Unversioned Enhancement


Attachments
[PATCH] panel-run-dialog: migrate to GtkBuilder (23.49 KB, patch)
2009-03-27 02:17 UTC, Diego Escalante Urrelo (not reading bugmail)
none Details | Review
[PATCH] Remove useless image_details_dialog (23.32 KB, patch)
2009-03-30 02:25 UTC, Diego Escalante Urrelo (not reading bugmail)
none Details | Review
[PATCH] Don't use GnomeIconEntry in the glade file (2.00 KB, patch)
2009-03-30 02:25 UTC, Diego Escalante Urrelo (not reading bugmail)
none Details | Review
[PATCH] Remove panel-properties-dialog.glade (31.33 KB, patch)
2009-03-30 02:25 UTC, Diego Escalante Urrelo (not reading bugmail)
none Details | Review
[PATCH] Add panel-properties-dialog.ui (31.24 KB, patch)
2009-03-30 02:25 UTC, Diego Escalante Urrelo (not reading bugmail)
none Details | Review
[PATCH] Remove glade dependency in panel-properties-dialog (29.55 KB, patch)
2009-03-30 02:25 UTC, Diego Escalante Urrelo (not reading bugmail)
none Details | Review
[PATCH] Drop glade dependency in libpanel-applet (24.16 KB, patch)
2009-03-30 03:51 UTC, Diego Escalante Urrelo (not reading bugmail)
committed Details | Review
panel-run-dialog migration, take 2 (22.15 KB, patch)
2009-07-22 21:29 UTC, Matthias Clasen
none Details | Review

Description Luis Medinas 2007-09-06 00:45:27 UTC
The next milestone (2.22) should migrate from glade to GtkBuilder.
Comment 1 Diego Escalante Urrelo (not reading bugmail) 2009-03-27 02:17:56 UTC
Created attachment 131476 [details] [review]
[PATCH] panel-run-dialog: migrate to GtkBuilder


Part of bug #474080. Note that panel-properties-dialog.c couldn't be ported
because of Gnome* widgets. Changes are only to allow it to build.
---
 gnome-panel/Makefile.am               |   10 +-
 gnome-panel/panel-properties-dialog.c |    4 +-
 gnome-panel/panel-run-dialog.c        |   76 +++++----
 gnome-panel/panel-run-dialog.ui       |  299 +++++++++++++++++++++++++++++++++
 4 files changed, 350 insertions(+), 39 deletions(-)
Comment 2 Diego Escalante Urrelo (not reading bugmail) 2009-03-27 02:18:40 UTC
Note that this applies on top of bug #576916.
Comment 3 Diego Escalante Urrelo (not reading bugmail) 2009-03-30 02:25:22 UTC
Created attachment 131679 [details] [review]
[PATCH] Remove useless image_details_dialog

 gnome-panel/panel-properties-dialog.glade |  241 ++++++++---------------------
 1 files changed, 64 insertions(+), 177 deletions(-)
Comment 4 Diego Escalante Urrelo (not reading bugmail) 2009-03-30 02:25:27 UTC
Created attachment 131680 [details] [review]
[PATCH] Don't use GnomeIconEntry in the glade file


Instead build it manually in panel-properties-dialog.c so we can remove glade
dependency.
---
 gnome-panel/panel-properties-dialog.c     |    7 +++++--
 gnome-panel/panel-properties-dialog.glade |    7 +------
 2 files changed, 6 insertions(+), 8 deletions(-)
Comment 5 Diego Escalante Urrelo (not reading bugmail) 2009-03-30 02:25:35 UTC
Created attachment 131681 [details] [review]
[PATCH] Remove panel-properties-dialog.glade

 gnome-panel/panel-properties-dialog.glade |  607 -----------------------------
 1 files changed, 0 insertions(+), 607 deletions(-)
Comment 6 Diego Escalante Urrelo (not reading bugmail) 2009-03-30 02:25:40 UTC
Created attachment 131682 [details] [review]
[PATCH] Add panel-properties-dialog.ui


Port of panel-properties-dialog.glade to GtkBuilder. git was trying to see it
as a rename if I committed this two on a single commit.
---
 gnome-panel/panel-properties-dialog.ui |  607 ++++++++++++++++++++++++++++++++
 1 files changed, 607 insertions(+), 0 deletions(-)
Comment 7 Diego Escalante Urrelo (not reading bugmail) 2009-03-30 02:25:45 UTC
Created attachment 131683 [details] [review]
[PATCH] Remove glade dependency in panel-properties-dialog

 gnome-panel/Makefile.am                |    2 +-
 gnome-panel/panel-properties-dialog.c  |  112 ++++++------
 gnome-panel/panel-properties-dialog.ui |    2 -
 gnome-panel/panel-run-dialog.glade     |  290 --------------------------------
 4 files changed, 57 insertions(+), 349 deletions(-)
Comment 8 Diego Escalante Urrelo (not reading bugmail) 2009-03-30 03:51:19 UTC
Created attachment 131684 [details] [review]
[PATCH] Drop glade dependency in libpanel-applet

 libpanel-applet/Makefile.am              |    8 +-
 libpanel-applet/panel-test-applets.c     |   38 +++--
 libpanel-applet/panel-test-applets.glade |  288 ------------------------------
 libpanel-applet/panel-test-applets.ui    |  197 ++++++++++++++++++++
 4 files changed, 224 insertions(+), 307 deletions(-)
Comment 9 Christian Persch 2009-04-03 15:33:50 UTC
Have you tested that loading the converted .ui files in glade-3, and re-saving them doesn't change them in a significant way (ie. it should only remove properties that have their default value), and the re-saved file still works as expected?
Comment 10 Diego Escalante Urrelo (not reading bugmail) 2009-04-03 17:36:35 UTC
I created the .ui files with glade-3. I guess you thought I used the converter script?
Comment 11 André Klapper 2009-06-29 19:11:39 UTC
So... any progress here?
Comment 12 Vincent Untz 2009-06-29 21:32:47 UTC
Not yet, maybe during guadec, else after guadec.
Comment 13 Matthias Clasen 2009-07-22 21:28:50 UTC
The first patch (for the run dialog) should be further fixed to make the run button obey the button-images setting. I'll attach a fixed version.
Comment 14 Matthias Clasen 2009-07-22 21:29:33 UTC
Created attachment 139031 [details] [review]
panel-run-dialog migration, take 2
Comment 15 Vincent Untz 2009-08-11 14:02:15 UTC
Current status: I've committed the libpanel-applet patch (with a few changes), and ported all applets in gnome-panel.

Will do the panel itself now, based on the patches that are here.
Comment 16 Vincent Untz 2009-08-11 14:50:28 UTC
Everything's done.