FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

[patch]fixes for PopupMenu test

 
Post new topic   Reply to topic     Forum Index -> gtkD
View previous topic :: View next topic  
Author Message
heromyth



Joined: 26 Nov 2006
Posts: 46

PostPosted: Mon Dec 07, 2009 3:51 am    Post subject: [patch]fixes for PopupMenu test Reply with quote

A widget may have something another to do with mouse click. This fixes do a better demo.

Code:
--- gtk/PopupMenu.d   (version 728)
+++ gtk/PopupMenu.d   (working copy)
 import gtk.Main;
 import gtk.EventBox;
@@ -39,9 +39,10 @@
       {
          menu.showAll();
          menu.popup(event.button, event.time);
+         return true;
       }
 
-      return true;
+      return false;
    }
 }
Back to top
View user's profile Send private message
Mike Wey



Joined: 07 May 2007
Posts: 428

PostPosted: Mon Dec 07, 2009 12:34 pm    Post subject: Reply with quote

Added in svn r732.

Didn't you have svn access?
Back to top
View user's profile Send private message
heromyth



Joined: 26 Nov 2006
Posts: 46

PostPosted: Tue Dec 08, 2009 10:06 am    Post subject: Reply with quote

Mike Wey wrote:
Added in svn r732.

Didn't you have svn access?


I am using svn, but I don't think I have the written right.
Back to top
View user's profile Send private message
Mike Wey



Joined: 07 May 2007
Posts: 428

PostPosted: Tue Dec 08, 2009 3:01 pm    Post subject: Reply with quote

I must be thinking about someone else.
Back to top
View user's profile Send private message
heromyth



Joined: 26 Nov 2006
Posts: 46

PostPosted: Wed Dec 09, 2009 6:42 am    Post subject: Reply with quote

Mike Wey wrote:
I must be thinking about someone else.

Oh, I am using the GtkD because it's a good GUI lib. And also I want to make it better for using, not just another gtk+ libs. I am not sure that I'll have a full-time with maintaining GtkD. If you will, I want to have a try, and will try my best to make GtkD better.
Back to top
View user's profile Send private message
Mike Wey



Joined: 07 May 2007
Posts: 428

PostPosted: Wed Dec 09, 2009 4:17 pm    Post subject: Reply with quote

I currently don't have admin access, so i can't change the access rights for svn, but patches are always welcome. I just thought i remembered some commits with your name on it, but if you currently don't have access i must be mistaken.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> gtkD All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group