Gtkmm-forge digest, Vol 1 #1046 - 12 msgs



Send Gtkmm-forge mailing list submissions to
	gtkmm-forge lists sourceforge net

To subscribe or unsubscribe via the World Wide Web, visit
	https://lists.sourceforge.net/lists/listinfo/gtkmm-forge
or, via email, send a message with subject or body 'help' to
	gtkmm-forge-request lists sourceforge net

You can reach the person managing the list at
	gtkmm-forge-admin lists sourceforge net

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Gtkmm-forge digest..."


gtkmm-forge is the mailing list that receives gtkmm bug reports from bugzilla.  A daily digest is sent to gtkmm-main, to encourage people to help fixing the bugs. Do not try to unsubscribe gtkmm-forge from gtkmm-list.


Today's Topics:

   1. [Bug 328831] New: add some functions helping to automate common tasks (gtkmm (bugzilla.gnome.org))
   2. [Bug 328831] add some functions helping to automate common tasks (gtkmm (bugzilla.gnome.org))
   3. [Bug 328310] Array bounds issue (gnomemm (bugzilla.gnome.org))
   4. [Bug 328831] Dialog helper functions (gtkmm (bugzilla.gnome.org))
   5. [Bug 327144] Update screenshots for new GNOME theme (gtkmm (bugzilla.gnome.org))
   6. [Bug 328831] Dialog helper functions (gtkmm (bugzilla.gnome.org))
   7. [Bug 328831] Dialog helper functions (gtkmm (bugzilla.gnome.org))
   8. [Bug 328831] Dialog helper functions (gtkmm (bugzilla.gnome.org))
   9. [Bug 328831] Dialog helper functions (gtkmm (bugzilla.gnome.org))
  10. [Bug 328831] Dialog helper functions (gtkmm (bugzilla.gnome.org))
  11. [Bug 328075] glibmm-2.8.1 can't build against glib-2.9.4 (glibmm (bugzilla.gnome.org))
  12. [Bug 328075] glibmm-2.8.1 can't build against glib-2.9.4 (glibmm (bugzilla.gnome.org))

--__--__--

Message: 1
To: gtkmm-forge lists sourceforge net
From: "gtkmm (bugzilla.gnome.org)" <bugzilla-daemon bugzilla gnome org>
Date: Fri, 27 Jan 2006 08:11:37 -0500 (EST)
Subject: [gtkmm bugzilla] [Bug 328831] New: add some functions helping to automate common tasks

Do not reply to this via email (we are currently unable to handle email
responses and they get discarded).  You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=3D328831
 gtkmm | general | Ver: 2.8.x

           Summary: add some functions helping to automate common tasks
           Product: gtkmm
           Version: 2.8.x
          Platform: Other
        OS/Version: All
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: Normal
         Component: general
        AssignedTo: gtkmm-forge lists sourceforge net
        ReportedBy: baltasarq yahoo es
         QAContact: gtkmm-forge lists sourceforge net
     GNOME version: Unversioned Enhancement
   GNOME milestone: Unspecified


add some functions helping to automate common tasks, such as:
showing an error message
showing an information message
ask for some textual information
ask for answering a simple question with yes or no
ask for a file name to open
ask for a file name to save
ask for a directory to open


--=20
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=3Demail
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


--__--__--

Message: 2
To: gtkmm-forge lists sourceforge net
From: "gtkmm (bugzilla.gnome.org)" <bugzilla-daemon bugzilla gnome org>
Date: Fri, 27 Jan 2006 08:14:09 -0500 (EST)
Subject: [gtkmm bugzilla] [Bug 328831] add some functions helping to automate common tasks

Do not reply to this via email (we are currently unable to handle email
responses and they get discarded).  You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=3D328831
 gtkmm | general | Ver: 2.8.x





