Gtkmm-forge Digest, Vol 15, Issue 4



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 143007] popup menu: keyboard accelerator does	not work
      while menu is visible (gtk+ (bugzilla.gnome.org))
   2. [Bug 460969] Ignore virtual destructor warning in
      setinterface.h (gnomemm (bugzilla.gnome.org))
   3. [Bug 460969] Ignore virtual destructor warning in
      setinterface.h (gnomemm (bugzilla.gnome.org))
   4. [Bug 460969] Ignore virtual destructor warning in
      setinterface.h (gnomemm (bugzilla.gnome.org))
   5. [Bug 460969] Ignore virtual destructor warning in
      setinterface.h (gnomemm (bugzilla.gnome.org))
   6. [Bug 471143] New: HTML in Example Code
      (gtkmm (bugzilla.gnome.org))
   7. [Bug 471397] New: Gdk::Cairo::set_source_color()	should take
      a const reference to RefPtr (gtkmm (bugzilla.gnome.org))
   8. [Bug 471397] Gdk::Cairo::set_source_color() should	take a
      const reference to RefPtr (gtkmm (bugzilla.gnome.org))


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

Message: 1
Date: Sun, 19 Aug 2007 20:59:38 +0000 (UTC)
From: "gtk+ (bugzilla.gnome.org)" <bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 143007] popup menu: keyboard
	accelerator does	not work while menu is visible
To: gtkmm-forge lists sourceforge net
Message-ID: <20070819205938 AE8D06C41BC box 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=143007

  gtk+ | uimanager/actions | Ver: 2.6.x

Stefan Kost (gstreamer, gtkdoc dev) changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ensonic sonicpulse de




------- Comment #6 from Stefan Kost (gstreamer, gtkdoc dev)  2007-08-19 20:59 UTC -------
I run into probably the same problem just now. I see the assigned key in the
popup menu, but pressing it has no effect :/

self->priv->accel_group=gtk_accel_group_new();

self->priv->context_menu=gtk_menu_new();
gtk_menu_set_accel_group(GTK_MENU(self->priv->context_menu),
self->priv->accel_group);
 
gtk_menu_set_accel_path(GTK_MENU(self->priv->context_menu),"<Buzztard-Main>/PatternView/PatternContext");

menu_item=gtk_image_menu_item_new_with_label(_("New pattern  ..."));
image=gtk_image_new_from_stock(GTK_STOCK_NEW,GTK_ICON_SIZE_MENU);
gtk_image_menu_item_set_image(GTK_IMAGE_MENU_ITEM(menu_item),image);
gtk_menu_item_set_accel_path (GTK_MENU_ITEM (menu_item),
"<Buzztard-Main>/PatternView/PatternContext/NewPattern");
gtk_accel_map_add_entry
("<Buzztard-Main>/PatternView/PatternContext/NewPattern", GDK_Insert,
GDK_CONTROL_MASK|GDK_SHIFT_MASK);
gtk_menu_shell_append(GTK_MENU_SHELL(self->priv->context_menu),menu_item);
gtk_widget_show(menu_item);
g_signal_connect(G_OBJECT(menu_item),"activate",G_CALLBACK(on_context_menu_pattern_new_activate),(gpointer)self);

gtk_window_add_accel_group(GTK_WINDOW(main_window),self->priv->accel_group);


-- 
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=143007.



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

Message: 2
Date: Sun, 26 Aug 2007 15:57:01 +0000 (UTC)
From: "gnomemm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 460969] Ignore virtual destructor
	warning in	setinterface.h
To: gtkmm-forge lists sourceforge net
Message-ID: <20070826155701 619CC6C41D9 box 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=460969

  gnomemm | gconfmm | Ver: unspecified




------- Comment #8 from Murray Cumming  2007-08-26 15:57 UTC -------
I'm not sure that you understand. If we disabled a warning in a header then we
disable the warning for all application code that uses our header. I don't
think that application developers would like us to disable warnings about their
own classes.


-- 
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=460969.



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

Message: 3
Date: Sun, 26 Aug 2007 17:52:12 +0000 (UTC)
From: "gnomemm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 460969] Ignore virtual destructor
	warning in	setinterface.h
To: gtkmm-forge lists sourceforge net
Message-ID: <20070826175212 CAAC16C41F0 box 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=460969

  gnomemm | gconfmm | Ver: unspecified




------- Comment #9 from Martin Ejdestig  2007-08-26 17:52 UTC -------
No, I don't think you understand. :) (Or maybe we just don't understand each
other. ;)

The GCC system header pragma is ok to use in this case. (Maybe you already know
that and are talking about the diagnostic pragmas?)

