Commit 9b47be95 authored by smorlat's avatar smorlat

prevent version checking at startup when using the menu item

git-svn-id: svn+ssh://svn.savannah.nongnu.org/linphone/trunk@723 3f6dc0c8-ddfe-455d-9043-3cd528dc4637
parent 59fcff83
......@@ -1195,7 +1195,8 @@ int main(int argc, char *argv[]){
linphone_gtk_init_status_icon();
if (!iconified)
linphone_gtk_show_main_window();
linphone_gtk_check_for_new_version();
if (linphone_gtk_get_ui_config_int("update_check_menu",0)==0)
linphone_gtk_check_for_new_version();
gtk_main();
gdk_threads_leave();
......
......@@ -192,10 +192,16 @@
</widget>
</child>
<child>
<widget class="GtkMenuItem" id="versioncheck">
<widget class="GtkImageMenuItem" id="versioncheck">
<property name="label" translatable="yes">Check for updates</property>
<property name="use_underline">True</property>
<signal name="activate" handler="linphone_gtk_check_for_updates"/>
<property name="use_stock">False</property>
<child internal-child="image">
<widget class="GtkImage" id="image5">
<property name="visible">True</property>
<property name="stock">gtk-info</property>
<property name="icon-size">1</property>
</widget>
</child>
</widget>
</child>
</widget>
......
......@@ -365,11 +365,11 @@ msgstr "<b>Chiamata terminata.</b>"
#: ../gtk-glade/incall_view.c:176
msgid "Unmute"
msgstr "Attiva microfono"
msgstr "Attiva\nmicrofono"
#: ../gtk-glade/incall_view.c:180 ../gtk-glade/main.glade.h:40
msgid "Mute"
msgstr "Chiudi microfono"
msgstr "Chiudi\nmicrofono"
#: ../gtk-glade/loginframe.c:82
#, c-format
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment