Re: [RELEASE] connman-ui is out
Hi Daniel, I'll tried to fix this here: src/gtktechnology.c: In function ‘gtk_technology_get_type’: src/gtktechnology.c:42:809: warning: statement with no effect [-Wunused-value] src/gtkservice.c: In function ‘gtk_service_get_type’: src/gtkservice.c:44:764: warning: statement with no effect [-Wunused-value] but failed miserable... Failed also ... until this morning. Good you remind it! Replacing G_DEFINE_TYPE_WITH_CODE() by G_DEFINE_TYPE() does the trick. My mistake, of course I followed blindly gtk tuto when starting this project: but it's useless using the first macro if there is no extra code to declare. Why do they use that one by default in tutos? Another thing I tried to fix was the left menu size somehow wrong. It is really small. Normally not even one entry can be seen. Clicking several times seems to increase the popup window size slightly. Any ideas what that could be? Do you have any gtk3 theme set, can you try without? I have never seen that, with or without a theme actually. Which DM/WM are you using? Are the character very tiny? or are they hidden somehow? (so menu is badly constructed and icons overlap etc...) Tomasz ___ connman mailing list connman@connman.net http://lists.connman.net/listinfo/connman
Re: [RELEASE] connman-ui is out
Hi Carsten, Indeed your distro enables all possible supports in gtk3 but wayland. That's a bit too much. Depending on available time and required effort I will take a look at gtk2. Tomasz ___ connman mailing list connman@connman.net http://lists.connman.net/listinfo/connman
Re: [RELEASE] connman-ui is out
On 03.01.2013 09:15, Tomasz Bursztyka wrote: Hi Daniel, I'll tried to fix this here: src/gtktechnology.c: In function ‘gtk_technology_get_type’: src/gtktechnology.c:42:809: warning: statement with no effect [-Wunused-value] src/gtkservice.c: In function ‘gtk_service_get_type’: src/gtkservice.c:44:764: warning: statement with no effect [-Wunused-value] but failed miserable... Failed also ... until this morning. Good you remind it! Replacing G_DEFINE_TYPE_WITH_CODE() by G_DEFINE_TYPE() does the trick. My mistake, of course I followed blindly gtk tuto when starting this project: but it's useless using the first macro if there is no extra code to declare. Why do they use that one by default in tutos? Thanks :) Another thing I tried to fix was the left menu size somehow wrong. It is really small. Normally not even one entry can be seen. Clicking several times seems to increase the popup window size slightly. Any ideas what that could be? Do you have any gtk3 theme set, can you try without? I have never seen that, with or without a theme actually. Which DM/WM are you using? I am using KDE 4.8.5 on a F16 system. $ rpm -qa | grep gnome | grep theme gnome-icon-theme-3.2.1.2-1.fc16.noarch gnome-themes-standard-3.2.1-2.fc16.x86_64 Are the character very tiny? or are they hidden somehow? (so menu is badly constructed and icons overlap etc...) Here is a screenshot. Note that the contents scrolls through. http://www.monom.org/misc/connman-ui-0.png thanks, daniel ___ connman mailing list connman@connman.net http://lists.connman.net/listinfo/connman
Re: [RELEASE] connman-ui is out
On Thu, Jan 3, 2013 at 9:27 AM, Tomasz Bursztyka tomasz.burszt...@linux.intel.com wrote: Hi Carsten, Indeed your distro enables all possible supports in gtk3 but wayland. That's a bit too much. I wouldn't be surprised if it's the same on Fedora. Depending on available time and required effort I will take a look at gtk2. Thanks! ___ connman mailing list connman@connman.net http://lists.connman.net/listinfo/connman
Re: [RELEASE] connman-ui is out
Hi Carsten, This looks interesting Tomasz. Does it really require Gtk+ 3.x or can it also be built with Gtk+ 2.x? I've been avoiding Gtk+ 3.x due to the various new dependencies (libs and daemons) it pulls in in most distro packages configurations. Also I haven't yet ported my Gtk+ 2.x theme(s) to 3.x because of the unstable theming framework. I might have to bite the bullet at some point and maybe build Gtk+3 manually without some of the extra dependencies. It currently works only on GTK+-3 indeed. Moving to GTK+-2 requires to change some objects. There is no GtkSwitch for instance, and I don't know about the rest but I believe it's not the only difference. I don't know what your distro is doing but installing GTK+-3 should not change things that much. It works on same versions of cairo, pango etc... as version 2. Imho, version 3 is the way to go. But you are right, theming in version 3 is currently really painful compared to earlier version. I am not against a contribution to make connman-ui compatible with GTK+-2 ;) It should not be that hard anyway. I could of course take a look myself, but not in the coming weeks. Tomasz ___ connman mailing list connman@connman.net http://lists.connman.net/listinfo/connman
Re: [RELEASE] connman-ui is out
Hi Tomasz, Sweet :) On 31.12.2012 17:11, Tomasz Bursztyka wrote: Notes: This is an alpha stage software. Though it has proven to be stable, the look and feel require still lot of work, thus contributions are welcome! I'll tried to fix this here: src/gtktechnology.c: In function ‘gtk_technology_get_type’: src/gtktechnology.c:42:809: warning: statement with no effect [-Wunused-value] src/gtkservice.c: In function ‘gtk_service_get_type’: src/gtkservice.c:44:764: warning: statement with no effect [-Wunused-value] but failed miserable... Another thing I tried to fix was the left menu size somehow wrong. It is really small. Normally not even one entry can be seen. Clicking several times seems to increase the popup window size slightly. Any ideas what that could be? cheers, daniel ___ connman mailing list connman@connman.net http://lists.connman.net/listinfo/connman
Re: [RELEASE] connman-ui is out
On Wed, Jan 2, 2013 at 10:24 AM, Tomasz Bursztyka tomasz.burszt...@linux.intel.com wrote: Hi Carsten, This looks interesting Tomasz. Does it really require Gtk+ 3.x or can it also be built with Gtk+ 2.x? I've been avoiding Gtk+ 3.x due to the various new dependencies (libs and daemons) it pulls in in most distro packages configurations. Also I haven't yet ported my Gtk+ 2.x theme(s) to 3.x because of the unstable theming framework. I might have to bite the bullet at some point and maybe build Gtk+3 manually without some of the extra dependencies. It currently works only on GTK+-3 indeed. Moving to GTK+-2 requires to change some objects. There is no GtkSwitch for instance, and I don't know about the rest but I believe it's not the only difference. I don't know what your distro is doing but installing GTK+-3 should not change things that much. It works on same versions of cairo, pango etc... as version 2. If I would install Gtk+ 3.x on the distro in this machine it would pull in the following packages: lcms2 libgusb nspr js polkit shared-color-profiles colord # - daemon recordproto libxtst at-spi2-core dconf at-spi2-atk gtk3 For someone who doesn't need or use KDE or GNOME it's a little too many dependencies increasing the risk of breaking the rolling release distro's functioning at some point. Imho, version 3 is the way to go. But you are right, theming in version 3 is currently really painful compared to earlier version. I have a pretty simple theme using the Raleigh (builtin) engine with customizations and failed to convert that to 3.x after two attempts (3.4 and 3.6). I have given up for the moment and actually wished Firefox's Qt port was more active though it seems to work good enough. I am not against a contribution to make connman-ui compatible with GTK+-2 ;) It should not be that hard anyway. I could of course take a look myself, but not in the coming weeks. I'd highly welcome a Gtk+ 2.x autoconf flag :). Unfortunately I cannot commit to submitting a patch because I don't have the Gtk+ API experience for guessing the work required. That said, if I had the Gtk+ experience I'd quickly jump at adding the compatibility code. Thanks for considering Gtk+ 2.x compatibility! ___ connman mailing list connman@connman.net http://lists.connman.net/listinfo/connman
Re: [RELEASE] connman-ui is out
On Mon, Dec 31, 2012 at 5:11 PM, Tomasz Bursztyka tomasz.burszt...@linux.intel.com wrote: Hi, I just published the source of connman-ui in github. The repository can be found here: Congrats! https://github.com/tbursztyka/connman-ui As a description, I copy/paste here parts of the README file: Connman-ui is a full-featured GTK based trayicon UI for ConnMan. It targets all WM/DM users but Gnome3 ones*. It works on any Linux WM/DM which provides a freedesktop compliant system tray. (kde, awesome, ...) It exposes almost all features provided by ConnMan API (small features are missing, see TODO for more informations). You can enable/disable a technology (wired, wifi, cellular, bt, ...), connect/disconnect a service, configure a service (IPv4, IPv6, DNS, Timeservers, etc...), share your current connection (tethering) and so on. Everything is accessible through the mouse via the trayicon, all with left and right click. Notes: This is an alpha stage software. Though it has proven to be stable, the look and feel require still lot of work, thus contributions are welcome! *: for Gnome3 users please look for connman-extension in https://extensions.gnome.org/ Happy new year! This looks interesting Tomasz. Does it really require Gtk+ 3.x or can it also be built with Gtk+ 2.x? I've been avoiding Gtk+ 3.x due to the various new dependencies (libs and daemons) it pulls in in most distro packages configurations. Also I haven't yet ported my Gtk+ 2.x theme(s) to 3.x because of the unstable theming framework. I might have to bite the bullet at some point and maybe build Gtk+3 manually without some of the extra dependencies. ___ connman mailing list connman@connman.net http://lists.connman.net/listinfo/connman