[PATCH] ui: Mark 'Advanced...' as translatable

2011-08-17 Thread Ozan Çağlayan
--- properties/nm-vpnc-dialog.ui |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) NOTE: Should be applied to NM_0_8 branch too. diff --git a/properties/nm-vpnc-dialog.ui b/properties/nm-vpnc-dialog.ui index 45d2796..9d5aa4c 100644 --- a/properties/nm-vpnc-dialog.ui +++ b/properties/n

[PATCH] Fix gtk_builder_set_translation_domain() calling

2011-08-17 Thread Ozan Çağlayan
gtk_builder_set_translation_domain() should be called before gtk_builder_add_from_file(). This fixes UI messages always in English problem. --- properties/nm-vpnc.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) NOTE: This should also be applied to NetworkManager-vpnc NM_0_8 branc

[PATCH] Fix gtk_builder_set_translation_domain() calling

2011-08-17 Thread Ozan Çağlayan
gtk_builder_set_translation_domain() should be called before gtk_builder_add_from_file(). This fixes UI messages always in English problem. --- properties/advanced-dialog.c |2 +- properties/nm-pptp.c |4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) NOTE: This should als

[PATCH] Fix gtk_builder_set_translation_domain() calling

2011-08-17 Thread Ozan Çağlayan
gtk_builder_set_translation_domain() should be called before gtk_builder_add_from_file(). This fixes UI messages always in English problem. --- properties/auth-helpers.c |4 ++-- properties/nm-openvpn.c |4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) NOTE: This should also be

[PATCH] Fix gtk_builder_set_translation_domain() calling

2011-08-17 Thread Ozan Çağlayan
gtk_builder_set_translation_domain() should be called before gtk_builder_add_from_file(). This fixes UI messages always in English problem. --- properties/nm-openconnect.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/properties/nm-openconnect.c b/properties/nm-openco

Re: [PATCH] Fix saving secrets in system scope

2011-08-17 Thread Ozan Çağlayan
Ozan Çağlayan yazdı 17-08-2011 13:51 tarihinde: --- properties/nm-pptp.c | 11 +++ 1 files changed, 11 insertions(+), 0 deletions(-) This is for NM_0_8 branch. Patch is inspired from the similar one from OpenVPN plugin

[PATCH] Fix saving secrets in system scope

