Changeset 2660


Ignore:
Timestamp:
08/07/07 14:22:30 (6 years ago)
Author:
njp
Message:

2007-08-07 Neil J. Patel <njp@…>

  • src/dialer-main.c: (main):
  • src/moko-dialer.c: (on_call_progress_changed), (moko_dialer_init): Make sure the dialer window hides on delete, instead of calling gtk_main_quit ().
  • src/moko-talking.c: (moko_talking_init): Fix the loading of the incmong and outgoing call images, so there is not a gap between them during animation.
Location:
trunk/src/target/OM-2007.2/applications/openmoko-dialer2
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/target/OM-2007.2/applications/openmoko-dialer2/ChangeLog

    r2654 r2660  
     12007-08-07  Neil J. Patel  <njp@o-hand.com> 
     2 
     3        * src/dialer-main.c: (main): 
     4        * src/moko-dialer.c: (on_call_progress_changed), 
     5        (moko_dialer_init): 
     6        Make sure the dialer window hides on delete, instead of calling 
     7        gtk_main_quit (). 
     8 
     9        * src/moko-talking.c: (moko_talking_init): 
     10        Fix the loading of the incmong and outgoing call images, so there is not a 
     11        gap between them during animation. 
     12 
    1132007-08-06  Neil J. Patel  <njp@o-hand.com> 
    214 
  • trunk/src/target/OM-2007.2/applications/openmoko-dialer2/src/dialer-main.c

    r2645 r2660  
    118118               error->message); 
    119119    g_error_free (error); 
    120     return EXIT_FAILURE; 
     120    return 1; 
    121121  } 
    122122  proxy = dbus_g_proxy_new_for_name (connection,  
     
    135135    gdk_notify_startup_complete (); 
    136136 
    137     return EXIT_FAILURE; 
     137    return 1; 
    138138  } 
    139139  if (ret != DBUS_REQUEST_NAME_REPLY_PRIMARY_OWNER) 
     
    152152    gdk_init(&argc, &argv); 
    153153    gdk_notify_startup_complete (); 
    154     return EXIT_SUCCESS; 
     154    return 0; 
    155155  } 
    156156 
     
    186186  gtk_main (); 
    187187   
    188   return EXIT_SUCCESS; 
     188  return 0; 
    189189} 
  • trunk/src/target/OM-2007.2/applications/openmoko-dialer2/src/moko-dialer.c

    r2648 r2660  
    506506 
    507507        moko_journal_add_entry (priv->journal, priv->entry); 
     508        moko_journal_write_to_storage (priv->journal); 
    508509        if (priv->time) 
    509510          moko_time_free (priv->time); 
     
    511512        priv->time = NULL; 
    512513      } 
    513       moko_journal_write_to_storage (priv->journal); 
    514514      moko_notify_stop (priv->notify); 
    515515      g_print ("mokogsmd disconnect\n"); 
     
    722722  priv->window = gtk_window_new (GTK_WINDOW_TOPLEVEL); 
    723723  g_signal_connect (G_OBJECT (priv->window), "delete-event", 
    724                     (GCallback) gtk_main_quit, NULL); 
     724                    (GCallback) gtk_widget_hide_on_delete, NULL); 
    725725  gtk_window_set_title (GTK_WINDOW (priv->window), "Dialer"); 
    726726 
  • trunk/src/target/OM-2007.2/applications/openmoko-dialer2/src/moko-talking.c

    r2614 r2660  
    445445      g_object_ref (priv->talking[i]); 
    446446  } 
    447   for (i = 0; i < N_PICS; i++) 
     447  for (i = 0; i < N_PICS-1; i++) 
    448448  { 
    449449    gchar *name = g_strdup_printf ("%s/outgoing_%d.png", PKGDATADIR, i); 
     
    453453      g_object_ref (priv->outgoing[i]); 
    454454  } 
    455   for (i = 0; i < N_PICS; i++) 
     455  for (i = 0; i < N_PICS-1; i++) 
    456456  { 
    457457    gchar *name = g_strdup_printf ("%s/incoming_%d.png", PKGDATADIR, i); 
Note: See TracChangeset for help on using the changeset viewer.