Package: glade-gnome
Version: 2.12.1-3
Severity: normal

glade is quite inreresting tool :-)

If I create a very simple application, main.c is set properly at the
first save action with proper create_* file name matching widjet name.

But when I try to save changed content after editting contents of
Properties -> Widget -> Name: for the top level widget, main.c does not
update the tail part of create_* in main.  This made source unbuildable
naturally.

For example s/qqqqq/aaaaa/ should at least do:

----Before---
int
main (int argc, char *argv[])
{
  GtkWidget *qqqqq;

#ifdef ENABLE_NLS
  bindtextdomain (GETTEXT_PACKAGE, PACKAGE_LOCALE_DIR);
  bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
  textdomain (GETTEXT_PACKAGE);
#endif

  gtk_set_locale ();
  gtk_init (&argc, &argv);

  add_pixmap_directory (PACKAGE_DATA_DIR "/" PACKAGE "/pixmaps");

  /*
   * The following code was added by Glade to create one of each component
   * (except popup menus), just so that you see something after building
   * the project. Delete any components that you don't want shown initially.
   */
  qqqqq = create_qqqqq ();
  gtk_widget_show (qqqqq);

  gtk_main ();
  return 0;
}


------After
int
main (int argc, char *argv[])
{
  GtkWidget *qqqqq;

#ifdef ENABLE_NLS
  bindtextdomain (GETTEXT_PACKAGE, PACKAGE_LOCALE_DIR);
  bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
  textdomain (GETTEXT_PACKAGE);
#endif

  gtk_set_locale ();
  gtk_init (&argc, &argv);

  add_pixmap_directory (PACKAGE_DATA_DIR "/" PACKAGE "/pixmaps");

  /*
   * The following code was added by Glade to create one of each component
   * (except popup menus), just so that you see something after building
   * the project. Delete any components that you don't want shown initially.
   */
  qqqqq = create_aaaaa ();
  gtk_widget_show (qqqqq);

  gtk_main ();
  return 0;
}
----------------

I understand variable qqqqq itself does not need to be updated (well, it
is nice to do so though), updating create_qqqqq to create_aaaaa is
required to match changes in other parts of source.


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-1-686
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages glade-gnome depends on:
ii  glade-common           2.12.1-3          Common files for GTK+ 2 User Inter
ii  gnome-common           2.12.0-1          common scripts and macros to devel
ii  libart-2.0-2           2.3.17-1          Library of functions for 2D graphi
ii  libatk1.0-0            1.10.3-1          The ATK accessibility toolkit
ii  libaudiofile0          0.2.6-6           Open-source version of SGI's audio
ii  libbonobo2-0           2.10.1-1          Bonobo CORBA interfaces library
ii  libbonoboui2-0         2.10.1-2          The Bonobo UI library
ii  libc6                  2.3.6-1           GNU C Library: Shared libraries an
ii  libcairo2              1.0.2-3           The Cairo 2D vector graphics libra
ii  libesd-alsa0 [libesd0] 0.2.36-3          Enlightened Sound Daemon (ALSA) - 
ii  libfontconfig1         2.3.2-1.1         generic font configuration library
ii  libfreetype6           2.1.10-1          FreeType 2 font engine, shared lib
ii  libgconf2-4            2.12.1-9          GNOME configuration database syste
ii  libgcrypt11            1.2.2-1           LGPL Crypto library - runtime libr
ii  libglib2.0-0           2.8.6-1           The GLib library of C routines
ii  libgnome-keyring0      0.4.6-2           GNOME keyring services library
ii  libgnome2-0            2.12.0.1-5        The GNOME 2 library - runtime file
ii  libgnomecanvas2-0      2.12.0-2          A powerful object-oriented display
ii  libgnomeui-0           2.12.1-1          The GNOME 2 libraries (User Interf
ii  libgnomevfs2-0         2.12.2-5          GNOME virtual file-system (runtime
ii  libgnutls11            1.0.16-14         GNU TLS library - runtime library
ii  libgpg-error0          1.1-4             library for common error values an
ii  libgtk2.0-0            2.8.12-1          The GTK+ graphical user interface 
ii  libice6                6.9.0.dfsg.1-4    Inter-Client Exchange library
ii  libjpeg62              6b-11             The Independent JPEG Group's JPEG 
ii  liborbit2              1:2.12.4-1        libraries for ORBit2 - a CORBA ORB
ii  libpango1.0-0          1.10.3-1          Layout and rendering of internatio
ii  libpng12-0             1.2.8rel-5        PNG library - runtime
ii  libpopt0               1.7-5             lib for parsing cmdline parameters
ii  libsm6                 6.9.0.dfsg.1-4    X Window System Session Management
ii  libtasn1-2             0.2.17-1          Manage ASN.1 structures (runtime)
ii  libx11-6               6.9.0.dfsg.1-4    X Window System protocol client li
ii  libxcursor1            1.1.3-1           X cursor management library
ii  libxext6               6.9.0.dfsg.1-4    X Window System miscellaneous exte
ii  libxi6                 6.9.0.dfsg.1-4    X Window System Input extension li
ii  libxinerama1           6.9.0.dfsg.1-4    X Window System multi-head display
ii  libxml2                2.6.23.dfsg.1-0.1 GNOME XML library
ii  libxrandr2             6.9.0.dfsg.1-4    X Window System Resize, Rotate and
ii  libxrender1            1:0.9.0.2-1       X Rendering Extension client libra
ii  zlib1g                 1:1.2.3-9         compression library - runtime

Versions of packages glade-gnome recommends:
ii  autoconf                      2.59a-7    automatic configure script builder
ii  automake1.4                   1:1.4-p6-9 A tool for generating GNU Standard
ii  gettext                       0.14.5-2   GNU Internationalization utilities
ii  libgail-gnome-module          1.1.3-1    GNOME Accessibility Implementation
ii  libgail17                     1.8.8-1    GNOME Accessibility Implementation
ii  libgnomeui-dev                2.12.1-1   The GNOME 2 libraries (User Interf

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to