[gtkmm] Gtkmm-forge digest, Vol 1 #159 - 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.


Today's Topics:

   1. [Bug 88165] New - Simple patch (bugzilla-daemon widget gnome org)
   2. [Bug 88165] Changed - Simple patch (bugzilla-daemon widget gnome org)
   3. [Bug 88166] New - FontSelection in Calendar example not working (bugzilla-daemon widget gnome org)
   4. [Bug 88166] Changed - FontSelection in Calendar example not working (bugzilla-daemon widget gnome org)
   5. [Bug 87944] Changed - Review Menu API (bugzilla-daemon widget gnome org)
   6. [Bug 88150] Changed - no matching function for call to `MyMenu::popup (guint &, guint32 &) (bugzilla-daemon widget gnome org)
   7. [Bug 88165] Changed - Simple patch (bugzilla-daemon widget gnome org)
   8. [Bug 88166] Changed - FontSelection in Calendar example not working (bugzilla-daemon widget gnome org)
   9. [Bug 88165] Changed - Simple patch (bugzilla-daemon widget gnome org)
  10. [Bug 88150] Changed - no matching function for call to `MyMenu::popup (guint &, guint32 &) (bugzilla-daemon widget gnome org)
  11. [Bug 88150] Changed - no matching function for call to `MyMenu::popup (guint &, guint32 &) (bugzilla-daemon widget gnome org)
  12. [Bug 87944] Changed - Review Menu API (bugzilla-daemon widget gnome org)

--__--__--

Message: 1
From: bugzilla-daemon widget gnome org
To: gtkmm-forge lists sourceforge net
Cc: madmaxer poczta fm
Date: Sun, 14 Jul 2002 17:31:48 -0400 (EDT)
Subject: [gtkmm bugzilla] [Bug 88165] New - Simple patch

Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

http://bugzilla.gnome.org/show_bug.cgi?id=88165

Changed by madmaxer poczta fm 

--- shadow/88165	Sun Jul 14 17:31:48 2002
+++ shadow/88165.tmp.11278	Sun Jul 14 17:31:48 2002
@@ -0,0 +1,23 @@
+Bug#: 88165
+Product: gtkmm
+Version: 2.0
+OS: Linux
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: normal
+Priority: Normal
+Component: general
+AssignedTo: gtkmm-forge lists sourceforge net                            
+ReportedBy: madmaxer poczta fm               
+TargetMilestone: ---
+URL: 
+Cc: madmaxer poczta fm
+Summary: Simple patch
+
+This patch adds an overloaded ctor to Gtk::Label. It allows creating labels
+with alignment different than default - it is very common and this ctor
+will be a great shortcut.
+And two example files are fixed too.
+Some time I've sent this patch directly to Daniel after a talk on IRC, but
+I see that Daniel has no time to apply it so I submit it here.



--__--__--

Message: 2
From: bugzilla-daemon widget gnome org
To: gtkmm-forge lists sourceforge net
Cc: madmaxer poczta fm
Date: Sun, 14 Jul 2002 17:32:32 -0400 (EDT)
Subject: [gtkmm bugzilla] [Bug 88165] Changed - Simple patch

Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

http://bugzilla.gnome.org/show_bug.cgi?id=88165

Changed by madmaxer poczta fm 

--- shadow/88165	Sun Jul 14 17:31:48 2002
+++ shadow/88165.tmp.11540	Sun Jul 14 17:32:32 2002
@@ -18,6 +18,11 @@
 This patch adds an overloaded ctor to Gtk::Label. It allows creating labels
 with alignment different than default - it is very common and this ctor
 will be a great shortcut.
 And two example files are fixed too.
 Some time I've sent this patch directly to Daniel after a talk on IRC, but
 I see that Daniel has no time to apply it so I submit it here.
+
+------- Additional Comments From madmaxer poczta fm  2002-07-14 17:32 -------
+Created an attachment (id=9857)
+Promised patch...
+



--__--__--

Message: 3
From: bugzilla-daemon widget gnome org
To: gtkmm-forge lists sourceforge net
Cc: 
Date: Sun, 14 Jul 2002 17:34:08 -0400 (EDT)
Subject: [gtkmm bugzilla] [Bug 88166] New - FontSelection in Calendar example not working

Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

http://bugzilla.gnome.org/show_bug.cgi?id=88166

Changed by morten wtf dk 

--- shadow/88166	Sun Jul 14 17:34:08 2002
+++ shadow/88166.tmp.12301	Sun Jul 14 17:34:08 2002
@@ -0,0 +1,18 @@
+Bug#: 88166
+Product: gtkmm
+Version: 2.0
+OS: Linux
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: minor
+Priority: Normal
+Component: general
+AssignedTo: gtkmm-forge lists sourceforge net                            
+ReportedBy: morten wtf dk               
+TargetMilestone: ---
+URL: 
+Summary: FontSelection in Calendar example not working
+
+The calendar example in gtkmm has a FontSelection box but it is
+non-functional, this patch fixes it.



--__--__--

Message: 4
From: bugzilla-daemon widget gnome org
To: gtkmm-forge lists sourceforge net
Cc: 
Date: Sun, 14 Jul 2002 17:36:35 -0400 (EDT)
Subject: [gtkmm bugzilla] [Bug 88166] Changed - FontSelection in Calendar example not working

Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

http://bugzilla.gnome.org/show_bug.cgi?id=88166

Changed by morten wtf dk 

--- shadow/88166	Sun Jul 14 17:34:08 2002
+++ shadow/88166.tmp.12792	Sun Jul 14 17:36:35 2002
@@ -13,6 +13,11 @@
 TargetMilestone: ---
 URL: 
 Summary: FontSelection in Calendar example not working
 
 The calendar example in gtkmm has a FontSelection box but it is
 non-functional, this patch fixes it.
+
+------- Additional Comments From morten wtf dk  2002-07-14 17:36 -------
+Created an attachment (id=9858)
+Patch to fix FontSelection in Calendar example
+



--__--__--

Message: 5
From: bugzilla-daemon widget gnome org
To: gtkmm-forge lists sourceforge net, murrayc usa net
Cc: 
Date: Sun, 14 Jul 2002 18:28:37 -0400 (EDT)
Subject: [gtkmm bugzilla] [Bug 87944] Changed - Review Menu API

Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

http://bugzilla.gnome.org/show_bug.cgi?id=87944

Changed by andreas holzmann epost de 

--- shadow/87944	Sat Jul 13 13:21:23 2002
+++ shadow/87944.tmp.20363	Sun Jul 14 18:28:37 2002
@@ -29,6 +29,59 @@
 
 ------- Additional Comments From murrayc usa net  2002-07-13 13:21 -------
 There are now clean examples in examples/book/menus/ that test this stuff.
 
 Can someone remind me why we can't just accelerate() the menu items as
 soon as they are created?
+
+------- Additional Comments From Andreas Holzmann epost de  2002-07-14 18:28 -------
+I'm working on it. I've done some cleanup in menu_elems.[cc|h]
+and I'm playing around with different menu accelerator initializations.
+The next 12 days I'm traveling and I don't have online access.
+But I have a laptop and I hope I've the time to do more work
+on the menus.
+
+In the meanwhile some more thoughts.
+
+Menu accelerators
+The main problem of menu accelerators is that it needs an AccelGroup
+that has been initialized with a window. Currently the Window class
+has an AccelGroup member that gets initialized on first access.
+The accelerate() method connects the menu items with the AccelGroup.
+The difficult part is that the objects can be initialized in different
+order:
+1) Generate MenuBar, attach menu items, attach menubar to window.
+2) Generate MenuBar, attach menubar to window, attach menu items.
+   (this does not work correctly with the current gtkmm version,
+    accelerators aren't initialized)
+
+There are several possibilities for creating accelerated menus.
+1) Keep it like it is now and fix the bug mentioned above.
+2) Initialize AccelKeys with AccelGroup manually. Each time an
+   AccelKey is created you would have to give an AccelGroup parameter.
+   Also for stock menu items because they take accel keys from the
+stock list.
+   e.g. menuitems.push_back(MenuElem("_Close", 
+                                     AccelKey(accel_group, "<control>q"), 
+                                     slot (&on_quit_function)));
+        menuitems.push_back(StockMenuElem(Gtk::Stock::Open, 
+                                          accel_group, 
+                                          slot (&on_open_function)));
+3) Initialize MenuBars and popup menus manually with an AccelGroup.
+   After building the menu you would have to call accelerate(accel_group).
+   e.g. menuitems.push_back(MenuElem("_Close", 
+                                     AccelKey("<control>q"), 
+                                     slot (&on_quit_function)));
+        menuitems.push_back(StockMenuElem(Gtk::Stock::Open, 
+                                          slot (&on_open_function)));
+	menubar.accelerate(accel_group);
+
+2+3 wouldn't require Gtk::Window to have an AccelGroup member. The user
+can take care of this himself.
+
+Changeable accelerators
+I can't think of an easy way of generating the unique id that are
+necessary for this automatically. Just "some" id would not be good,
+because the id should be the same if the source changes and a new
+menu item is added there. We cannot use the menu name, because 
+usually they used like this: _("Open") and therefore changes if the user
+changes the language.



--__--__--

Message: 6
From: bugzilla-daemon widget gnome org
To: gtkmm-forge lists sourceforge net, gnome-bugs ionflux de
Cc: 
Date: Mon, 15 Jul 2002 03:40:31 -0400 (EDT)
Subject: [gtkmm bugzilla] [Bug 88150] Changed - no matching function for call to `MyMenu::popup (guint &, guint32 &)

Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

