r4327 - in trunk/src/target/OM-2007.2/applications/openmoko-dialer2: . src/phone-kit

thomas at sita.openmoko.org thomas at sita.openmoko.org
Tue Apr 8 18:10:50 CEST 2008


Author: thomas
Date: 2008-04-08 18:10:48 +0200 (Tue, 08 Apr 2008)
New Revision: 4327

Modified:
   trunk/src/target/OM-2007.2/applications/openmoko-dialer2/ChangeLog
   trunk/src/target/OM-2007.2/applications/openmoko-dialer2/src/phone-kit/moko-talking.c
Log:
2008-04-08  Thomas Wood  <thomas at openedhand.com>

	* src/phone-kit/moko-talking.c: (moko_talking_init): Remove toolbar
	separators to make UI consistent with other applications


Modified: trunk/src/target/OM-2007.2/applications/openmoko-dialer2/ChangeLog
===================================================================
--- trunk/src/target/OM-2007.2/applications/openmoko-dialer2/ChangeLog	2008-04-08 15:05:59 UTC (rev 4326)
+++ trunk/src/target/OM-2007.2/applications/openmoko-dialer2/ChangeLog	2008-04-08 16:10:48 UTC (rev 4327)
@@ -1,5 +1,10 @@
 2008-04-08  Thomas Wood  <thomas at openedhand.com>
 
+	* src/phone-kit/moko-talking.c: (moko_talking_init): Remove toolbar
+	separators to make UI consistent with other applications
+
+2008-04-08  Thomas Wood  <thomas at openedhand.com>
+
 	* src/dialer/dialer-main.c: (main): Revert previous history widget
 	creation changes until at least after MP image.
 

Modified: trunk/src/target/OM-2007.2/applications/openmoko-dialer2/src/phone-kit/moko-talking.c
===================================================================
--- trunk/src/target/OM-2007.2/applications/openmoko-dialer2/src/phone-kit/moko-talking.c	2008-04-08 15:05:59 UTC (rev 4326)
+++ trunk/src/target/OM-2007.2/applications/openmoko-dialer2/src/phone-kit/moko-talking.c	2008-04-08 16:10:48 UTC (rev 4327)
@@ -545,21 +545,17 @@
   item = gtk_tool_button_new (gtk_image_new_from_file (PKGDATADIR"/moko-call-answer.png"), NULL);
   gtk_tool_item_set_expand (item, TRUE);
   g_signal_connect (item, "clicked", G_CALLBACK (on_answer_clicked), talking);
-  gtk_toolbar_insert (GTK_TOOLBAR (toolbar), item, 0);
+  gtk_toolbar_insert (GTK_TOOLBAR (toolbar), item, -1);
 
-  gtk_toolbar_insert (GTK_TOOLBAR (toolbar), gtk_separator_tool_item_new (), 1);
-
   item = gtk_tool_button_new (gtk_image_new_from_file (PKGDATADIR"/moko-call-ignore.png"), NULL);
   gtk_tool_item_set_expand (item, TRUE);
   g_signal_connect (item, "clicked", G_CALLBACK (on_silence_clicked), talking);
-  gtk_toolbar_insert (GTK_TOOLBAR (toolbar), item, 2);
+  gtk_toolbar_insert (GTK_TOOLBAR (toolbar), item, -1);
 
-  gtk_toolbar_insert (GTK_TOOLBAR (toolbar), gtk_separator_tool_item_new (), 3);
-
   item = gtk_tool_button_new (gtk_image_new_from_file (PKGDATADIR"/moko-call-hangup.png"), NULL);
   gtk_tool_item_set_expand (item, TRUE);
   g_signal_connect (item, "clicked", G_CALLBACK (on_reject_clicked), talking);
-  gtk_toolbar_insert (GTK_TOOLBAR (toolbar), item, 4);
+  gtk_toolbar_insert (GTK_TOOLBAR (toolbar), item, -1);
   
   /* Volume controls */
   priv->headphone = moko_alsa_volume_control_new ();
@@ -580,15 +576,13 @@
 
   gtk_tool_item_set_expand (item, TRUE);
   g_signal_connect (item, "toggled", G_CALLBACK (on_speaker_toggled), talking);
-  gtk_toolbar_insert (GTK_TOOLBAR (toolbar), item, 0);
+  gtk_toolbar_insert (GTK_TOOLBAR (toolbar), item, -1);
   priv->speaker_toggle_btn = item;
 
-  gtk_toolbar_insert (GTK_TOOLBAR (toolbar), gtk_separator_tool_item_new (), 1);
-
   item = gtk_tool_button_new (gtk_image_new_from_file (PKGDATADIR"/moko-call-hangup.png"), NULL);
   gtk_tool_item_set_expand (item, TRUE);
   g_signal_connect (item, "clicked", G_CALLBACK (on_cancel_clicked), talking);
-  gtk_toolbar_insert (GTK_TOOLBAR (toolbar), item, 2);  
+  gtk_toolbar_insert (GTK_TOOLBAR (toolbar), item, -1);
 
   /* The title label and image */
   vbox = gtk_vbox_new (FALSE, 0);





More information about the commitlog mailing list