2011-08-17 Thread Ozan Çağlayan
--- properties/nm-pptp.c | 11 +++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git a/properties/nm-pptp.c b/properties/nm-pptp.c index 39f2447..bc43a79 100644 --- a/properties/nm-pptp.c +++ b/properties/nm-pptp.c @@ -408,6 +408,17 @@ update_connection (NMVpnPluginUiWidgetIn

Hard dependency on gtk+ 2.24 in vpnc plugin

2011-08-12 Thread Ozan Çağlayan
Hi, The UI file of the vpnc plugin requires gtk+ >= 2.24. Is this really true? If that line is removed in the .ui file, the UI is correctly shown with gtk+ 2.22.x. Regards, -- Ozan Çağlayan Open Source software developer Pardus Li

Localization problems in VPN plugins

2011-08-11 Thread Ozan Çağlayan
Any ideas? -- Ozan Çağlayan Open Source software developer Pardus Linux ___ networkmanager-list mailing list networkmanager-list@gnome.org http://mail.gnome.org/mailman/listinfo/networkmanager-list

Missing glade annotations in VPN plugins

2011-08-11 Thread Ozan Çağlayan
nches. Regards, -- Ozan Çağlayan Open Source software developer Pardus Linux ___ networkmanager-list mailing list networkmanager-list@gnome.org http://mail.gnome.org/mailman/listinfo/networkmanager-list

Re: Idea - Detecting IP conflicts in NM

2011-04-28 Thread Ozan Çağlayan
On 27.04.2011 22:29, Dan Williams wrote: >> follow-up for gratuitous arp replies: >> http://forum.nginx.org/read.php?31,75057 > > This would be cool; we could do it after getting the IP address if we > wanted to in nm-device.c or elsewhere before we've even assigned the IP > address to the card.

Re: Idea - Detecting IP conflicts in NM

2011-04-22 Thread Ozan Çağlayan
On 22.04.2011 11:36, Ozan Çağlayan wrote: > > Maybe the functionality of this daemon can be integrated into NM, or if > the kernel now replies to Gratuitous ARP requests, the task will be much > easier. follow-up for gratuitous arp replies: http://forum.nginx.org/read.php?31,7505

Idea - Detecting IP conflicts in NM

2011-04-22 Thread Ozan Çağlayan
http://ipwatchd.sourceforge.net/ipwatchd-whitepaper.pdf http://wiki.wireshark.org/Gratuitous_ARP There's an old project called ipwatchd to detect and notify users about IP conflicts. Currently there's no way in NM to detect these kind of conflicts causing the same IP to be used by different hosts.

Re: WLAN disabled by state file

2011-03-07 Thread Ozan Çağlayan
On 07.03.2011 19:01, Dan Williams wrote: > That message can only come from a user applet property set request from > D-Bus. Actually this came to my mind right after posting the e-mail. It is the new KDE4 applet. Should I blame it for this problem? Ozan Caglayan -- Pardus Linux http://www.pard

Re: WLAN disabled by state file

2011-03-06 Thread Ozan Çağlayan
On 05.03.2011 17:31, Dan Williams wrote: > Need a bit more debug here; the --log-level=debug logs would be useful > for starters. > > Dan Ok, the logs are attached. (This is the new NM 0.8.3.997) Thanks, -- Pardus Linux http://www.pardus.org.tr/eng After pressing the rfkill button on laptop:

Re: WLAN disabled by state file

2011-03-05 Thread Ozan Çağlayan
On 09.02.2011 19:50, Ozan Çağlayan wrote: > I think there are multiple issues in here. The one that I've mentioned > in the original thread and you've commented about may be triggered by > the bug that I've replied. > > So with NM 0.8.2 on my Toshiba Portege R700 (

Re: WLAN disabled by state file

2011-02-09 Thread Ozan Çağlayan
On 09.02.2011 18:40, Dan Williams wrote: In current NM 0.8.x git, if you uncheck "Enable Wireless" from the menu, NM writes that to the state file. That will then be in-force until you re-check "Enable Wireless", even across reboots. This takes precedence over rfkill because it was an explici

[PATCH 1/2] logging: Strip '\n' at the end of syslog() calls

2011-02-07 Thread Ozan Çağlayan
syslog already ensures that the messages are splitted by \n boundaries. Appending another \n in NM pollutes the logging: Feb 7 22:00:55 2011 NetworkManager[890]: ... Feb 7 22:00:56 2011 NetworkManager[890]: ... Feb 7 22:00:57 2011 NetworkManager[890]: ... etc. --- src/logging/nm-logging.

[PATCH 2/2] src/main.c: Fix RFKILL logging domain

2011-02-07 Thread Ozan Çağlayan
Correct logging domain for RFKILL is RFKILL not RKILL. Also fix the man page. --- man/NetworkManager.conf.5.in |2 +- src/main.c |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/man/NetworkManager.conf.5.in b/man/NetworkManager.conf.5.in index a45add

Re: WLAN disabled by state file

2011-02-07 Thread Ozan Çağlayan
On 03.02.2011 13:00, Ozan Çağlayan wrote: Hi, And there's also another bug that I can reproduce: 1. Connect using WiFi 2. Soft block WiFi (result: sw_enabled=0, hw_enabled=1) 3. state file is updated to WirelessEnabled=false 4. Unblock wifi (result: sw_enabled=1, hw_enabled=1) 5. state

WLAN disabled by state file

2011-02-03 Thread Ozan Çağlayan
hould ignore the state values in the state file and should rely only on the rfkill status. When the user disables the WLAN through nm-applet or another GUI, NM can internally remember this without needing that state file. Can someone explain how the logic currently works? --- Ozan Çağlayan TUBITAK/

Re: How to start a wireless connection at boot time?

2011-01-31 Thread Ozan Çağlayan
On 31.01.2011 01:19, Tom Epperly wrote: It seems that the NetworkManager configuration is associated with a particular user account, and it only activates the wireless when the MythTV startup works and the user is automatically logged in. Is there a way to make NetworkManager start up the wirel

[PATCH] backends/pardus: Add nscd support

2011-01-27 Thread Ozan Çağlayan
Now that we're running nscd by default, restart it on DNS changes and invalidate hosts cache. --- src/backends/NetworkManagerPardus.c |5 - 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/src/backends/NetworkManagerPardus.c b/src/backends/NetworkManagerPardus.c index d952cf

Re: Glib2 issues in NetworkManger

2010-12-09 Thread Ozan Çağlayan
On 09.12.2010 19:18, Robert Gabriel wrote: > Since a small update of glib2 Im getting this error when shutting down > NetworkManager: I'm having similar traces too which even avoids the system from rebooting/halting while experimenting systemd. ___ netw

Re: Persistent hostname issues

2010-11-08 Thread Ozan Çağlayan
when the user changes the hostname from /etc/some_distro_dependent_hostname_file? I think the persistent hostname capabilities of the plugins provides more dynamic hostname detection and adjustment. --- Ozan Çağlayan TUBITAK/UEKAE - Pardus Linux http://www.pardus.org.tr/eng __

Persistent hostname issues

2010-11-08 Thread Ozan Çağlayan
glibc's sethostname()? Should it update machine's hostname when I modify the hostname file? Currently it detects the changes in the hostname file but nothing changes in the system. I searched for plugin_set_hostname() in the NM code but can't find it, wrapped thing are all

Re: Making system scope the default one

2010-10-25 Thread Ozan Çağlayan
Pazartesi 25 Ekim 2010 günü (saat 13:15:49) Jirka Klimes şunları yazmıştı: > On Saturday 23 of October 2010 13:11:48 Ozan Çağlayan wrote: > > diff --git a/src/connection-editor/ce-page.c > b/src/connection-editor/ce-page.c index bcb90de..0fa1916 100644 > --- a/src/connection-e

Making system scope the default one

2010-10-23 Thread Ozan Çağlayan
Hi, I want to modify nm-applet to use the system connections by default instead of the user-based connections. I don't have any GTK+ experience, tried a little bit but no hope. All I want to do is to invert the default state of the 'Available to all users' checkbox to True so that it comes tog

Re: Managing a connection using D-Bus API

2010-07-08 Thread Ozan Çağlayan
hat > you want. Hi, We have faced some limitations about manual DNS settings. When the dns attribute of a connection is set, the given string is passed to a dbus.Array within the getter in networkmanager.py. We couldn't find a way to pass a secondary DNS to the connection. Is it eve

Re: Managing a connection using D-Bus API

2010-07-02 Thread Ozan Çağlayan
Perşembe 01 Temmuz 2010 günü (saat 18:01:04) Giovanni Campagna şunları yazmıştı: > On Thu, Jul 1, 2010 at 2:56 PM, Ozan Çağlayan wrote: > > Hi, > > > > I'm writing a Python script which uses python-networkmanager for > > communicating with NetworkManager's

Re: Managing a connection using D-Bus API

2010-07-01 Thread Ozan Çağlayan
On 01.07.2010 23:55, Daenyth Blank wrote: > On Thu, Jul 1, 2010 at 16:26, Ozan Çağlayan wrote: >> On 01.07.2010 16:46, Daenyth Blank wrote: >>> Can you post a link to your current code? I should be able to help you >>> out or I can add something to the API if there&#

Re: Managing a connection using D-Bus API

2010-07-01 Thread Ozan Çağlayan
On 01.07.2010 23:40, Giovanni Campagna wrote: > > I believe it could help users of some other distros too. Why not > developing togheter with other NM frontends (nmcli / nm-applet)? > In particular with regard to modifying connections, you should follow > closely, as they plan to change the way s

Re: Managing a connection using D-Bus API

2010-07-01 Thread Ozan Çağlayan
On 01.07.2010 16:46, Daenyth Blank wrote: > Can you post a link to your current code? I should be able to help you > out or I can add something to the API if there's nothing workable > right now. It is a little incomplete but should be able to get what > you want. http://svn.pardus.org.tr/uludag/t

Managing a connection using D-Bus API

2010-07-01 Thread Ozan Çağlayan
nnection1 Is it ever possible (without providing connection UUID)? Thanks, --- Ozan Çağlayan TUBITAK/UEKAE - Pardus Linux http://www.pardus.org.tr/eng ___ networkmanager-list mailing list networkmanager-list@gnome.org http://mail.gnome.org/mailman/listinfo/networkmanager-list

[PATCH] editor: mark two tooltips as translatable

2010-04-29 Thread Ozan Çağlayan
--- src/connection-editor/ce-page-wireless.glade |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/connection-editor/ce-page-wireless.glade b/src/connection-editor/ce-page-wireless.glade index 1cd9f3f..14cf313 100644 --- a/src/connection-editor/ce-page-wireless.glade

Re: The logic behind user/system settings

2010-03-11 Thread Ozan Çağlayan
le to the relevant .conf file in /etc, that became checkable and usable. I can now add system-wide connections through polkit authentication, finally :) Thanks all. --- Ozan Çağlayan TUBITAK/UEKAE - Pardus Linux http://www.pardus.org.tr/eng ___ NetworkMan