http://bugzilla.gnome.org/show_bug.cgi?id=88150

Changed by murrayc usa net 

--- shadow/88150	Sun Jul 14 14:08:11 2002
+++ shadow/88150.tmp.12235	Mon Jul 15 03:40:31 2002
@@ -1,13 +1,13 @@
 Bug#: 88150
 Product: gtkmm
 Version: 2.0
 OS: Linux
 OS Details: Linux 2.4.18 (Slackware 8.0), gcc 2.95.3, GNOME 2
-Status: NEW   
-Resolution: 
+Status: RESOLVED   
+Resolution: NOTABUG
 Severity: critical
 Priority: Normal
 Component: build
 AssignedTo: gtkmm-forge lists sourceforge net                            
 ReportedBy: gnome-bugs ionflux de               
 TargetMilestone: ---
@@ -25,6 +25,10 @@
 ../../gtk/gtkmm/menu.h:132:                 void Gtk::Menu::popup(const 
 SigC::Slot3<void,int &,int &,bool &> &, unsigned int, unsigned int)
 ../../gtk/gtkmm/menu.h:141:                 void 
 Gtk::Menu::popup(Gtk::Window &, unsigned int, unsigned int)
 
 (same with menu2.cc)
+
+------- Additional Comments From murrayc usa net  2002-07-15 03:40 -------
+The arguments to popup() have changed. Please look at the reference
+documentation.



