always unpopulate shelf before changing orientation so systray doesn't ibtch
authorMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Wed, 12 Dec 2012 14:56:17 +0000 (14:56 +0000)
committerMike Blumenkrantz <michael.blumenkrantz@gmail.com>
Wed, 12 Dec 2012 14:56:17 +0000 (14:56 +0000)
SVN revision: 80768

src/bin/e_shelf.c

index f5e5200..25925c2 100644 (file)
@@ -2381,6 +2381,7 @@ _e_shelf_cb_menu_orient(void *data, E_Menu *m, E_Menu_Item *mi)
              cf_es = es->cfg;
              cfd = es->config_dialog;
              es->config_dialog = NULL;
+             e_gadcon_unpopulate(es->gadcon);
              e_object_del(E_OBJECT(es));
              es = e_shelf_config_new(zone, cf_es);
              es->config_dialog = cfd;