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 606801 - Bad translation error + GTKmm Project error
Bad translation error + GTKmm Project error
Status: RESOLVED FIXED
Product: anjuta
Classification: Applications
Component: Plugins: class-gen
2.28.x
Other Linux
: Normal major
: ---
Assigned To: Armin Burgmeier
Depends on:
Blocks:
 
 
Reported: 2010-01-13 01:09 UTC by vamp898
Modified: 2010-01-13 11:31 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Screenshot of the stuff i did =) (152.02 KB, image/png)
2010-01-13 01:12 UTC, vamp898
Details

Description vamp898 2010-01-13 01:09:59 UTC
On the immage i attached you´ll see that i typed i want to use Gtk::Window as base class

and now check the result of that

class MainWindow : öffentlich Gtk::Window

öffentlich is the german word for public

i think thats very annoying and funny at the same xD

Also there is something

When i create a new GTKmm Project i get a main.cc with functional, but unuseable stuff.

Anjuta really should create a MainWindow Class which creates the Window and let the main.cc create an MainWindow object and use that rather than just create a main() and put all stuff there like here

http://pastie.org/private/zq3lxvn93gzrcjvw6olew

i think thats just the must stupid way to use GTKmm which is aviable and Anjuta uses this as default :/

i dont need an IDE when i have to re-create 90% of that what the IDE created + the work to remove the old :/
Comment 1 vamp898 2010-01-13 01:12:43 UTC
Created attachment 151299 [details]
Screenshot of the stuff i did =)
Comment 2 Johannes Schmid 2010-01-13 10:36:21 UTC
Thanks for reporting this. Fixed in master and gnome-2-28!

For the project-wizard stuff, could you file another bug if you prefer the other solution. It's not very difficult to fix either as we use template files but I am not completely sure yet if we would want to do it.
Comment 3 vamp898 2010-01-13 11:12:20 UTC
Fixed in Master?

What is master? Im using Anjuta 2.28.1 in GNOME 2.28.2
Comment 4 Johannes Schmid 2010-01-13 11:21:45 UTC
master = upcoming release, available from git (git.gnome.org/cgit/anjuta)
stable = current stable release, this is 2.28.1 currently. Once we will make a new stable release, e.g. 2.28.2 it will contain the fix as I pushed it into the gnome-2-28 git branch.
Comment 5 vamp898 2010-01-13 11:31:04 UTC
thx for the fast answer =)