Made double click only work on the first button.
2000-06-02 Christopher James Lahey <clahey@helixcode.com> * gui/minicard/e-minicard-view.c, gui/minicard/e-minicard.c: Made double click only work on the first button. svn path=/trunk/; revision=3378
This commit is contained in:
committed by
Chris Lahey
parent
b4b0fc5e23
commit
bed1517430
@ -1,3 +1,8 @@
|
||||
2000-06-02 Christopher James Lahey <clahey@helixcode.com>
|
||||
|
||||
* gui/minicard/e-minicard-view.c, gui/minicard/e-minicard.c: Made
|
||||
double click only work on the first button.
|
||||
|
||||
2000-06-01 Christopher James Lahey <clahey@helixcode.com>
|
||||
|
||||
* gui/minicard/e-minicard.c: return TRUE if opening a contact
|
||||
|
||||
@ -283,6 +283,7 @@ e_minicard_view_event (GnomeCanvasItem *item, GdkEvent *event)
|
||||
|
||||
switch( event->type ) {
|
||||
case GDK_2BUTTON_PRESS:
|
||||
if (((GdkEventButton *)event)->button == 1)
|
||||
{
|
||||
gint result;
|
||||
ECard *card;
|
||||
|
||||
@ -382,7 +382,7 @@ e_minicard_event (GnomeCanvasItem *item, GdkEvent *event)
|
||||
}
|
||||
break;
|
||||
case GDK_2BUTTON_PRESS:
|
||||
if (E_IS_MINICARD_VIEW(item->parent)) {
|
||||
if (event->button.button == 1 && E_IS_MINICARD_VIEW(item->parent)) {
|
||||
gint result;
|
||||
GtkWidget* contact_editor =
|
||||
e_contact_editor_new(e_minicard->card);
|
||||
|
||||
@ -283,6 +283,7 @@ e_minicard_view_event (GnomeCanvasItem *item, GdkEvent *event)
|
||||
|
||||
switch( event->type ) {
|
||||
case GDK_2BUTTON_PRESS:
|
||||
if (((GdkEventButton *)event)->button == 1)
|
||||
{
|
||||
gint result;
|
||||
ECard *card;
|
||||
|
||||
@ -382,7 +382,7 @@ e_minicard_event (GnomeCanvasItem *item, GdkEvent *event)
|
||||
}
|
||||
break;
|
||||
case GDK_2BUTTON_PRESS:
|
||||
if (E_IS_MINICARD_VIEW(item->parent)) {
|
||||
if (event->button.button == 1 && E_IS_MINICARD_VIEW(item->parent)) {
|
||||
gint result;
|
||||
GtkWidget* contact_editor =
|
||||
e_contact_editor_new(e_minicard->card);
|
||||
|
||||
Reference in New Issue
Block a user