Gtkmm-forge Digest, Vol 23, Issue 3



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-owner 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 526742] New: Gtk::Widget::get_direction	should be const
      (gtkmm (bugzilla.gnome.org))
   2. [Bug 526742] Gtk::Widget::get_direction should be	const
      (gtkmm (bugzilla.gnome.org))
   3. [Bug 526831] New: G_OPTION_REMAINING no longer	works with
      OptionEntry (glibmm (bugzilla.gnome.org))
   4. [Bug 522928] Update to latest goocanvas API
      (gnomemm (bugzilla.gnome.org))
   5. [Bug 371487]	Gnome::Vfs::DirectoryHandle::list_load has wrong
      signature (gnomemm (bugzilla.gnome.org))
   6. [Bug 522928] Update to latest goocanvas API
      (gnomemm (bugzilla.gnome.org))
   7. [Bug 527587] New: Glib::RefPtr<Gtk::RecentInfo>	cannot be
      used in TreeStore (gtkmm (bugzilla.gnome.org))


----------------------------------------------------------------------

Message: 1
Date: Mon,  7 Apr 2008 15:52:37 +0000 (UTC)
From: "gtkmm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 526742] New: Gtk::Widget::get_direction
	should be const
To: gtkmm-forge lists sourceforge net
Message-ID: <bug-526742-5595 http bugzilla gnome org/>
Content-Type: text/plain; charset=utf-8

If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=526742

  gtkmm | general | Ver: 2.4
           Summary: Gtk::Widget::get_direction should be const
           Product: gtkmm
           Version: 2.4
          Platform: Other
        OS/Version: All
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: Normal
         Component: general
        AssignedTo: gtkmm-forge lists sourceforge net
        ReportedBy: andreas klaedtke gmx net
         QAContact: gtkmm-forge lists sourceforge net
     GNOME version: Unversioned Enhancement
   GNOME milestone: Unspecified


Add a get_direction () const function to Gtk::Widget.


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=526742.



------------------------------

Message: 2
Date: Mon,  7 Apr 2008 15:54:14 +0000 (UTC)
From: "gtkmm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 526742] Gtk::Widget::get_direction
	should be	const
To: gtkmm-forge lists sourceforge net
Message-ID: <20080407155414 5C3BC23F545 label gnome org>
Content-Type: text/plain; charset=utf-8

If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=526742

  gtkmm | general | Ver: 2.4




------- Comment #1 from Andreas Klaedtke  2008-04-07 15:54 UTC -------
Created an attachment (id=108788)
 --> (http://bugzilla.gnome.org/attachment.cgi?id=108788&action=view)
A proposed patch for gtkmm

Added the const version of get_direction to Gtk::Widget and updated the
ChangeLog


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=526742.



------------------------------

Message: 3
Date: Mon,  7 Apr 2008 22:15:20 +0000 (UTC)
From: "glibmm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 526831] New: G_OPTION_REMAINING no
	longer	works with OptionEntry
To: gtkmm-forge lists sourceforge net
Message-ID: <bug-526831-5595 http bugzilla gnome org/>
Content-Type: text/plain; charset=utf-8

If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=526831

  glibmm | general | Ver: 2.16.x
           Summary: G_OPTION_REMAINING no longer works with OptionEntry
           Product: glibmm
           Version: 2.16.x
          Platform: Other
        OS/Version: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: general
        AssignedTo: gtkmm-forge lists sourceforge net
        ReportedBy: zeflunk gmail com
         QAContact: gtkmm-forge lists sourceforge net
     GNOME version: 2.21/2.22
   GNOME milestone: Unspecified


Please describe the problem:
Setting a OptionEntry's long name to G_OPTION_REMAINING no longer works in
glibmm 2.16.0. It used to work fine in older releases. I'm not sure if this is
the appropriate way to parse out the remaining command line arguments, if there
is another way it should be documented and/or put in the options example.

Steps to reproduce:
1. Build and run test case below
2.
/* g++ -o test-opts `pkg-config --libs --cflags gtkmm-2.4` main.cc */

#include <glibmm.h>
#include <iostream>

class Options : public Glib::OptionGroup
{
public:
        Options();

        int dummy;
        std::vector<Glib::ustring> args;
};

Options::Options()
: Glib::OptionGroup("Test", "Command line options"), dummy(0)
{
        Glib::OptionEntry e_dummy;
        e_dummy.set_long_name("dummy");
        e_dummy.set_short_name('d');
        add_entry(e_dummy, dummy);

        Glib::OptionEntry e_remaining;
        e_remaining.set_long_name(G_OPTION_REMAINING);
        add_entry(e_remaining, args);
}

int main(int argc, char *argv[])
{
        Options options;

        Glib::OptionContext context("[FILE...]");
        context.set_main_group(options);

        try
        {
                context.parse(argc, argv);
        }
        catch (const Glib::OptionError& e)
        {
                std::cerr << e.what() << std::endl;
                return 1;
        }

        std::cout << "dummy: " << options.dummy << std::endl;
        std::cout << "parsed remaining args: ";
        for (Glib::OptionGroup::vecustrings::const_iterator iter =
options.args.begin(); iter != options.args.end(); ++iter)
        {
                std::cout << *iter << ", ";
        }
        std::cout << std::endl;

        std::cout << "left in argv: ";
        for (int i = 1; i < argc; i++)
        {
                std::cout << argv[i] << ", ";
        }
        std::cout << std::endl;
}


Actual results:
./test-opts random -d 1 remaining args
dummy: 1
parsed remaining args: 
left in argv: random, remaining, args, 

Expected results:
./test-opts random -d 1 remaining args
dummy: 1
parsed remaining args: random, remaining, args, 
left in argv: 

Does this happen every time?
yes

Other information:
It seems to be specific to glibmm, I tried a similar test case in plain c/glib
and the remaining args were parsed properly.


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=526831.



------------------------------

Message: 4
Date: Fri, 11 Apr 2008 09:46:47 +0000 (UTC)
From: "gnomemm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 522928] Update to latest goocanvas API
To: gtkmm-forge lists sourceforge net
Message-ID: <20080411094647 776AE23F522 label gnome org>
Content-Type: text/plain; charset=utf-8

If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=522928

  gnomemm | goocanvasmm | Ver: unspecified




------- Comment #7 from Murray Cumming  2008-04-11 09:46 UTC -------
Armin, did you forget about this?


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=522928.



------------------------------

Message: 5
Date: Fri, 11 Apr 2008 09:48:06 +0000 (UTC)
From: "gnomemm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 371487]
	Gnome::Vfs::DirectoryHandle::list_load has wrong signature
To: gtkmm-forge lists sourceforge net
Message-ID: <20080411094806 D79F623F51A label gnome org>
Content-Type: text/plain; charset=utf-8

If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=371487

  gnomemm | gnome-vfsmm | Ver: 2.10

Murray Cumming changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |OBSOLETE




------- Comment #9 from Murray Cumming  2008-04-11 09:48 UTC -------
Yeah, moving to giomm is the best solution, and it's not that difficult.


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=371487.



------------------------------

Message: 6
Date: Fri, 11 Apr 2008 11:03:28 +0000 (UTC)
From: "gnomemm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 522928] Update to latest goocanvas API
To: gtkmm-forge lists sourceforge net
Message-ID: <20080411110328 7924023F510 label gnome org>
Content-Type: text/plain; charset=utf-8

If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=522928

  gnomemm | goocanvasmm | Ver: unspecified

Armin Burgmeier changed:

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




------- Comment #8 from Armin Burgmeier  2008-04-11 11:03 UTC -------
I had a look. The create_item() vfuncs return a new item and expect the caller
to take the initial reference, such as most *_new functions. So I think the
code is correct as it is.

I also added the new properties for the grid lines to Goocanvas::Table and
Goocanvas::TableModel, and added an example for TableModel that displays two
canvases showing the same model.


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=522928.



------------------------------

Message: 7
Date: Fri, 11 Apr 2008 17:37:26 +0000 (UTC)
From: "gtkmm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 527587] New:
	Glib::RefPtr<Gtk::RecentInfo>	cannot be used in TreeStore
To: gtkmm-forge lists sourceforge net
Message-ID: <bug-527587-5595 http bugzilla gnome org/>
Content-Type: text/plain; charset=utf-8

If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=527587

  gtkmm | TreeView | Ver: unspecified
           Summary: Glib::RefPtr<Gtk::RecentInfo> cannot be used in
                    TreeStore
           Product: gtkmm
           Version: unspecified
          Platform: Other
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: TreeView
        AssignedTo: gtkmm-forge lists sourceforge net
        ReportedBy: armin arbur net
         QAContact: gtkmm-forge lists sourceforge net
                CC: murrayc murrayc com
     GNOME version: Unspecified
   GNOME milestone: Unspecified


When attempting to add() a Gtk::TreeModelColumn<Glib::RefPtr<Gtk::RecentInfo> >
to a Gtk::TreeModel::ColumnRecord derived class, a compile error occurs. Adding
GtkRecentInfo* to a GtkListStore works perfectly in C, though.


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=527587.



------------------------------

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone

------------------------------

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


End of Gtkmm-forge Digest, Vol 23, Issue 3
******************************************


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