@Marat, I'm a bit of a newb. Can you give me some more explicit instructions
on how to do the patching for the address book limit?


> Message: 2
> Date: Mon, 27 Dec 2010 23:42:04 +0300
> From: Marat Radchenko <[email protected]>
> Subject: [SFLphone] [PATCH] Allow unlimited number of contacts to
>        import  from EDS
> To: [email protected]
> Message-ID: <[email protected]>
>
> Fixes bug #4827
> ---
>  .../src/config/addressbook-config.c                |    3 ++-
>  1 files changed, 2 insertions(+), 1 deletions(-)
>
> diff --git a/sflphone-client-gnome/src/config/addressbook-config.c
> b/sflphone-client-gnome/src/config/addressbook-config.c
> index 2877c90..f8badbb 100644
> --- a/sflphone-client-gnome/src/config/addressbook-config.c
> +++ b/sflphone-client-gnome/src/config/addressbook-config.c
> @@ -338,7 +338,8 @@ create_addressbook_settings()
>     scale_button = gtk_hbox_new (FALSE, 0);
>     scale_label = gtk_label_new (_ ("Download limit :"));
>     gtk_box_pack_start (GTK_BOX (scale_button),scale_label,FALSE,FALSE,0);
> -    value = gtk_spin_button_new_with_range (1, 500, 1);
> +    // G_MAXINT as max because we use gtk_spin_button_get_value_as_int ()
> to extract value
> +    value = gtk_spin_button_new_with_range (1, G_MAXINT, 1);
>     gtk_label_set_mnemonic_widget (GTK_LABEL (scale_label), value);
>     gtk_spin_button_set_value (GTK_SPIN_BUTTON (value) ,
> addressbook_config->max_results);
>     g_signal_connect (G_OBJECT (value) , "value-changed" , G_CALLBACK
> (max_results_cb), NULL);
> --
> 1.6.6
>
>
>
_______________________________________________
SFLphone mailing list
[email protected]
http://lists.savoirfairelinux.net/mailman/listinfo/sflphone

Reply via email to