--__--__--

Message: 7
From: bugzilla-daemon widget gnome org
To: gtkmm-forge lists sourceforge net
Cc: madmaxer poczta fm
Date: Mon, 15 Jul 2002 03:45:44 -0400 (EDT)
Subject: [gtkmm bugzilla] [Bug 88165] Changed - Simple patch

Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

http://bugzilla.gnome.org/show_bug.cgi?id=88165

Changed by murrayc usa net 

--- shadow/88165	Sun Jul 14 17:32:32 2002
+++ shadow/88165.tmp.13047	Mon Jul 15 03:45:44 2002
@@ -23,6 +23,14 @@
 I see that Daniel has no time to apply it so I submit it here.
 
 ------- Additional Comments From madmaxer poczta fm  2002-07-14 17:32 -------
 Created an attachment (id=9857)
 Promised patch...
 
+
+------- Additional Comments From murrayc usa net  2002-07-15 03:45 -------
+I don't see any real advantage to that constructor, but I've applied
+it anyway. Thanks.
+
+The next time somebody supplies a patch with 2 unrelated changes, I
+will refuse it.
+



--__--__--

Message: 8
From: bugzilla-daemon widget gnome org
To: gtkmm-forge lists sourceforge net, morten wtf dk
Cc: 
Date: Mon, 15 Jul 2002 03:45:51 -0400 (EDT)
Subject: [gtkmm bugzilla] [Bug 88166] Changed - FontSelection in Calendar example not working

Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

http://bugzilla.gnome.org/show_bug.cgi?id=88166

Changed by murrayc usa net 

--- shadow/88166	Sun Jul 14 17:36:35 2002
+++ shadow/88166.tmp.13058	Mon Jul 15 03:45:51 2002
@@ -1,13 +1,13 @@
 Bug#: 88166
 Product: gtkmm
 Version: 2.0
 OS: Linux
 OS Details: 
-Status: NEW   
-Resolution: 
+Status: RESOLVED   
+Resolution: FIXED
 Severity: minor
 Priority: Normal
 Component: general
 AssignedTo: gtkmm-forge lists sourceforge net                            
 ReportedBy: morten wtf dk               
 TargetMilestone: ---



--__--__--

Message: 9
From: bugzilla-daemon widget gnome org
To: gtkmm-forge lists sourceforge net
Cc: madmaxer poczta fm
Date: Mon, 15 Jul 2002 03:46:13 -0400 (EDT)
Subject: [gtkmm bugzilla] [Bug 88165] Changed - Simple patch

Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

http://bugzilla.gnome.org/show_bug.cgi?id=88165

Changed by murrayc usa net 

--- shadow/88165	Mon Jul 15 03:45:44 2002
+++ shadow/88165.tmp.13170	Mon Jul 15 03:46:13 2002
@@ -1,13 +1,13 @@
 Bug#: 88165
 Product: gtkmm
 Version: 2.0
 OS: Linux
 OS Details: 
-Status: NEW   
-Resolution: 
+Status: RESOLVED   
+Resolution: FIXED
 Severity: normal
 Priority: Normal
 Component: general
 AssignedTo: gtkmm-forge lists sourceforge net                            
 ReportedBy: madmaxer poczta fm               
 TargetMilestone: ---



