GNOME Bugzilla – Bug 361135
Migrate from libgnomeui's druid to GtkAssistant
Last modified: 2008-01-07 19:38:48 UTC
Step 2 to GTK-only ekiga: get rid of the gnome-druid, replace it by its GTK counterpart, GtkAssistant, available since GTK 2.10. I'll hopefully cook a patch for this.
In fact, the UI model used by ekiga is so outdated that it would require a complete rewrite, using GtkAssistant, GtkBuilder and GtkUIManager. I think it would clarify a lot the UI code. Still, I don't really understand ATM how tied it is with the configuration preferences backend...
Vincent has a preliminary patch.
As Damien said, I rewrote the UI using GtkAssistant. I'm almost done, I still have to finish the server-side account creation scripts. Didn't have much time these last weeks.
*** Bug 336986 has been marked as a duplicate of this bug. ***
Created attachment 102293 [details] [review] [PATCH] Replace GnomeDruid-based assistant implementation with GtkAssistant. This matches the functionnality of the previous assistant without adding new functionnality. It also plugs several string leaks in the previous code. --- ChangeLog | 24 + configure.ac | 1 - lib/Makefile.am | 4 - lib/druid/Makefile.am | 19 - lib/druid/Readme | 2 - lib/druid/gnome-druid-page-edge.c | 649 ------------ lib/druid/gnome-druid-page-edge.h | 158 --- lib/druid/gnome-druid-page-standard.c | 788 --------------- lib/druid/gnome-druid-page-standard.h | 123 --- lib/druid/gnome-druid-page.c | 412 -------- lib/druid/gnome-druid-page.h | 133 --- lib/druid/gnome-druid.c | 1051 -------------------- lib/druid/gnome-druid.h | 141 --- src/Makefile.am | 4 +- src/devices/audio.cpp | 29 +- src/devices/videoinput.cpp | 14 +- src/endpoints/ekiga.cpp | 14 +- src/endpoints/ekiga.h | 6 +- src/gui/assistant.cpp | 1159 ++++++++++++++++++++++ src/gui/assistant.h | 78 ++ src/gui/conf.cpp | 2 +- src/gui/druid.cpp | 1736 --------------------------------- src/gui/druid.h | 66 -- src/gui/main.cpp | 16 +- 24 files changed, 1300 insertions(+), 5329 deletions(-)
Patch applied to TRUNK. Thanks a lot !