Merge lp:~rodrigo-moya/ubuntuone-client/contact-default-icon into lp:ubuntuone-client

Proposed by Rodrigo Moya
Status: Merged
Approved by: dobey
Approved revision: 528
Merged at revision: 530
Proposed branch: lp:~rodrigo-moya/ubuntuone-client/contact-default-icon
Merge into: lp:ubuntuone-client
Diff against target: 28 lines (+3/-3)
1 file modified
nautilus/contacts-view.c (+3/-3)
To merge this branch: bzr merge lp:~rodrigo-moya/ubuntuone-client/contact-default-icon
Reviewer Review Type Date Requested Status
Rick McBride (community) Approve
Roman Yepishev (community) Approve
Review via email: mp+26571@code.launchpad.net

Commit message

Use contact icon from icon theme for contacts that have no photo

Description of the change

Use contact icon from icon theme for contacts that have no photo

To post a comment you must log in.
Revision history for this message
Roman Yepishev (rye) wrote :

Before: http://ubuntuone.com/p/5pA/
After: http://ubuntuone.com/p/5p8/

Looks changed, so approving.

review: Approve
Revision history for this message
Rick McBride (rmcbride) wrote :

+1

review: Approve
Revision history for this message
dobey (dobey) wrote :
Download full text (24.9 KiB)

The attempt to merge lp:~rodrigo-moya/ubuntuone-client/contact-default-icon into lp:ubuntuone-client failed.Below is the output from the failed tests.

/usr/bin/gnome-autogen.sh
checking for autoconf >= 2.53...
(B testing autoconf2.50... not found.
  testing autoconf... found 2.65
checking for automake >= 1.10...
(B testing automake-1.11... found 1.11.1
checking for libtool >= 1.5...
(B testing libtoolize... found 2.2.6b
checking for intltool >= 0.30...
(B testing intltoolize... found 0.41.0
checking for pkg-config >= 0.14.0...
(B testing pkg-config... found 0.22
Checking for required M4 macros...
(BChecking for forbidden M4 macros...
(BProcessing ./configure.ac
(BRunning libtoolize...
(Blibtoolize: putting auxiliary files in `.'.
libtoolize: copying file `./ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'.
libtoolize: copying file `m4/libtool.m4'
libtoolize: copying file `m4/ltoptions.m4'
libtoolize: copying file `m4/ltsugar.m4'
libtoolize: copying file `m4/ltversion.m4'
libtoolize: copying file `m4/lt~obsolete.m4'
Running intltoolize...
(BRunning aclocal-1.11...
(BRunning autoconf...
(BRunning autoheader...
(BRunning automake-1.11...
(BRunning ./configure --with-protocol=/var/cache/tarmac/ubuntuone-storage-protocol/trunk ...
(Bchecking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking for library containing strerror... none required
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/bin/ld ...

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'nautilus/contacts-view.c'
2--- nautilus/contacts-view.c 2010-05-26 18:50:46 +0000
3+++ nautilus/contacts-view.c 2010-06-02 09:19:23 +0000
4@@ -247,14 +247,14 @@
5 } else {
6 GtkIconTheme *icon_theme = gtk_icon_theme_get_default ();
7
8- pixbuf = gtk_icon_theme_load_icon (icon_theme, GTK_STOCK_ORIENTATION_PORTRAIT, 64, 0, NULL);
9+ pixbuf = gtk_icon_theme_load_icon (icon_theme, "stock_contact", 64, 0, NULL);
10 }
11
12 g_object_unref (G_OBJECT (loader));
13 } else {
14 GtkIconTheme *icon_theme = gtk_icon_theme_get_default ();
15
16- pixbuf = gtk_icon_theme_load_icon (icon_theme, GTK_STOCK_ORIENTATION_PORTRAIT, 64, 0, NULL);
17+ pixbuf = gtk_icon_theme_load_icon (icon_theme, "stock_contact", 64, 0, NULL);
18 }
19
20 /* Add the contact to the alphabetical view */
21@@ -688,7 +688,7 @@
22 sci = g_new0 (SelectedContactInfo, 1);
23 sci->name = g_strdup (contact_name);
24 sci->email = g_strdup (contact_email);
25- pixbuf = gtk_icon_theme_load_icon (icon_theme, GTK_STOCK_ORIENTATION_PORTRAIT, 64, 0, NULL);
26+ pixbuf = gtk_icon_theme_load_icon (icon_theme, "stock_contact", 64, 0, NULL);
27 sci->pixbuf = g_object_ref (pixbuf);
28 g_hash_table_insert (cv->selection, g_strdup (contact_name), sci);
29

Subscribers

People subscribed via source and target branches