--__--__--

Message: 10
From: bugzilla-daemon widget gnome org
To: gtkmm-forge lists sourceforge net
Cc: 
Date: Mon, 15 Jul 2002 09:50:44 -0400 (EDT)
Subject: [gtkmm bugzilla] [Bug 88150] Changed - no matching function for call to `MyMenu::popup (guint &, guint32 &)

Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

http://bugzilla.gnome.org/show_bug.cgi?id=88150

Changed by gnome-bugs ionflux de 

--- shadow/88150	Mon Jul 15 03:40:31 2002
+++ shadow/88150.tmp.12739	Mon Jul 15 09:50:44 2002
@@ -1,13 +1,13 @@
 Bug#: 88150
 Product: gtkmm
 Version: 2.0
 OS: Linux
 OS Details: Linux 2.4.18 (Slackware 8.0), gcc 2.95.3, GNOME 2
-Status: RESOLVED   
-Resolution: NOTABUG
+Status: REOPENED   
+Resolution: 
 Severity: critical
 Priority: Normal
 Component: build
 AssignedTo: gtkmm-forge lists sourceforge net                            
 ReportedBy: gnome-bugs ionflux de               
 TargetMilestone: ---
@@ -29,6 +29,14 @@
 
 (same with menu2.cc)
 
 ------- Additional Comments From murrayc usa net  2002-07-15 03:40 -------
 The arguments to popup() have changed. Please look at the reference
 documentation.
+
+------- Additional Comments From gnome-bugs ionflux de  2002-07-15 09:50 -------
+If the arguments have changed, then why is this example still included 
+unchanged with the distribution? Wrong arguments make an example 
+rather useless for someone who wishes to understand an API. (Maybe 
+they make the example quite useful for someone who looks up the 
+correct arguments in the reference documentation, but that's not the 
+point of an example, IMHO.)



--__--__--

Message: 11
From: bugzilla-daemon widget gnome org
To: gtkmm-forge lists sourceforge net, gnome-bugs ionflux de
Cc: 
Date: Mon, 15 Jul 2002 12:07:09 -0400 (EDT)
Subject: [gtkmm bugzilla] [Bug 88150] Changed - no matching function for call to `MyMenu::popup (guint &, guint32 &)

Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

http://bugzilla.gnome.org/show_bug.cgi?id=88150

Changed by murrayc usa net 

--- shadow/88150	Mon Jul 15 09:50:44 2002
+++ shadow/88150.tmp.2630	Mon Jul 15 12:07:09 2002
@@ -2,13 +2,13 @@
 Product: gtkmm
 Version: 2.0
 OS: Linux
 OS Details: Linux 2.4.18 (Slackware 8.0), gcc 2.95.3, GNOME 2
 Status: REOPENED   
 Resolution: 
-Severity: critical
+Severity: minor
 Priority: Normal
 Component: build
 AssignedTo: gtkmm-forge lists sourceforge net                            
 ReportedBy: gnome-bugs ionflux de               
 TargetMilestone: ---
 URL: 
@@ -37,6 +37,9 @@
 If the arguments have changed, then why is this example still included 
 unchanged with the distribution? Wrong arguments make an example 
 rather useless for someone who wishes to understand an API. (Maybe 
 they make the example quite useful for someone who looks up the 
 correct arguments in the reference documentation, but that's not the 
 point of an example, IMHO.)
+
+------- Additional Comments From murrayc usa net  2002-07-15 12:07 -------
+Sorry, I thought that you were talking about your own code.



--__--__--

Message: 12
From: bugzilla-daemon widget gnome org
To: gtkmm-forge lists sourceforge net
Cc: Andreas Holzmann epost de
Date: Mon, 15 Jul 2002 12:09:59 -0400 (EDT)
Subject: [gtkmm bugzilla] [Bug 87944] Changed - Review Menu API

Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

http://bugzilla.gnome.org/show_bug.cgi?id=87944

Changed by murrayc usa net 

--- shadow/87944	Sun Jul 14 18:28:37 2002
+++ shadow/87944.tmp.2942	Mon Jul 15 12:09:59 2002
@@ -82,6 +82,11 @@
 I can't think of an easy way of generating the unique id that are
 necessary for this automatically. Just "some" id would not be good,
 because the id should be the same if the source changes and a new
 menu item is added there. We cannot use the menu name, because 
 usually they used like this: _("Open") and therefore changes if the user
 changes the language.
+
+------- Additional Comments From murrayc usa net  2002-07-15 12:09 -------
+I don't think that coders should have to specify an AccelGroup. Maybe
+they should have to specify a Gtk::Window, or we can find the
+Gtk::Window by recursively calling get_parent().




--__--__--

_______________________________________________
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]