------- Comment #1 from baltasarq yahoo es  2006-01-27 13:14 UTC -------
Created an attachment (id=3D58206)
 --> (http://bugzilla.gnome.org/attachment.cgi?id=3D58206&action=3Dview)
Compilable code that provides the suggested functionality


--=20
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=3Demail
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


--__--__--

Message: 3
To: gtkmm-forge lists sourceforge net
From: "gnomemm (bugzilla.gnome.org)" <bugzilla-daemon bugzilla gnome org>
Date: Fri, 27 Jan 2006 08:44:35 -0500 (EST)
Subject: [gtkmm bugzilla] [Bug 328310] Array bounds issue

Do not reply to this via email (we are currently unable to handle email
responses and they get discarded).  You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=3D328310
 gnomemm | libgnomemm | Ver: unspecified


Murray Cumming changed:

           What    |Removed                     |Added
-------------------------------------------------------------------------=
---
                 CC|                            |murrayc murrayc com
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED




------- Comment #1 from Murray Cumming  2006-01-27 13:44 UTC -------
Excellent. Thanks. Applied. I'll do a new tarball release now.


--=20
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=3Demail
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


--__--__--

Message: 4
To: gtkmm-forge lists sourceforge net
From: "gtkmm (bugzilla.gnome.org)" <bugzilla-daemon bugzilla gnome org>
Date: Fri, 27 Jan 2006 08:58:33 -0500 (EST)
Subject: [gtkmm bugzilla] [Bug 328831] Dialog helper functions

Do not reply to this via email (we are currently unable to handle email
responses and they get discarded).  You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=3D328831
 gtkmm | general | Ver: 2.8.x


Murray Cumming changed:

           What    |Removed                     |Added
-------------------------------------------------------------------------=
---
                 CC|                            |murrayc murrayc com
      GNOME version|Unversioned Enhancement     |2.13/2.14
            Summary|add some functions helping  |Dialog helper functions
                   |to automate common tasks    |




------- Comment #2 from Murray Cumming  2006-01-27 13:58 UTC -------
So, this contains the following functions:

> /// Updates the gui, i.e., any unattended GUI message is executed
> void update_gui();

This is a possibility. If so, we should add it to GTK+.

> void show_error_message(Gtk::Window &w, const string &msg);
> void show_info_message(Gtk::Window &w, const string &msg);

These should have secondary text.=20

> void show_error_message(const string &msg);

And this should have the Gtk::Window &w parameter.

I'd prefer to have an optional argument to specify the message type. For
instance:

static MessageDialog::run_ok_dialog(const Glib::ustring& title, const
Glib::ustring& message, Gtk::Window& parent, Gtk::MessageType message_typ=
e =3D
Gtk::MESSAGE_INFO);

> bool ask_YesNo(const string &, const string &, const string &);

Yes/No dialogs are bad, and should not be encouraged:
http://developer.gnome.org/projects/gup/hig/2.0/windows-alert.html#alert-=
button-order

> string ask_filename_open(const string &title, const string & dirInit);
> string ask_filename_save(const string &title, const string & dirInit);
> string ask_directory_open(const string &title, const string & dirInit);

These seem like candidates too.

All these functions should use Glib::ustring for displayed text, and
std::string for filenames.


--=20
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=3Demail
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


--__--__--

Message: 5
To: gtkmm-forge lists sourceforge net
From: "gtkmm (bugzilla.gnome.org)" <bugzilla-daemon bugzilla gnome org>
Date: Fri, 27 Jan 2006 09:00:55 -0500 (EST)
Subject: [gtkmm bugzilla] [Bug 327144] Update screenshots for new GNOME theme

Do not reply to this via email (we are currently unable to handle email
responses and they get discarded).  You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=3D327144
 gtkmm | reference documentation | Ver: unspecified


Murray Cumming changed:

           What    |Removed                     |Added
-------------------------------------------------------------------------=
---
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED




--=20
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=3Demail
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


--__--__--

Message: 6
To: gtkmm-forge lists sourceforge net
From: "gtkmm (bugzilla.gnome.org)" <bugzilla-daemon bugzilla gnome org>
Date: Fri, 27 Jan 2006 09:09:05 -0500 (EST)
Subject: [gtkmm bugzilla] [Bug 328831] Dialog helper functions

Do not reply to this via email (we are currently unable to handle email
responses and they get discarded).  You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=3D328831
 gtkmm | general | Ver: 2.8.x





------- Comment #3 from Murray Cumming  2006-01-27 14:09 UTC -------
Also, the implementation of these functions is appalling. They should use
Gtk::MessageDialog.


--=20
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=3Demail
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


--__--__--

Message: 7
To: gtkmm-forge lists sourceforge net
From: "gtkmm (bugzilla.gnome.org)" <bugzilla-daemon bugzilla gnome org>
Date: Fri, 27 Jan 2006 09:38:33 -0500 (EST)
Subject: [gtkmm bugzilla] [Bug 328831] Dialog helper functions

Do not reply to this via email (we are currently unable to handle email
responses and they get discarded).  You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=3D328831
 gtkmm | general | Ver: 2.8.x





------- Comment #4 from baltasarq yahoo es  2006-01-27 14:38 UTC -------
> > void show_error_message(Gtk::Window &w, const string &msg);
> > void show_info_message(Gtk::Window &w, const string &msg);
>=20
> These should have secondary text.

Does this mean that I should add the secondary text to them ?

> > void show_error_message(const string &msg);
> And this should have the Gtk::Window &w parameter.

Actually, show_error_message() and show_info_message() have overloaded ve=
rsions
that do not require the Window parameter. I do agree that creating the di=
alog
without a parent shouldn't be supported, but sometimes can be of some use=
. I'm
thinking that both versions can be melted in only one. If window is NULL,=
 then
the dialog can be displayed without parent.

> I'd prefer to have an optional argument to specify the message type. Fo=
r
> instance:
>=20
> static MessageDialog::run_ok_dialog(const Glib::ustring& title, const
> Glib::ustring& message, Gtk::Window& parent, Gtk::MessageType message_t=
ype =3D
> Gtk::MESSAGE_INFO);

That's possible.

> > bool ask_YesNo(const string &, const string &, const string &);
>=20
> Yes/No dialogs are bad, and should not be encouraged:

You can discard it.

> > string ask_filename_open(const string &title, const string & dirInit)=
;
> > string ask_filename_save(const string &title, const string & dirInit)=
;
> > string ask_directory_open(const string &title, const string & dirInit=
);
>=20
> These seem like candidates too.
>=20
> All these functions should use Glib::ustring for displayed text, and
> std::string for filenames.

Absolutely.
Anyway, tell me what to do: do you want me to modify these functions or s=
hould
I just wait ?




--=20
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=3Demail
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


--__--__--

Message: 8
To: gtkmm-forge lists sourceforge net
From: "gtkmm (bugzilla.gnome.org)" <bugzilla-daemon bugzilla gnome org>
Date: Fri, 27 Jan 2006 09:41:52 -0500 (EST)
Subject: [gtkmm bugzilla] [Bug 328831] Dialog helper functions

Do not reply to this via email (we are currently unable to handle email
responses and they get discarded).  You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=3D328831
 gtkmm | general | Ver: 2.8.x





------- Comment #5 from baltasarq yahoo es  2006-01-27 14:41 UTC -------
(In reply to comment #3)
> Also, the implementation of these functions is appalling. They should u=
se
> Gtk::MessageDialog.

I suppose you refer to ask_YesNo() and ask_info(). They were created usin=
g
glade, and I simply don't know whether they can be written using MessageD=
ialog
and how ... as I warned you, I am a newbie in gtkmm, as I warned you.

The remaining functions shouls be okay, they use gtkmm "appropriately".

Anyway, again, tell me what to do: do you expect me to write the changes =
and
send them back here or what ?


--=20
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=3Demail
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


--__--__--

Message: 9
To: gtkmm-forge lists sourceforge net
From: "gtkmm (bugzilla.gnome.org)" <bugzilla-daemon bugzilla gnome org>
Date: Fri, 27 Jan 2006 09:59:50 -0500 (EST)
Subject: [gtkmm bugzilla] [Bug 328831] Dialog helper functions

Do not reply to this via email (we are currently unable to handle email
responses and they get discarded).  You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=3D328831
 gtkmm | general | Ver: 2.8.x


baltasarq yahoo es changed:

           What    |Removed                     |Added
-------------------------------------------------------------------------=
---
  Attachment #58206|0                           |1
        is obsolete|                            |




------- Comment #6 from baltasarq yahoo es  2006-01-27 14:59 UTC -------
Created an attachment (id=3D58210)
 --> (http://bugzilla.gnome.org/attachment.cgi?id=3D58210&action=3Dview)
Modification of the pevious code to address most of the comments from Mur=
ray

Modification of the pevious code to address most of the comments from Mur=
ray

- mixes the message functions in only one
- removed the ask_YesNo() function
- Glib::ustring used where necessary


--=20
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=3Demail
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


--__--__--

Message: 10
To: gtkmm-forge lists sourceforge net
From: "gtkmm (bugzilla.gnome.org)" <bugzilla-daemon bugzilla gnome org>
Date: Fri, 27 Jan 2006 10:34:54 -0500 (EST)
Subject: [gtkmm bugzilla] [Bug 328831] Dialog helper functions

Do not reply to this via email (we are currently unable to handle email
responses and they get discarded).  You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=3D328831
 gtkmm | general | Ver: 2.8.x





------- Comment #7 from Murray Cumming  2006-01-27 15:34 UTC -------
I believe that the GTK+ developers think that we shouldn't encourage the =
use of
gtk_dialog_run(), but I need to clarify that. I use it all the time mysel=
f.


--=20
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=3Demail
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


--__--__--

Message: 11
To: gtkmm-forge lists sourceforge net
From: "glibmm (bugzilla.gnome.org)" <bugzilla-daemon bugzilla gnome org>
Date: Fri, 27 Jan 2006 14:15:33 -0500 (EST)
Subject: [gtkmm bugzilla] [Bug 328075] glibmm-2.8.1 can't build against glib-2.9.4

Do not reply to this via email (we are currently unable to handle email
responses and they get discarded).  You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=3D328075
 glibmm | build | Ver: 2.8.x





------- Comment #3 from Murray Cumming  2006-01-27 19:15 UTC -------
Do you have the same problem with glibmm 2.8.3?


--=20
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=3Demail
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


--__--__--

Message: 12
To: gtkmm-forge lists sourceforge net
From: "glibmm (bugzilla.gnome.org)" <bugzilla-daemon bugzilla gnome org>
Date: Fri, 27 Jan 2006 19:34:37 -0500 (EST)
Subject: [gtkmm bugzilla] [Bug 328075] glibmm-2.8.1 can't build against glib-2.9.4

Do not reply to this via email (we are currently unable to handle email
responses and they get discarded).  You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=3D328075
 glibmm | build | Ver: 2.8.x





------- Comment #4 from Jose M. daLuz  2006-01-28 00:34 UTC -------
Ah, no. 2.8.1 was the latest version in portage, and when I went looking =
for a
newer version I was so intent on a 2.9.x version that I didn't notice 2.8=
.3 was
there. Sorry to waste your time.


--=20
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=3Demail
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.



--__--__--

_______________________________________________
Gtkmm-forge mailing list
Gtkmm-forge lists sourceforge net
https://lists.sourceforge.net/lists/listinfo/gtkmm-forge


End of Gtkmm-forge Digest



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]