=== JackyAlcine is now known as Alcine === Alcine is now known as jalcine [03:43] How do I prevent Unity from trying to put my app's menu at the top of the screen, as it fails, and my app is almost useless without that menu. === jalcine is now known as JackyAlcine [05:22] coolstar-pc, why does it fail? [05:23] but you can provide an environment variable when launching the application in order to deactivate global menu. I don't remember exactly what it's called, though. [05:27] coolstar-pc, UBUNTU_MENUPROXY=0 command. For instance, "UBUNTU_MENUPROXY=0 gcalctool" will run the calculator without integrating its menu with the top panel. === jalcine is now known as JackyAlcine [05:46] jo-erlend: Is there a way to have it in the python code? [05:46] you could set that variable from your main method, for instance. [05:46] or, at least I think so. I'm not entirely sure, actually. [05:51] it probably only affects subprocesses, so it's possible that your main code would have to set the environment variable using something like os.putenv("UBUNTU_MENUPROXY", "0"), then run your application as a subprocess and exit. [05:52] ok. I'll try that [05:54] but if there's a problem with how the menubar works with your application, then I would recommend that you investigate what's causing it. Perhaps you're doing something wrong in your app, or that there's a bug in the menubar implementation? In both cases, you should try to fix the problem instead of avoiding it. [05:55] jo-erlend: It might be because i'm putting the menubar in an icon at the right of the toolbar (like chrome), and Unity is trying to put it at the top [06:02] ok... Then my suggestion would be that if UBUNTU_MENUPROXY is "0" or not set, then you show that icon. Otherwise, you let Ubuntu use its global menu. It is a bad idea to design your application to break with its environment. [06:04] jo-erlend: I developed my App in Ubuntu 10.10, and I saw that when running in Unity, the app doesn't show the menu icon, but in KDE or XFCE it shows. [06:04] It works fine in Ubuntu 10.10 [06:04] the _icon_ is hidden? [06:04] Unity tries to move the icon to the top apparently, and fails [06:04] uh.. [06:05] it sounds to me like you're doing something wrong. [07:25] Hi developers. I have problem adding appindicator to my PyGTK app. When I place this https://wiki.ubuntu.com/DesktopExperienceTeam/ApplicationIndicators#Python_version into my __init__.py, before gtk.main(), it works, but when I put it in my main window finish_initializing() method, it does not get showed. [07:26] If you look at http://bazaar.launchpad.net/~quickly-committers/quickly/trunk/view/head:/data/templates/ubuntu-application/project_root/python_lib/Window.py#L72 they suggest to put it in indicator.py [07:26] I don't have idea how that file should look like. [07:27] And why it works only in __init__.py [09:29] Hi. Can someone point me to some website/blog/wiki where I can read what are the best practices for creating theme dependent appindicator icons? I found nothing on https://wiki.ubuntu.com/DesktopExperienceTeam/ApplicationIndicators and https://wiki.ubuntu.com/CustomStatusMenuDesignGuidelines. [09:30] Basicly I'm lost. I' not sure what icons I can rely on, and if I create my own, how should they look and how to determine active theme e.t.c. [09:32] It says " [09:33] It says "Themable panel icons – you can set a specific icon to be a panel icon for an indicator: this should make it easier for creating single colour panel icons for light and dark themes." but it does not say how to do it? === JackyAlcine is now known as jalcine