The logic behind user/system settings

2010-03-09 Thread Ozan Çağlayan
Hi, I'm from the core developer team of a linux distribution called Pardus Linux[0]. Years ago, when there wasn't even Network-Manager, we developed a network management backend in C/Python that we're still using in our distribution but due to lack of time/interest it's getting older and older

Reconnection after manual disconnection still fails

2009-12-16 Thread Ozan Çağlayan
Hi, I have reconnection problems with an Huawei K3715 similar to the following bug report: https://bugzilla.redhat.com/show_bug.cgi?id=541314 I'm not using NetworkManager, I have my own Python backends/scripts to establish the connection: - Enable the modem - Send the PIN - Call Connect("*99#")

Re: Questions about ModemManager

2009-10-01 Thread Ozan Çağlayan
Dan Williams wrote: > On Mon, 2009-09-28 at 10:57 +0300, Tambet Ingo wrote: > >> On Fri, Sep 25, 2009 at 12:50, Ozan Çağlayan wrote: >> >>> 1. After calling Connect() and using PPPD to create a PPP connection >>> through a modem, how should I cle

Questions about ModemManager

2009-09-25 Thread Ozan Çağlayan
Hi, I have some problems with MM that I can't figure out how to correctly handle. I'm using D-Bus for communicating with MM. 1. After calling Connect() and using PPPD to create a PPP connection through a modem, how should I cleanly disconnect from device? I first terminate PPPD and then call Dis

Re: [PATCH] backends: Add Pardus Linux support

2009-08-31 Thread Ozan Çağlayan
Ozan Çağlayan wrote: CC to Dan Williams > Add Pardus Linux support to NetworkManager > --- > configure.ac| 10 +- > src/backends/Makefile.am|4 ++ > src/backends/NetworkManagerPardus.c | 57 > +++

Current master is broken

2009-08-24 Thread Ozan Çağlayan
gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I../include -I../marshallers -I../src/named-manager -I../src/vpn-manager -I../src/dhcp-manager -I../src/supplicant-manager -I../src/dnsmasq-manager -I../src/modem-manager -I../src/bluez-manager -I../src/system-settings -I../libnm-util -I../libnm-glib -I../callouts

[PATCH] backends: Add Pardus Linux support

2009-08-24 Thread Ozan Çağlayan
Add Pardus Linux support to NetworkManager --- configure.ac| 10 +- src/backends/Makefile.am|4 ++ src/backends/NetworkManagerPardus.c | 57 +++ 3 files changed, 69 insertions(+), 2 deletions(-) create mode 100644 src