(Which, btw, I couldn't get to work. So even if the documentation didn't say we
must put them before any other code and they only are file local (which I
doubt, but who knows... the preprocessor generates markers so there could be
some sort of warning stack), it doesn't really matter.)

I'll attach an example to demonstrate how the system header pragma works.


-- 
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=460969.



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

Message: 4
Date: Sun, 26 Aug 2007 17:54:40 +0000 (UTC)
From: "gnomemm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 460969] Ignore virtual destructor
	warning in	setinterface.h
To: gtkmm-forge lists sourceforge net
Message-ID: <20070826175440 134596C41EE box 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=460969

  gnomemm | gconfmm | Ver: unspecified




------- Comment #10 from Martin Ejdestig  2007-08-26 17:54 UTC -------
Created an attachment (id=94382)
 --> (http://bugzilla.gnome.org/attachment.cgi?id=94382&action=view)
Test

Extract, cd to dir and type "make".


-- 
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=460969.



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

Message: 5
Date: Sun, 26 Aug 2007 17:56:36 +0000 (UTC)
From: "gnomemm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 460969] Ignore virtual destructor
	warning in	setinterface.h
To: gtkmm-forge lists sourceforge net
Message-ID: <20070826175636 5329A6C41EC box 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=460969

  gnomemm | gconfmm | Ver: unspecified




------- Comment #11 from Martin Ejdestig  2007-08-26 17:56 UTC -------
Oh, I forgot. Pretend broken.h is setinterface.h, ok? :)


-- 
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=460969.



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

Message: 6
Date: Tue, 28 Aug 2007 14:33:01 +0000 (UTC)
From: "gtkmm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 471143] New: HTML in Example Code
To: gtkmm-forge lists sourceforge net
Message-ID: <bug-471143-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=471143

  gtkmm | documentation | Ver: 2.4
           Summary: HTML in Example Code
           Product: gtkmm
           Version: 2.4
          Platform: Other
        OS/Version: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: documentation
        AssignedTo: gtkmm-forge lists sourceforge net
        ReportedBy: a medico gmail com
     GNOME version: Unspecified
   GNOME milestone: Unspecified


The excerpt below is from
http://www.gtkmm.org/docs/gtkmm-2.4/docs/reference/html/classGtk_1_1Dialog.html
Something is going wrong with the page generation, as it appears to be mixing
HTML with the code.

 <tt>int</tt> result = dialog.run();
 switch (result)
 {
 case GTK_RESPONSE_ACCEPT:
 do_application_specific_something (&lt;!-- --&gt;);
 break;
 default:
 do_nothing_since_dialog_was_cancelled (&lt;!-- --&gt;);
 break;
 }


-- 
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=471143.



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

Message: 7
Date: Wed, 29 Aug 2007 02:18:34 +0000 (UTC)
From: "gtkmm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 471397] New:
	Gdk::Cairo::set_source_color()	should take a const reference to RefPtr
To: gtkmm-forge lists sourceforge net
Message-ID: <bug-471397-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=471397

  gtkmm | general | Ver: unspecified
           Summary: Gdk::Cairo::set_source_color() should take a const
                    reference to RefPtr
           Product: gtkmm
           Version: unspecified
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: general
        AssignedTo: gtkmm-forge lists sourceforge net
        ReportedBy: jonathon jongsma gmail com
         QAContact: gtkmm-forge lists sourceforge net
     GNOME version: Unspecified
   GNOME milestone: Unspecified


The signature for Gdk::Cairo::set_source_color() is as follows:
void set_source_color (Cairo::RefPtr<Cairo::Context>& context, const
Gdk::Color& color)

This makes it impossible to use this function from within a function such as
this:
void render_foo (const Cairo::RefPtr<Cairo::Context>& cr)
{
  Gdk::Cairo::set_source_color (cr, foo); // won't compile
}

this is rather annoying since it should work just fine.  It would be nice if
the set_source_color() function took a const reference to RefPtr, as in:

void set_source_color (const Cairo::RefPtr<::Cairo::Context>& context, const
Gdk::Color& color)


-- 
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=471397.



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

Message: 8
Date: Wed, 29 Aug 2007 14:51:10 +0000 (UTC)
From: "gtkmm (bugzilla.gnome.org)"
	<bugzilla-daemon bugzilla gnome org>
Subject: [gtkmm bugzilla] [Bug 471397] Gdk::Cairo::set_source_color()
	should	take a const reference to RefPtr
To: gtkmm-forge lists sourceforge net
Message-ID: <20070829145110 7ECAA6C414C box 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=471397

  gtkmm | general | Ver: unspecified

Murray Cumming changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |murrayc murrayc com




------- Comment #1 from Murray Cumming  2007-08-29 14:51 UTC -------
Oops. And I think some more functions have this problem in this general.[h|cc]
file. I guess we should add a const version of these methods and deprecate the
non-const ones.

Could you prepare a patch and then ask for a freeze-break approval from the
release-team?
http://live.gnome.org/ReleasePlanning/RequestingFreezeBreaks
I doubt that they will have any objection.


-- 
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=471397.



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

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/

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

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


End of Gtkmm-forge Digest, Vol 15, Issue 4
******************************************



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